Inheritance: global::ProtoBuf.IExtensible
コード例 #1
0
ファイル: ChatProcessor.cs プロジェクト: hunbernd/RSSSHClient
        internal void UpdateChatLobbies(ResponseChatLobbies msg)
        {
            System.Diagnostics.Debug.WriteLineIf(DEBUG, "lobbyList "+ msg.lobbies.Count);
            foreach (ChatLobbyInfo lobby in msg.lobbies)
                ProcessLobby(lobby);

            CheckChatRegistration();
        }
コード例 #2
0
ファイル: Processor.cs プロジェクト: nolith/RSSSHClient
 private void ProcessChatLobbies(RSProtoBuffSSHMsg msg)
 {
     ResponseChatLobbies response = new ResponseChatLobbies();
     Exception e;
     if (RSProtoBuf.Deserialize<ResponseChatLobbies>(msg.ProtoBuffMsg, out response, out e))
     {
         if (response.status.code == Status.StatusCode.SUCCESS)
             _b.ChatProcessor.UpdateChatLobbies(response);
     }
     else
         System.Diagnostics.Debug.WriteLine("ProcessChatMsg: error deserializing " + e.Message);
 }