안녕하세요. 실시간 알림서버 문의 드립니다.
실시간 알림서버 접속에 성공 로그 뜨고.
콘솔 페이지에서 우편, 공지, 서버 온라인, 오프라인 상태로 변경해도 테스트 로그가 출력되지 않습니다.
혹시 잘못된 부분이 있습니까?
Backend.Notification.OnAuthorize = ( bool isSuccess, string reason ) =>
{
if(isSuccess)
{
Debug.Log( "실시간 알림 서버 접속에 성공했습니다." );
}
else
{
Debug.LogWarning( "실시간 알림 서버 접속에 실패했습니다.\n" + reason );
}
};
Backend.Notification.OnNewPostCreated = ( BackEnd.Socketio.PostRepeatType postRepeatType, string title, string content, string author ) =>
{
Debug.Log(
$"우편이 발송되었습니다.\n" +
$"| 우편 반복 타입 : {postRepeatType}\n" +
$"| 우편 제목 : {title}\n" +
$"| 우편 내용 : {content}\n" +
$"| 우편 발송인 : {author}\n" );
};
Backend.Notification.OnServerStatusChanged = ( ServerStatusType serverStatusType ) =>
{
Debug.Log(
$"[OnServerStatusChanged(서버 상태 변경)]\n" +
$"| ServerStatusType : {serverStatusType}\n"
);
};
Backend.Notification.OnNewNoticeCreated = ( string title, string content ) =>
{
Debug.Log(
$"[OnNewNoticeCreated(새로운 공지사항 생성)]\n" +
$"| title : {title}\n" +
$"| content : {content}\n"
);
};
Backend.Notification.OnNewEventCreated = ( string title, string content ) =>
{
Debug.Log(
$"[OnNewEventCreated(새로운 이벤트 생성)]\n" +
$"| title : {title}\n" +
$"| content : {content}\n"
);
};