public static void Write(ChatTypeE receiverType, ChatMessageTypeE type, ChatTypeE chatType, MsgE message, int gameId) { ChatClient.Instance.WriteLine(receiverType, type, chatType, message, gameId); }
// write on your chat window private void WriteLine(ChatTypeE receiverType, ChatMessageTypeE type, ChatTypeE chatType, MsgE message, int gameId) { Write(receiverType, type, chatType, Msg.GetMsg(message), gameId); }