GetChatStatus
public BackendReturnObject GetChatStatus();
설명
서버에 채팅이 활성화 되어 있는지, 클라이언트와 채팅서버가 연결되어 있는지 확인합니다.
채팅은 뒤끝 콘솔 > 뒤끝챗에서 활성화할 수 있습니다.
Example
동기
Backend.Chat.GetChatStatus();
비동기
Backend.Chat.GetChatStatus( (callback) =>
{
// 이후 처리
});
SendQueue
SendQueue.Enqueue(Backend.Chat.GetChatStatus, (callback) =>
{
// 이후 처리
});
ReturnCase
Success cases
연결 확인이 가능할 경우
statusCode : 200
returnValue : GetReturnValueToJSON 참조
GetReturnValueToJSON
{
"chatServerStatus":
{
"chatServer":"y" // y: 활성상태, n: 비활성상태
}
}