// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: msg.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code

using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Unity.Muninn.Message {

  /// <summary>Holder for reflection information generated from msg.proto</summary>
  public static partial class MsgReflection {

    #region Descriptor
    /// <summary>File descriptor for msg.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static MsgReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Cgltc2cucHJvdG8SA21zZyJwCg1TdGlja3lNZXNzYWdlEiQKBXNjb3BlGAEg",
            "ASgOMhUubXNnLlN0aWNreUV2ZW50U2NvcGUSEAoIc2VuZGVySWQYAiABKA0S",
            "DAoEZGF0YRgDIAEoDBIMCgR0aWNrGAQgASgNEgsKA2tleRgFIAEoCSJOChFN",
            "dW5pbm5DYWNoZWRFdmVudBIMCgR0aWNrGAEgASgNEgsKA3RhZxgCIAEoCRIQ",
            "CghzZW5kZXJJZBgDIAEoDRIMCgRkYXRhGAQgASgMIqQBCgxNdW5pbm5QbGF5",
            "ZXISEAoIdW5pcXVlSWQYASABKAkSDAoEbmFtZRgCIAEoCRI1Cgpwcm9wZXJ0",
            "aWVzGAMgAygLMiEubXNnLk11bmlublBsYXllci5Qcm9wZXJ0aWVzRW50cnkS",
            "CgoCaWQYBCABKA0aMQoPUHJvcGVydGllc0VudHJ5EgsKA2tleRgBIAEoCRIN",
            "CgV2YWx1ZRgCIAEoCToCOAEi/gEKCk11bmlublJvb20SCgoCaWQYASABKAkS",
            "EAoIdW9zQXBwSWQYAiABKAkSEAoIam9pbkNvZGUYAyABKAkSEQoJbmFtZXNw",
            "YWNlGAQgASgJEgwKBG5hbWUYBSABKAkSEgoKdmlzaWJpbGl0eRgGIAEoCRIS",
            "CgptYXhQbGF5ZXJzGAcgASgNEjMKCnByb3BlcnRpZXMYCCADKAsyHy5tc2cu",
            "TXVuaW5uUm9vbS5Qcm9wZXJ0aWVzRW50cnkSDwoHb3duZXJJZBgJIAEoCRox",
            "Cg9Qcm9wZXJ0aWVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJ",
            "OgI4ASIdCglUb21ic3RvbmUSEAoIZ3JvdXBJZHMYASADKA0iOgoKQ29kZWRF",
            "dmVudBIQCghzZW5kZXJJZBgBIAEoDRIMCgRjb2RlGAIgASgNEgwKBGRhdGEY",
            "AyABKAwiQwoRU2xpY2VkQ29kZWRFdmVudHMSDQoFc2xpY2UYASABKBESHwoG",
            "ZXZlbnRzGAIgAygLMg8ubXNnLkNvZGVkRXZlbnQiagoPUmVjZWl2ZWRNZXNz",
            "YWdlEhAKCHNlbmRlcklkGAEgASgNEhAKCGdyb3VwSWRzGAIgAygNEgwKBGRh",
            "dGEYAyABKAwSJQoGdGFyZ2V0GAQgASgOMhUubXNnLlJhaXNlRXZlbnRUYXJn",
            "ZXQidwoLU2VudE1lc3NhZ2USLwoQcmFpc2VFdmVudFRhcmdldBgBIAEoDjIV",
            "Lm1zZy5SYWlzZUV2ZW50VGFyZ2V0EhQKDHRhcmdldEdyb3VwcxgCIAMoDRIT",
            "CgtyZWNlaXZlcklkcxgDIAMoDRIMCgRkYXRhGAQgASgMIpYCCg9Kb2luUm9v",
            "bVJlcXVlc3QSDgoGcm9vbUlkGAEgASgJEhAKCHVuaXF1ZUlkGAIgASgJEgwK",
            "BG5hbWUYAyABKAkSOAoKcHJvcGVydGllcxgEIAMoCzIkLm1zZy5Kb2luUm9v",
            "bVJlcXVlc3QuUHJvcGVydGllc0VudHJ5EhAKCHVvc0FwcElkGAUgASgJEhAK",
            "CGpvaW5Db2RlGAYgASgJEg0KBWRlYnVnGAcgASgIEh8KCGdhbWVUeXBlGAgg",
            "ASgOMg0ubXNnLkdhbWVUeXBlEhIKCnNka1ZlcnNpb24YCSABKAkaMQoPUHJv",
            "cGVydGllc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEi",
            "2AEKEEpvaW5Sb29tUmVzcG9uc2USDAoEY29kZRgBIAEoDRIKCgJpZBgCIAEo",
            "DRIdCgRyb29tGAMgASgLMg8ubXNnLk11bmlublJvb20SIgoHcGxheWVycxgE",
            "IAMoCzIRLm1zZy5NdW5pbm5QbGF5ZXISFgoObWFzdGVyQ2xpZW50SWQYBSAB",
            "KA0SLAoMY2FjaGVkRXZlbnRzGAYgAygLMhYubXNnLk11bmlubkNhY2hlZEV2",
            "ZW50EiEKCXRvbWJzdG9uZRgHIAEoCzIOLm1zZy5Ub21ic3RvbmUiOwoWUGxh",
            "eWVyRW50ZXJlZFJvb21FdmVudBIhCgZwbGF5ZXIYASABKAsyES5tc2cuTXVu",
            "aW5uUGxheWVyIhIKEExlYXZlUm9vbVJlcXVlc3QiEwoRTGVhdmVSb29tUmVz",
            "cG9uc2UiOAoTUGxheWVyTGVmdFJvb21FdmVudBIhCgZwbGF5ZXIYASABKAsy",
            "ES5tc2cuTXVuaW5uUGxheWVyIioKFlN1YnNjcmliZUdyb3Vwc1JlcXVlc3QS",
            "EAoIZ3JvdXBJZHMYASADKA0iOQoXU3Vic2NyaWJlR3JvdXBzUmVzcG9uc2US",
            "DAoEY29kZRgBIAEoDRIQCghncm91cElkcxgCIAMoDSIsChhVbnN1YnNjcmli",
            "ZUdyb3Vwc1JlcXVlc3QSEAoIZ3JvdXBJZHMYASADKA0iOwoZVW5zdWJzY3Jp",
            "YmVHcm91cHNSZXNwb25zZRIMCgRjb2RlGAEgASgNEhAKCGdyb3VwSWRzGAIg",
            "AygNIkgKEVBsYXllcktpY2tlZEV2ZW50EgwKBGNvZGUYASABKA0SDgoGcmVh",
            "c29uGAIgASgJEhUKDWN1c3RvbU1lc3NhZ2UYAyABKAkiQwoVQWRkQ2FjaGVk",
            "RXZlbnRSZXF1ZXN0EgsKA3RhZxgBIAEoCRIMCgRkYXRhGAIgASgMEg8KB3Ry",
            "YWNlSWQYAyABKAkiYAoWQWRkQ2FjaGVkRXZlbnRSZXNwb25zZRIMCgRjb2Rl",
            "GAEgASgNEgwKBHRpY2sYAiABKA0SCwoDdGFnGAMgASgJEgwKBGRhdGEYBSAB",
            "KAwSDwoHdHJhY2VJZBgGIAEoCSI4ChhSZW1vdmVDYWNoZWRFdmVudFJlcXVl",
            "c3QSCwoDdGFnGAEgASgJEg8KB3RyYWNlSWQYAiABKAkiVgoZUmVtb3ZlQ2Fj",
            "aGVkRXZlbnRSZXNwb25zZRIMCgRjb2RlGAEgASgNEgsKA3RhZxgCIAEoCRIN",
            "CgV0aWNrcxgDIAMoDRIPCgd0cmFjZUlkGAQgASgJImkKFVNldFN0aWNreUV2",
            "ZW50UmVxdWVzdBIPCgd0cmFjZUlkGAEgASgJEiQKBXNjb3BlGAIgASgOMhUu",
            "bXNnLlN0aWNreUV2ZW50U2NvcGUSCwoDa2V5GAMgASgJEgwKBGRhdGEYBCAB",
            "KAwihgEKFlNldFN0aWNreUV2ZW50UmVzcG9uc2USDwoHdHJhY2VJZBgBIAEo",
            "CRIMCgRjb2RlGAIgASgNEgwKBHRpY2sYAyABKA0SJAoFc2NvcGUYBCABKA4y",
            "FS5tc2cuU3RpY2t5RXZlbnRTY29wZRILCgNrZXkYBSABKAkSDAoEZGF0YRgG",
            "IAEoDCJeChhSZW1vdmVTdGlja3lFdmVudFJlcXVlc3QSDwoHdHJhY2VJZBgB",
            "IAEoCRILCgNrZXkYAiABKAkSJAoFc2NvcGUYAyABKA4yFS5tc2cuU3RpY2t5",
            "RXZlbnRTY29wZSJ7ChlSZW1vdmVTdGlja3lFdmVudFJlc3BvbnNlEg8KB3Ry",
            "YWNlSWQYASABKAkSDAoEY29kZRgCIAEoDRIMCgRyb3dzGAMgASgNEiQKBXNj",
            "b3BlGAQgASgOMhUubXNnLlN0aWNreUV2ZW50U2NvcGUSCwoDa2V5GAUgASgJ",
            "Il0KF1F1ZXJ5U3RpY2t5RXZlbnRSZXF1ZXN0Eg8KB3RyYWNlSWQYASABKAkS",
            "CwoDa2V5GAIgASgJEiQKBXNjb3BlGAMgASgOMhUubXNnLlN0aWNreUV2ZW50",
            "U2NvcGUiYgoYUXVlcnlTdGlja3lFdmVudFJlc3BvbnNlEg8KB3RyYWNlSWQY",
            "ASABKAkSDAoEY29kZRgCIAEoDRInCgtzdGlja3lFdmVudBgDIAEoCzISLm1z",
            "Zy5TdGlja3lNZXNzYWdlIigKClJhaXNlRXZlbnQSDAoEY29kZRgBIAEoBRIM",
            "CgRkYXRhGAIgASgMIoUBChFSYWlzZUV2ZW50UmVxdWVzdBIeCgVldmVudBgB",
            "IAEoCzIPLm1zZy5SYWlzZUV2ZW50EiUKBnRhcmdldBgCIAEoDjIVLm1zZy5S",
            "YWlzZUV2ZW50VGFyZ2V0EhQKDHRhcmdldEdyb3VwcxgDIAMoDRITCgtyZWNl",
            "aXZlcklkcxgEIAMoDSIMCgpNdW5pbm5QaW5nIgwKCk11bmlublBvbmciMgoY",
            "TWlncmF0ZU1hc3RlckNsaWVudEV2ZW50EhYKDm1hc3RlckNsaWVudElkGAEg",
            "ASgNIjUKDlRlbGxSdHRSZXF1ZXN0EhAKCHNlbmRlcklkGAEgASgNEhEKCXRp",
            "bWVzdGFtcBgCIAEoBCI4Cg9UZWxsUnR0UmVzcG9uc2USEgoKcmVjZWl2ZXJJ",
            "ZBgBIAEoDRIRCgl0aW1lc3RhbXAYAiABKAQiTQoRS2lja1BsYXllclJlcXVl",
            "c3QSDwoHdHJhY2VJZBgBIAEoCRIQCghwbGF5ZXJJZBgCIAEoDRIVCg1jdXN0",
            "b21NZXNzYWdlGAMgASgJIkUKEktpY2tQbGF5ZXJSZXNwb25zZRIPCgd0cmFj",
            "ZUlkGAEgASgJEgwKBGNvZGUYAiABKA0SEAoIcGxheWVySWQYAyABKA0iyQEK",
            "E1VwZGF0ZVBsYXllclJlcXVlc3QSDwoHdHJhY2VJZBgBIAEoCRIQCghwbGF5",
            "ZXJJZBgCIAEoDRIQCgh1bmlxdWVJZBgDIAEoCRIMCgRuYW1lGAQgASgJEjwK",
            "CnByb3BlcnRpZXMYBSADKAsyKC5tc2cuVXBkYXRlUGxheWVyUmVxdWVzdC5Q",
            "cm9wZXJ0aWVzRW50cnkaMQoPUHJvcGVydGllc0VudHJ5EgsKA2tleRgBIAEo",
            "CRINCgV2YWx1ZRgCIAEoCToCOAEiWAoUVXBkYXRlUGxheWVyUmVzcG9uc2US",
            "DwoHdHJhY2VJZBgBIAEoCRIMCgRjb2RlGAIgASgNEiEKBnBsYXllchgDIAEo",
            "CzIRLm1zZy5NdW5pbm5QbGF5ZXIiNwoSUGxheWVyVXBkYXRlZEV2ZW50EiEK",
            "BnBsYXllchgBIAEoCzIRLm1zZy5NdW5pbm5QbGF5ZXIiswEKIVVwZGF0ZVJv",
            "b21DdXN0b21Qcm9wZXJ0aWVzUmVxdWVzdBIPCgd0cmFjZUlkGAEgASgJEkoK",
            "CnByb3BlcnRpZXMYAiADKAsyNi5tc2cuVXBkYXRlUm9vbUN1c3RvbVByb3Bl",
            "cnRpZXNSZXF1ZXN0LlByb3BlcnRpZXNFbnRyeRoxCg9Qcm9wZXJ0aWVzRW50",
            "cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASLDAQoiVXBkYXRl",
            "Um9vbUN1c3RvbVByb3BlcnRpZXNSZXNwb25zZRIPCgd0cmFjZUlkGAEgASgJ",
            "EgwKBGNvZGUYAiABKA0SSwoKcHJvcGVydGllcxgDIAMoCzI3Lm1zZy5VcGRh",
            "dGVSb29tQ3VzdG9tUHJvcGVydGllc1Jlc3BvbnNlLlByb3BlcnRpZXNFbnRy",
            "eRoxCg9Qcm9wZXJ0aWVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIg",
            "ASgJOgI4ASKyAQogUm9vbUN1c3RvbVByb3BlcnRpZXNVcGRhdGVkRXZlbnQS",
            "SQoKcHJvcGVydGllcxgBIAMoCzI1Lm1zZy5Sb29tQ3VzdG9tUHJvcGVydGll",
            "c1VwZGF0ZWRFdmVudC5Qcm9wZXJ0aWVzRW50cnkSEAoIc2VuZGVySWQYAiAB",
            "KA0aMQoPUHJvcGVydGllc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgC",
            "IAEoCToCOAEiLQoYVGVsbFJ0dE9ubHlTZXJ2ZXJSZXF1ZXN0EhEKCXRpbWVz",
            "dGFtcBgBIAEoBCIuChlUZWxsUnR0T25seVNlcnZlclJlc3BvbnNlEhEKCXRp",
            "bWVzdGFtcBgBIAEoBCI7ChlVbnJlbGlhYmxlUmVjZWl2ZWRNZXNzYWdlEhAK",
            "CHNlbmRlcklkGAEgASgNEgwKBGRhdGEYAiABKAwiOQoVVW5yZWxpYWJsZVNl",
            "bnRNZXNzYWdlEhIKCnJlY2VpdmVySWQYASABKA0SDAoEZGF0YRgCIAEoDCI3",
            "ChNTZXRIZWFydGJlYXRSZXF1ZXN0Eg8KB3RyYWNlSWQYASABKAkSDwoHdGlt",
            "ZW91dBgCIAEoDSJGChRTZXRIZWFydGJlYXRSZXNwb25zZRIPCgd0cmFjZUlk",
            "GAEgASgJEgwKBGNvZGUYAiABKA0SDwoHdGltZW91dBgDIAEoDSIXChVGZXRj",
            "aFRpbWVzdGFtcFJlcXVlc3QiKwoWRmV0Y2hUaW1lc3RhbXBSZXNwb25zZRIR",
            "Cgl0aW1lc3RhbXAYASABKBIiJgoVR2V0U2xpY2VkQ2FjaGVSZXF1ZXN0Eg0K",
            "BXN0YXJ0GAEgASgRIkAKFkdldFNsaWNlZENhY2hlUmVzcG9uc2USJgoGZXZl",
            "bnRzGAEgAygLMhYubXNnLlNsaWNlZENvZGVkRXZlbnRzIkwKE09wZXJhdGVT",
            "bGljZVJlcXVlc3QSJgoJb3BlcmF0aW9uGAEgASgOMhMubXNnLlNsaWNlT3Bl",
            "cmF0aW9uEg0KBXNsaWNlGAIgASgRIkIKFEFkZENvZGVkQ2FjaGVSZXF1ZXN0",
            "Eg4KBmdsb2JhbBgBIAEoCBIMCgRjb2RlGAIgASgNEgwKBGRhdGEYAyABKAwi",
            "SAoXUmVtb3ZlQ29kZWRDYWNoZVJlcXVlc3QSDAoEY29kZRgBIAEoDRIMCgRk",
            "YXRhGAIgASgMEhEKCXBsYXllcklkcxgDIAMoDSIfCh1DbGVhckludmFsaWRD",
            "b2RlZENhY2hlUmVxdWVzdCI5ChZDYWNoZVNsaWNlQ2hhbmdlZEV2ZW50EhAK",
            "CHNlbmRlcklkGAEgASgNEg0KBXNsaWNlGAIgASgRIrEYCgtNdW5pbm5FdmVu",
            "dBInCgtzZW50TWVzc2FnZRgCIAEoCzIQLm1zZy5TZW50TWVzc2FnZUgAEi8K",
            "D3JlY2VpdmVkTWVzc2FnZRgDIAEoCzIULm1zZy5SZWNlaXZlZE1lc3NhZ2VI",
            "ABIvCg9qb2luUm9vbVJlcXVlc3QYBCABKAsyFC5tc2cuSm9pblJvb21SZXF1",
            "ZXN0SAASMQoQam9pblJvb21SZXNwb25zZRgFIAEoCzIVLm1zZy5Kb2luUm9v",
            "bVJlc3BvbnNlSAASPQoWcGxheWVyRW50ZXJlZFJvb21FdmVudBgGIAEoCzIb",
            "Lm1zZy5QbGF5ZXJFbnRlcmVkUm9vbUV2ZW50SAASMQoQbGVhdmVSb29tUmVx",
            "dWVzdBgHIAEoCzIVLm1zZy5MZWF2ZVJvb21SZXF1ZXN0SAASMwoRbGVhdmVS",
            "b29tUmVzcG9uc2UYCCABKAsyFi5tc2cuTGVhdmVSb29tUmVzcG9uc2VIABI3",
            "ChNwbGF5ZXJMZWZ0Um9vbUV2ZW50GAkgASgLMhgubXNnLlBsYXllckxlZnRS",
            "b29tRXZlbnRIABI9ChZzdWJzY3JpYmVHcm91cHNSZXF1ZXN0GAogASgLMhsu",
            "bXNnLlN1YnNjcmliZUdyb3Vwc1JlcXVlc3RIABI/ChdzdWJzY3JpYmVHcm91",
            "cHNSZXNwb25zZRgLIAEoCzIcLm1zZy5TdWJzY3JpYmVHcm91cHNSZXNwb25z",
            "ZUgAEkEKGHVuc3Vic2NyaWJlR3JvdXBzUmVxdWVzdBgMIAEoCzIdLm1zZy5V",
            "bnN1YnNjcmliZUdyb3Vwc1JlcXVlc3RIABJDChl1bnN1YnNjcmliZUdyb3Vw",
            "c1Jlc3BvbnNlGA0gASgLMh4ubXNnLlVuc3Vic2NyaWJlR3JvdXBzUmVzcG9u",
            "c2VIABI7ChVhZGRDYWNoZWRFdmVudFJlcXVlc3QYDiABKAsyGi5tc2cuQWRk",
            "Q2FjaGVkRXZlbnRSZXF1ZXN0SAASPQoWYWRkQ2FjaGVkRXZlbnRSZXNwb25z",
            "ZRgPIAEoCzIbLm1zZy5BZGRDYWNoZWRFdmVudFJlc3BvbnNlSAASQQoYcmVt",
            "b3ZlQ2FjaGVkRXZlbnRSZXF1ZXN0GBAgASgLMh0ubXNnLlJlbW92ZUNhY2hl",
            "ZEV2ZW50UmVxdWVzdEgAEkMKGXJlbW92ZUNhY2hlZEV2ZW50UmVzcG9uc2UY",
            "ESABKAsyHi5tc2cuUmVtb3ZlQ2FjaGVkRXZlbnRSZXNwb25zZUgAEjsKFXNl",
            "dFN0aWNreUV2ZW50UmVxdWVzdBgSIAEoCzIaLm1zZy5TZXRTdGlja3lFdmVu",
            "dFJlcXVlc3RIABI9ChZzZXRTdGlja3lFdmVudFJlc3BvbnNlGBMgASgLMhsu",
            "bXNnLlNldFN0aWNreUV2ZW50UmVzcG9uc2VIABJBChhyZW1vdmVTdGlja3lF",
            "dmVudFJlcXVlc3QYFCABKAsyHS5tc2cuUmVtb3ZlU3RpY2t5RXZlbnRSZXF1",
            "ZXN0SAASQwoZcmVtb3ZlU3RpY2t5RXZlbnRSZXNwb25zZRgVIAEoCzIeLm1z",
            "Zy5SZW1vdmVTdGlja3lFdmVudFJlc3BvbnNlSAASMwoRcGxheWVyS2lja2Vk",
            "RXZlbnQYFiABKAsyFi5tc2cuUGxheWVyS2lja2VkRXZlbnRIABIfCgRwaW5n",
            "GBcgASgLMg8ubXNnLk11bmlublBpbmdIABIfCgRwb25nGBggASgLMg8ubXNn",
            "Lk11bmlublBvbmdIABJBChhtaWdyYXRlTWFzdGVyQ2xpZW50RXZlbnQYGSAB",
            "KAsyHS5tc2cuTWlncmF0ZU1hc3RlckNsaWVudEV2ZW50SAASLQoOdGVsbFJ0",
            "dFJlcXVlc3QYGiABKAsyEy5tc2cuVGVsbFJ0dFJlcXVlc3RIABIvCg90ZWxs",
            "UnR0UmVzcG9uc2UYGyABKAsyFC5tc2cuVGVsbFJ0dFJlc3BvbnNlSAASPwoX",
            "cXVlcnlTdGlja3lFdmVudFJlcXVlc3QYHCABKAsyHC5tc2cuUXVlcnlTdGlj",
            "a3lFdmVudFJlcXVlc3RIABJBChhxdWVyeVN0aWNreUV2ZW50UmVzcG9uc2UY",
            "HSABKAsyHS5tc2cuUXVlcnlTdGlja3lFdmVudFJlc3BvbnNlSAASMwoRa2lj",
            "a1BsYXllclJlcXVlc3QYHiABKAsyFi5tc2cuS2lja1BsYXllclJlcXVlc3RI",
            "ABI1ChJraWNrUGxheWVyUmVzcG9uc2UYHyABKAsyFy5tc2cuS2lja1BsYXll",
            "clJlc3BvbnNlSAASNwoTdXBkYXRlUGxheWVyUmVxdWVzdBggIAEoCzIYLm1z",
            "Zy5VcGRhdGVQbGF5ZXJSZXF1ZXN0SAASOQoUdXBkYXRlUGxheWVyUmVzcG9u",
            "c2UYISABKAsyGS5tc2cuVXBkYXRlUGxheWVyUmVzcG9uc2VIABI1ChJwbGF5",
            "ZXJVcGRhdGVkRXZlbnQYIiABKAsyFy5tc2cuUGxheWVyVXBkYXRlZEV2ZW50",
            "SAASUwohdXBkYXRlUm9vbUN1c3RvbVByb3BlcnRpZXNSZXF1ZXN0GCMgASgL",
            "MiYubXNnLlVwZGF0ZVJvb21DdXN0b21Qcm9wZXJ0aWVzUmVxdWVzdEgAElUK",
            "InVwZGF0ZVJvb21DdXN0b21Qcm9wZXJ0aWVzUmVzcG9uc2UYJCABKAsyJy5t",
            "c2cuVXBkYXRlUm9vbUN1c3RvbVByb3BlcnRpZXNSZXNwb25zZUgAElEKIHJv",
            "b21DdXN0b21Qcm9wZXJ0aWVzVXBkYXRlZEV2ZW50GCUgASgLMiUubXNnLlJv",
            "b21DdXN0b21Qcm9wZXJ0aWVzVXBkYXRlZEV2ZW50SAASQQoYdGVsbFJ0dE9u",
            "bHlTZXJ2ZXJSZXF1ZXN0GCYgASgLMh0ubXNnLlRlbGxSdHRPbmx5U2VydmVy",
            "UmVxdWVzdEgAEkMKGXRlbGxSdHRPbmx5U2VydmVyUmVzcG9uc2UYJyABKAsy",
            "Hi5tc2cuVGVsbFJ0dE9ubHlTZXJ2ZXJSZXNwb25zZUgAEkMKGXVucmVsaWFi",
            "bGVSZWNlaXZlZE1lc3NhZ2UYKCABKAsyHi5tc2cuVW5yZWxpYWJsZVJlY2Vp",
            "dmVkTWVzc2FnZUgAEjsKFXVucmVsaWFibGVTZW50TWVzc2FnZRgpIAEoCzIa",
            "Lm1zZy5VbnJlbGlhYmxlU2VudE1lc3NhZ2VIABI3ChNzZXRIZWFydGJlYXRS",
            "ZXF1ZXN0GCogASgLMhgubXNnLlNldEhlYXJ0YmVhdFJlcXVlc3RIABI5ChRz",
            "ZXRIZWFydGJlYXRSZXNwb25zZRgrIAEoCzIZLm1zZy5TZXRIZWFydGJlYXRS",
            "ZXNwb25zZUgAEjsKFWZldGNoVGltZXN0YW1wUmVxdWVzdBgsIAEoCzIaLm1z",
            "Zy5GZXRjaFRpbWVzdGFtcFJlcXVlc3RIABI9ChZmZXRjaFRpbWVzdGFtcFJl",
            "c3BvbnNlGC0gASgLMhsubXNnLkZldGNoVGltZXN0YW1wUmVzcG9uc2VIABI7",
            "ChVnZXRTbGljZWRDYWNoZVJlcXVlc3QYLiABKAsyGi5tc2cuR2V0U2xpY2Vk",
            "Q2FjaGVSZXF1ZXN0SAASPQoWZ2V0U2xpY2VkQ2FjaGVSZXNwb25zZRgvIAEo",
            "CzIbLm1zZy5HZXRTbGljZWRDYWNoZVJlc3BvbnNlSAASNwoTb3BlcmF0ZVNs",
            "aWNlUmVxdWVzdBgwIAEoCzIYLm1zZy5PcGVyYXRlU2xpY2VSZXF1ZXN0SAAS",
            "OQoUYWRkQ29kZWRDYWNoZVJlcXVlc3QYMSABKAsyGS5tc2cuQWRkQ29kZWRD",
            "YWNoZVJlcXVlc3RIABI/ChdyZW1vdmVDb2RlZENhY2hlUmVxdWVzdBgyIAEo",
            "CzIcLm1zZy5SZW1vdmVDb2RlZENhY2hlUmVxdWVzdEgAEksKHWNsZWFySW52",
            "YWxpZENvZGVkQ2FjaGVSZXF1ZXN0GDMgASgLMiIubXNnLkNsZWFySW52YWxp",
            "ZENvZGVkQ2FjaGVSZXF1ZXN0SAASPQoWY2FjaGVTbGljZUNoYW5nZWRFdmVu",
            "dBg0IAEoCzIbLm1zZy5DYWNoZVNsaWNlQ2hhbmdlZEV2ZW50SABCCQoHY29u",
            "dGVudCpfChBSYWlzZUV2ZW50VGFyZ2V0EgoKBlRPX0FMTBAAEg0KCVRPX0dS",
            "T1VQUxABEhEKDVRPX0FMTF9CVVRfTUUQAhIOCgpUT19QTEFZRVJTEAMSDQoJ",
            "VE9fTUFTVEVSEAQqNAoQU3RpY2t5RXZlbnRTY29wZRIOCgpST09NX1NDT1BF",
            "EAASEAoMUExBWUVSX1NDT1BFEAEqRwoIR2FtZVR5cGUSDAoIcmVhbHRpbWUQ",
            "ABILCgduZXRjb2RlEAESCgoGbWlycm9yEAISCwoHZmlzaG5ldBADEgcKA2Vj",
            "cxAEKmkKDlNsaWNlT3BlcmF0aW9uEhYKElNsaWNlSW5jcmVhc2VJbmRleBAA",
            "EhEKDVNsaWNlU2V0SW5kZXgQARITCg9TbGljZVB1cmdlSW5kZXgQAhIXChNT",
            "bGljZVB1cmdlVXBUb0luZGV4EANCHVoEL21zZ6oCFFVuaXR5Lk11bmlubi5N",
            "ZXNzYWdlYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Unity.Muninn.Message.RaiseEventTarget), typeof(global::Unity.Muninn.Message.StickyEventScope), typeof(global::Unity.Muninn.Message.GameType), typeof(global::Unity.Muninn.Message.SliceOperation), }, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.StickyMessage), global::Unity.Muninn.Message.StickyMessage.Parser, new[]{ "Scope", "SenderId", "Data", "Tick", "Key" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.MuninnCachedEvent), global::Unity.Muninn.Message.MuninnCachedEvent.Parser, new[]{ "Tick", "Tag", "SenderId", "Data" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.MuninnPlayer), global::Unity.Muninn.Message.MuninnPlayer.Parser, new[]{ "UniqueId", "Name", "Properties", "Id" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.MuninnRoom), global::Unity.Muninn.Message.MuninnRoom.Parser, new[]{ "Id", "UosAppId", "JoinCode", "Namespace", "Name", "Visibility", "MaxPlayers", "Properties", "OwnerId" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.Tombstone), global::Unity.Muninn.Message.Tombstone.Parser, new[]{ "GroupIds" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.CodedEvent), global::Unity.Muninn.Message.CodedEvent.Parser, new[]{ "SenderId", "Code", "Data" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.SlicedCodedEvents), global::Unity.Muninn.Message.SlicedCodedEvents.Parser, new[]{ "Slice", "Events" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.ReceivedMessage), global::Unity.Muninn.Message.ReceivedMessage.Parser, new[]{ "SenderId", "GroupIds", "Data", "Target" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.SentMessage), global::Unity.Muninn.Message.SentMessage.Parser, new[]{ "RaiseEventTarget", "TargetGroups", "ReceiverIds", "Data" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.JoinRoomRequest), global::Unity.Muninn.Message.JoinRoomRequest.Parser, new[]{ "RoomId", "UniqueId", "Name", "Properties", "UosAppId", "JoinCode", "Debug", "GameType", "SdkVersion" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.JoinRoomResponse), global::Unity.Muninn.Message.JoinRoomResponse.Parser, new[]{ "Code", "Id", "Room", "Players", "MasterClientId", "CachedEvents", "Tombstone" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.PlayerEnteredRoomEvent), global::Unity.Muninn.Message.PlayerEnteredRoomEvent.Parser, new[]{ "Player" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.LeaveRoomRequest), global::Unity.Muninn.Message.LeaveRoomRequest.Parser, null, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.LeaveRoomResponse), global::Unity.Muninn.Message.LeaveRoomResponse.Parser, null, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.PlayerLeftRoomEvent), global::Unity.Muninn.Message.PlayerLeftRoomEvent.Parser, new[]{ "Player" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.SubscribeGroupsRequest), global::Unity.Muninn.Message.SubscribeGroupsRequest.Parser, new[]{ "GroupIds" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.SubscribeGroupsResponse), global::Unity.Muninn.Message.SubscribeGroupsResponse.Parser, new[]{ "Code", "GroupIds" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.UnsubscribeGroupsRequest), global::Unity.Muninn.Message.UnsubscribeGroupsRequest.Parser, new[]{ "GroupIds" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.UnsubscribeGroupsResponse), global::Unity.Muninn.Message.UnsubscribeGroupsResponse.Parser, new[]{ "Code", "GroupIds" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.PlayerKickedEvent), global::Unity.Muninn.Message.PlayerKickedEvent.Parser, new[]{ "Code", "Reason", "CustomMessage" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.AddCachedEventRequest), global::Unity.Muninn.Message.AddCachedEventRequest.Parser, new[]{ "Tag", "Data", "TraceId" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.AddCachedEventResponse), global::Unity.Muninn.Message.AddCachedEventResponse.Parser, new[]{ "Code", "Tick", "Tag", "Data", "TraceId" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.RemoveCachedEventRequest), global::Unity.Muninn.Message.RemoveCachedEventRequest.Parser, new[]{ "Tag", "TraceId" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.RemoveCachedEventResponse), global::Unity.Muninn.Message.RemoveCachedEventResponse.Parser, new[]{ "Code", "Tag", "Ticks", "TraceId" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.SetStickyEventRequest), global::Unity.Muninn.Message.SetStickyEventRequest.Parser, new[]{ "TraceId", "Scope", "Key", "Data" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.SetStickyEventResponse), global::Unity.Muninn.Message.SetStickyEventResponse.Parser, new[]{ "TraceId", "Code", "Tick", "Scope", "Key", "Data" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.RemoveStickyEventRequest), global::Unity.Muninn.Message.RemoveStickyEventRequest.Parser, new[]{ "TraceId", "Key", "Scope" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.RemoveStickyEventResponse), global::Unity.Muninn.Message.RemoveStickyEventResponse.Parser, new[]{ "TraceId", "Code", "Rows", "Scope", "Key" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.QueryStickyEventRequest), global::Unity.Muninn.Message.QueryStickyEventRequest.Parser, new[]{ "TraceId", "Key", "Scope" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.QueryStickyEventResponse), global::Unity.Muninn.Message.QueryStickyEventResponse.Parser, new[]{ "TraceId", "Code", "StickyEvent" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.RaiseEvent), global::Unity.Muninn.Message.RaiseEvent.Parser, new[]{ "Code", "Data" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.RaiseEventRequest), global::Unity.Muninn.Message.RaiseEventRequest.Parser, new[]{ "Event", "Target", "TargetGroups", "ReceiverIds" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.MuninnPing), global::Unity.Muninn.Message.MuninnPing.Parser, null, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.MuninnPong), global::Unity.Muninn.Message.MuninnPong.Parser, null, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.MigrateMasterClientEvent), global::Unity.Muninn.Message.MigrateMasterClientEvent.Parser, new[]{ "MasterClientId" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.TellRttRequest), global::Unity.Muninn.Message.TellRttRequest.Parser, new[]{ "SenderId", "Timestamp" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.TellRttResponse), global::Unity.Muninn.Message.TellRttResponse.Parser, new[]{ "ReceiverId", "Timestamp" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.KickPlayerRequest), global::Unity.Muninn.Message.KickPlayerRequest.Parser, new[]{ "TraceId", "PlayerId", "CustomMessage" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.KickPlayerResponse), global::Unity.Muninn.Message.KickPlayerResponse.Parser, new[]{ "TraceId", "Code", "PlayerId" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.UpdatePlayerRequest), global::Unity.Muninn.Message.UpdatePlayerRequest.Parser, new[]{ "TraceId", "PlayerId", "UniqueId", "Name", "Properties" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.UpdatePlayerResponse), global::Unity.Muninn.Message.UpdatePlayerResponse.Parser, new[]{ "TraceId", "Code", "Player" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.PlayerUpdatedEvent), global::Unity.Muninn.Message.PlayerUpdatedEvent.Parser, new[]{ "Player" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.UpdateRoomCustomPropertiesRequest), global::Unity.Muninn.Message.UpdateRoomCustomPropertiesRequest.Parser, new[]{ "TraceId", "Properties" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.UpdateRoomCustomPropertiesResponse), global::Unity.Muninn.Message.UpdateRoomCustomPropertiesResponse.Parser, new[]{ "TraceId", "Code", "Properties" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.RoomCustomPropertiesUpdatedEvent), global::Unity.Muninn.Message.RoomCustomPropertiesUpdatedEvent.Parser, new[]{ "Properties", "SenderId" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.TellRttOnlyServerRequest), global::Unity.Muninn.Message.TellRttOnlyServerRequest.Parser, new[]{ "Timestamp" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.TellRttOnlyServerResponse), global::Unity.Muninn.Message.TellRttOnlyServerResponse.Parser, new[]{ "Timestamp" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.UnreliableReceivedMessage), global::Unity.Muninn.Message.UnreliableReceivedMessage.Parser, new[]{ "SenderId", "Data" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.UnreliableSentMessage), global::Unity.Muninn.Message.UnreliableSentMessage.Parser, new[]{ "ReceiverId", "Data" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.SetHeartbeatRequest), global::Unity.Muninn.Message.SetHeartbeatRequest.Parser, new[]{ "TraceId", "Timeout" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.SetHeartbeatResponse), global::Unity.Muninn.Message.SetHeartbeatResponse.Parser, new[]{ "TraceId", "Code", "Timeout" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.FetchTimestampRequest), global::Unity.Muninn.Message.FetchTimestampRequest.Parser, null, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.FetchTimestampResponse), global::Unity.Muninn.Message.FetchTimestampResponse.Parser, new[]{ "Timestamp" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.GetSlicedCacheRequest), global::Unity.Muninn.Message.GetSlicedCacheRequest.Parser, new[]{ "Start" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.GetSlicedCacheResponse), global::Unity.Muninn.Message.GetSlicedCacheResponse.Parser, new[]{ "Events" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.OperateSliceRequest), global::Unity.Muninn.Message.OperateSliceRequest.Parser, new[]{ "Operation", "Slice" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.AddCodedCacheRequest), global::Unity.Muninn.Message.AddCodedCacheRequest.Parser, new[]{ "Global", "Code", "Data" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.RemoveCodedCacheRequest), global::Unity.Muninn.Message.RemoveCodedCacheRequest.Parser, new[]{ "Code", "Data", "PlayerIds" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.ClearInvalidCodedCacheRequest), global::Unity.Muninn.Message.ClearInvalidCodedCacheRequest.Parser, null, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.CacheSliceChangedEvent), global::Unity.Muninn.Message.CacheSliceChangedEvent.Parser, new[]{ "SenderId", "Slice" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Unity.Muninn.Message.MuninnEvent), global::Unity.Muninn.Message.MuninnEvent.Parser, new[]{ "SentMessage", "ReceivedMessage", "JoinRoomRequest", "JoinRoomResponse", "PlayerEnteredRoomEvent", "LeaveRoomRequest", "LeaveRoomResponse", "PlayerLeftRoomEvent", "SubscribeGroupsRequest", "SubscribeGroupsResponse", "UnsubscribeGroupsRequest", "UnsubscribeGroupsResponse", "AddCachedEventRequest", "AddCachedEventResponse", "RemoveCachedEventRequest", "RemoveCachedEventResponse", "SetStickyEventRequest", "SetStickyEventResponse", "RemoveStickyEventRequest", "RemoveStickyEventResponse", "PlayerKickedEvent", "Ping", "Pong", "MigrateMasterClientEvent", "TellRttRequest", "TellRttResponse", "QueryStickyEventRequest", "QueryStickyEventResponse", "KickPlayerRequest", "KickPlayerResponse", "UpdatePlayerRequest", "UpdatePlayerResponse", "PlayerUpdatedEvent", "UpdateRoomCustomPropertiesRequest", "UpdateRoomCustomPropertiesResponse", "RoomCustomPropertiesUpdatedEvent", "TellRttOnlyServerRequest", "TellRttOnlyServerResponse", "UnreliableReceivedMessage", "UnreliableSentMessage", "SetHeartbeatRequest", "SetHeartbeatResponse", "FetchTimestampRequest", "FetchTimestampResponse", "GetSlicedCacheRequest", "GetSlicedCacheResponse", "OperateSliceRequest", "AddCodedCacheRequest", "RemoveCodedCacheRequest", "ClearInvalidCodedCacheRequest", "CacheSliceChangedEvent" }, new[]{ "Content" }, null, null, null)
          }));
    }
    #endregion

  }
  #region Enums
  public enum RaiseEventTarget {
    [pbr::OriginalName("TO_ALL")] ToAll = 0,
    [pbr::OriginalName("TO_GROUPS")] ToGroups = 1,
    [pbr::OriginalName("TO_ALL_BUT_ME")] ToAllButMe = 2,
    [pbr::OriginalName("TO_PLAYERS")] ToPlayers = 3,
    [pbr::OriginalName("TO_MASTER")] ToMaster = 4,
  }

  public enum StickyEventScope {
    [pbr::OriginalName("ROOM_SCOPE")] RoomScope = 0,
    [pbr::OriginalName("PLAYER_SCOPE")] PlayerScope = 1,
  }

  public enum GameType {
    /// <summary>
    /// 默认
    /// </summary>
    [pbr::OriginalName("realtime")] Realtime = 0,
    [pbr::OriginalName("netcode")] Netcode = 1,
    /// <summary>
    ///
    /// </summary>
    [pbr::OriginalName("mirror")] Mirror = 2,
    [pbr::OriginalName("fishnet")] Fishnet = 3,
    [pbr::OriginalName("ecs")] Ecs = 4,
  }

  public enum SliceOperation {
    [pbr::OriginalName("SliceIncreaseIndex")] SliceIncreaseIndex = 0,
    [pbr::OriginalName("SliceSetIndex")] SliceSetIndex = 1,
    [pbr::OriginalName("SlicePurgeIndex")] SlicePurgeIndex = 2,
    [pbr::OriginalName("SlicePurgeUpToIndex")] SlicePurgeUpToIndex = 3,
  }

  #endregion

  #region Messages
  public sealed partial class StickyMessage : pb::IMessage<StickyMessage>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<StickyMessage> _parser = new pb::MessageParser<StickyMessage>(() => new StickyMessage());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<StickyMessage> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[0]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public StickyMessage() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public StickyMessage(StickyMessage other) : this() {
      scope_ = other.scope_;
      senderId_ = other.senderId_;
      data_ = other.data_;
      tick_ = other.tick_;
      key_ = other.key_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public StickyMessage Clone() {
      return new StickyMessage(this);
    }

    /// <summary>Field number for the "scope" field.</summary>
    public const int ScopeFieldNumber = 1;
    private global::Unity.Muninn.Message.StickyEventScope scope_ = global::Unity.Muninn.Message.StickyEventScope.RoomScope;
    /// <summary>
    /// 类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.StickyEventScope Scope {
      get { return scope_; }
      set {
        scope_ = value;
      }
    }

    /// <summary>Field number for the "senderId" field.</summary>
    public const int SenderIdFieldNumber = 2;
    private uint senderId_;
    /// <summary>
    /// 发送者
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint SenderId {
      get { return senderId_; }
      set {
        senderId_ = value;
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 3;
    private pb::ByteString data_ = pb::ByteString.Empty;
    /// <summary>
    /// 对应的数据
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "tick" field.</summary>
    public const int TickFieldNumber = 4;
    private uint tick_;
    /// <summary>
    /// tick
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Tick {
      get { return tick_; }
      set {
        tick_ = value;
      }
    }

    /// <summary>Field number for the "key" field.</summary>
    public const int KeyFieldNumber = 5;
    private string key_ = "";
    /// <summary>
    /// 对应的key
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Key {
      get { return key_; }
      set {
        key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as StickyMessage);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(StickyMessage other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Scope != other.Scope) return false;
      if (SenderId != other.SenderId) return false;
      if (Data != other.Data) return false;
      if (Tick != other.Tick) return false;
      if (Key != other.Key) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) hash ^= Scope.GetHashCode();
      if (SenderId != 0) hash ^= SenderId.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (Tick != 0) hash ^= Tick.GetHashCode();
      if (Key.Length != 0) hash ^= Key.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(8);
        output.WriteEnum((int) Scope);
      }
      if (SenderId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(SenderId);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(26);
        output.WriteBytes(Data);
      }
      if (Tick != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(Tick);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(Key);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(8);
        output.WriteEnum((int) Scope);
      }
      if (SenderId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(SenderId);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(26);
        output.WriteBytes(Data);
      }
      if (Tick != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(Tick);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(Key);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Scope);
      }
      if (SenderId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SenderId);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (Tick != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tick);
      }
      if (Key.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(StickyMessage other) {
      if (other == null) {
        return;
      }
      if (other.Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        Scope = other.Scope;
      }
      if (other.SenderId != 0) {
        SenderId = other.SenderId;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      if (other.Tick != 0) {
        Tick = other.Tick;
      }
      if (other.Key.Length != 0) {
        Key = other.Key;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
          case 16: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 26: {
            Data = input.ReadBytes();
            break;
          }
          case 32: {
            Tick = input.ReadUInt32();
            break;
          }
          case 42: {
            Key = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
          case 16: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 26: {
            Data = input.ReadBytes();
            break;
          }
          case 32: {
            Tick = input.ReadUInt32();
            break;
          }
          case 42: {
            Key = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  ///
  /// </summary>
  public sealed partial class MuninnCachedEvent : pb::IMessage<MuninnCachedEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<MuninnCachedEvent> _parser = new pb::MessageParser<MuninnCachedEvent>(() => new MuninnCachedEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<MuninnCachedEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[1]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnCachedEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnCachedEvent(MuninnCachedEvent other) : this() {
      tick_ = other.tick_;
      tag_ = other.tag_;
      senderId_ = other.senderId_;
      data_ = other.data_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnCachedEvent Clone() {
      return new MuninnCachedEvent(this);
    }

    /// <summary>Field number for the "tick" field.</summary>
    public const int TickFieldNumber = 1;
    private uint tick_;
    /// <summary>
    /// tick
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Tick {
      get { return tick_; }
      set {
        tick_ = value;
      }
    }

    /// <summary>Field number for the "tag" field.</summary>
    public const int TagFieldNumber = 2;
    private string tag_ = "";
    /// <summary>
    /// 对应的tag
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Tag {
      get { return tag_; }
      set {
        tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "senderId" field.</summary>
    public const int SenderIdFieldNumber = 3;
    private uint senderId_;
    /// <summary>
    /// 发送者
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint SenderId {
      get { return senderId_; }
      set {
        senderId_ = value;
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 4;
    private pb::ByteString data_ = pb::ByteString.Empty;
    /// <summary>
    /// 对应的数据
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as MuninnCachedEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(MuninnCachedEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Tick != other.Tick) return false;
      if (Tag != other.Tag) return false;
      if (SenderId != other.SenderId) return false;
      if (Data != other.Data) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Tick != 0) hash ^= Tick.GetHashCode();
      if (Tag.Length != 0) hash ^= Tag.GetHashCode();
      if (SenderId != 0) hash ^= SenderId.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Tick != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Tick);
      }
      if (Tag.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Tag);
      }
      if (SenderId != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(SenderId);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(34);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Tick != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Tick);
      }
      if (Tag.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Tag);
      }
      if (SenderId != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(SenderId);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(34);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Tick != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tick);
      }
      if (Tag.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
      }
      if (SenderId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SenderId);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(MuninnCachedEvent other) {
      if (other == null) {
        return;
      }
      if (other.Tick != 0) {
        Tick = other.Tick;
      }
      if (other.Tag.Length != 0) {
        Tag = other.Tag;
      }
      if (other.SenderId != 0) {
        SenderId = other.SenderId;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Tick = input.ReadUInt32();
            break;
          }
          case 18: {
            Tag = input.ReadString();
            break;
          }
          case 24: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 34: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Tick = input.ReadUInt32();
            break;
          }
          case 18: {
            Tag = input.ReadString();
            break;
          }
          case 24: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 34: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class MuninnPlayer : pb::IMessage<MuninnPlayer>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<MuninnPlayer> _parser = new pb::MessageParser<MuninnPlayer>(() => new MuninnPlayer());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<MuninnPlayer> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[2]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnPlayer() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnPlayer(MuninnPlayer other) : this() {
      uniqueId_ = other.uniqueId_;
      name_ = other.name_;
      properties_ = other.properties_.Clone();
      id_ = other.id_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnPlayer Clone() {
      return new MuninnPlayer(this);
    }

    /// <summary>Field number for the "uniqueId" field.</summary>
    public const int UniqueIdFieldNumber = 1;
    private string uniqueId_ = "";
    /// <summary>
    /// 玩家的id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string UniqueId {
      get { return uniqueId_; }
      set {
        uniqueId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "name" field.</summary>
    public const int NameFieldNumber = 2;
    private string name_ = "";
    /// <summary>
    /// 名字
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Name {
      get { return name_; }
      set {
        name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "properties" field.</summary>
    public const int PropertiesFieldNumber = 3;
    private static readonly pbc::MapField<string, string>.Codec _map_properties_codec
        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 26);
    private readonly pbc::MapField<string, string> properties_ = new pbc::MapField<string, string>();
    /// <summary>
    /// 属性
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<string, string> Properties {
      get { return properties_; }
    }

    /// <summary>Field number for the "id" field.</summary>
    public const int IdFieldNumber = 4;
    private uint id_;
    /// <summary>
    /// 房间服务器有个短id编号
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Id {
      get { return id_; }
      set {
        id_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as MuninnPlayer);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(MuninnPlayer other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (UniqueId != other.UniqueId) return false;
      if (Name != other.Name) return false;
      if (!Properties.Equals(other.Properties)) return false;
      if (Id != other.Id) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (UniqueId.Length != 0) hash ^= UniqueId.GetHashCode();
      if (Name.Length != 0) hash ^= Name.GetHashCode();
      hash ^= Properties.GetHashCode();
      if (Id != 0) hash ^= Id.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (UniqueId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(UniqueId);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Name);
      }
      properties_.WriteTo(output, _map_properties_codec);
      if (Id != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(Id);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (UniqueId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(UniqueId);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Name);
      }
      properties_.WriteTo(ref output, _map_properties_codec);
      if (Id != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(Id);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (UniqueId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(UniqueId);
      }
      if (Name.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
      }
      size += properties_.CalculateSize(_map_properties_codec);
      if (Id != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(MuninnPlayer other) {
      if (other == null) {
        return;
      }
      if (other.UniqueId.Length != 0) {
        UniqueId = other.UniqueId;
      }
      if (other.Name.Length != 0) {
        Name = other.Name;
      }
      properties_.Add(other.properties_);
      if (other.Id != 0) {
        Id = other.Id;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            UniqueId = input.ReadString();
            break;
          }
          case 18: {
            Name = input.ReadString();
            break;
          }
          case 26: {
            properties_.AddEntriesFrom(input, _map_properties_codec);
            break;
          }
          case 32: {
            Id = input.ReadUInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            UniqueId = input.ReadString();
            break;
          }
          case 18: {
            Name = input.ReadString();
            break;
          }
          case 26: {
            properties_.AddEntriesFrom(ref input, _map_properties_codec);
            break;
          }
          case 32: {
            Id = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class MuninnRoom : pb::IMessage<MuninnRoom>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<MuninnRoom> _parser = new pb::MessageParser<MuninnRoom>(() => new MuninnRoom());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<MuninnRoom> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[3]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnRoom() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnRoom(MuninnRoom other) : this() {
      id_ = other.id_;
      uosAppId_ = other.uosAppId_;
      joinCode_ = other.joinCode_;
      namespace_ = other.namespace_;
      name_ = other.name_;
      visibility_ = other.visibility_;
      maxPlayers_ = other.maxPlayers_;
      properties_ = other.properties_.Clone();
      ownerId_ = other.ownerId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnRoom Clone() {
      return new MuninnRoom(this);
    }

    /// <summary>Field number for the "id" field.</summary>
    public const int IdFieldNumber = 1;
    private string id_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Id {
      get { return id_; }
      set {
        id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "uosAppId" field.</summary>
    public const int UosAppIdFieldNumber = 2;
    private string uosAppId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string UosAppId {
      get { return uosAppId_; }
      set {
        uosAppId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "joinCode" field.</summary>
    public const int JoinCodeFieldNumber = 3;
    private string joinCode_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string JoinCode {
      get { return joinCode_; }
      set {
        joinCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "namespace" field.</summary>
    public const int NamespaceFieldNumber = 4;
    private string namespace_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Namespace {
      get { return namespace_; }
      set {
        namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "name" field.</summary>
    public const int NameFieldNumber = 5;
    private string name_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Name {
      get { return name_; }
      set {
        name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "visibility" field.</summary>
    public const int VisibilityFieldNumber = 6;
    private string visibility_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Visibility {
      get { return visibility_; }
      set {
        visibility_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "maxPlayers" field.</summary>
    public const int MaxPlayersFieldNumber = 7;
    private uint maxPlayers_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint MaxPlayers {
      get { return maxPlayers_; }
      set {
        maxPlayers_ = value;
      }
    }

    /// <summary>Field number for the "properties" field.</summary>
    public const int PropertiesFieldNumber = 8;
    private static readonly pbc::MapField<string, string>.Codec _map_properties_codec
        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 66);
    private readonly pbc::MapField<string, string> properties_ = new pbc::MapField<string, string>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<string, string> Properties {
      get { return properties_; }
    }

    /// <summary>Field number for the "ownerId" field.</summary>
    public const int OwnerIdFieldNumber = 9;
    private string ownerId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string OwnerId {
      get { return ownerId_; }
      set {
        ownerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as MuninnRoom);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(MuninnRoom other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Id != other.Id) return false;
      if (UosAppId != other.UosAppId) return false;
      if (JoinCode != other.JoinCode) return false;
      if (Namespace != other.Namespace) return false;
      if (Name != other.Name) return false;
      if (Visibility != other.Visibility) return false;
      if (MaxPlayers != other.MaxPlayers) return false;
      if (!Properties.Equals(other.Properties)) return false;
      if (OwnerId != other.OwnerId) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Id.Length != 0) hash ^= Id.GetHashCode();
      if (UosAppId.Length != 0) hash ^= UosAppId.GetHashCode();
      if (JoinCode.Length != 0) hash ^= JoinCode.GetHashCode();
      if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
      if (Name.Length != 0) hash ^= Name.GetHashCode();
      if (Visibility.Length != 0) hash ^= Visibility.GetHashCode();
      if (MaxPlayers != 0) hash ^= MaxPlayers.GetHashCode();
      hash ^= Properties.GetHashCode();
      if (OwnerId.Length != 0) hash ^= OwnerId.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Id.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(Id);
      }
      if (UosAppId.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(UosAppId);
      }
      if (JoinCode.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(JoinCode);
      }
      if (Namespace.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(Namespace);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(Name);
      }
      if (Visibility.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(Visibility);
      }
      if (MaxPlayers != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(MaxPlayers);
      }
      properties_.WriteTo(output, _map_properties_codec);
      if (OwnerId.Length != 0) {
        output.WriteRawTag(74);
        output.WriteString(OwnerId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Id.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(Id);
      }
      if (UosAppId.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(UosAppId);
      }
      if (JoinCode.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(JoinCode);
      }
      if (Namespace.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(Namespace);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(Name);
      }
      if (Visibility.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(Visibility);
      }
      if (MaxPlayers != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(MaxPlayers);
      }
      properties_.WriteTo(ref output, _map_properties_codec);
      if (OwnerId.Length != 0) {
        output.WriteRawTag(74);
        output.WriteString(OwnerId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Id.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
      }
      if (UosAppId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(UosAppId);
      }
      if (JoinCode.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(JoinCode);
      }
      if (Namespace.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
      }
      if (Name.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
      }
      if (Visibility.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Visibility);
      }
      if (MaxPlayers != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxPlayers);
      }
      size += properties_.CalculateSize(_map_properties_codec);
      if (OwnerId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(OwnerId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(MuninnRoom other) {
      if (other == null) {
        return;
      }
      if (other.Id.Length != 0) {
        Id = other.Id;
      }
      if (other.UosAppId.Length != 0) {
        UosAppId = other.UosAppId;
      }
      if (other.JoinCode.Length != 0) {
        JoinCode = other.JoinCode;
      }
      if (other.Namespace.Length != 0) {
        Namespace = other.Namespace;
      }
      if (other.Name.Length != 0) {
        Name = other.Name;
      }
      if (other.Visibility.Length != 0) {
        Visibility = other.Visibility;
      }
      if (other.MaxPlayers != 0) {
        MaxPlayers = other.MaxPlayers;
      }
      properties_.Add(other.properties_);
      if (other.OwnerId.Length != 0) {
        OwnerId = other.OwnerId;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            Id = input.ReadString();
            break;
          }
          case 18: {
            UosAppId = input.ReadString();
            break;
          }
          case 26: {
            JoinCode = input.ReadString();
            break;
          }
          case 34: {
            Namespace = input.ReadString();
            break;
          }
          case 42: {
            Name = input.ReadString();
            break;
          }
          case 50: {
            Visibility = input.ReadString();
            break;
          }
          case 56: {
            MaxPlayers = input.ReadUInt32();
            break;
          }
          case 66: {
            properties_.AddEntriesFrom(input, _map_properties_codec);
            break;
          }
          case 74: {
            OwnerId = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            Id = input.ReadString();
            break;
          }
          case 18: {
            UosAppId = input.ReadString();
            break;
          }
          case 26: {
            JoinCode = input.ReadString();
            break;
          }
          case 34: {
            Namespace = input.ReadString();
            break;
          }
          case 42: {
            Name = input.ReadString();
            break;
          }
          case 50: {
            Visibility = input.ReadString();
            break;
          }
          case 56: {
            MaxPlayers = input.ReadUInt32();
            break;
          }
          case 66: {
            properties_.AddEntriesFrom(ref input, _map_properties_codec);
            break;
          }
          case 74: {
            OwnerId = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class Tombstone : pb::IMessage<Tombstone>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<Tombstone> _parser = new pb::MessageParser<Tombstone>(() => new Tombstone());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<Tombstone> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[4]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public Tombstone() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public Tombstone(Tombstone other) : this() {
      groupIds_ = other.groupIds_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public Tombstone Clone() {
      return new Tombstone(this);
    }

    /// <summary>Field number for the "groupIds" field.</summary>
    public const int GroupIdsFieldNumber = 1;
    private static readonly pb::FieldCodec<uint> _repeated_groupIds_codec
        = pb::FieldCodec.ForUInt32(10);
    private readonly pbc::RepeatedField<uint> groupIds_ = new pbc::RepeatedField<uint>();
    /// <summary>
    /// 历史订阅的组
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> GroupIds {
      get { return groupIds_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as Tombstone);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(Tombstone other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!groupIds_.Equals(other.groupIds_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      hash ^= groupIds_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      groupIds_.WriteTo(output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      groupIds_.WriteTo(ref output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      size += groupIds_.CalculateSize(_repeated_groupIds_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(Tombstone other) {
      if (other == null) {
        return;
      }
      groupIds_.Add(other.groupIds_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10:
          case 8: {
            groupIds_.AddEntriesFrom(input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10:
          case 8: {
            groupIds_.AddEntriesFrom(ref input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// Photon所需
  /// </summary>
  public sealed partial class CodedEvent : pb::IMessage<CodedEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<CodedEvent> _parser = new pb::MessageParser<CodedEvent>(() => new CodedEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<CodedEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[5]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public CodedEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public CodedEvent(CodedEvent other) : this() {
      senderId_ = other.senderId_;
      code_ = other.code_;
      data_ = other.data_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public CodedEvent Clone() {
      return new CodedEvent(this);
    }

    /// <summary>Field number for the "senderId" field.</summary>
    public const int SenderIdFieldNumber = 1;
    private uint senderId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint SenderId {
      get { return senderId_; }
      set {
        senderId_ = value;
      }
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 2;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 3;
    private pb::ByteString data_ = pb::ByteString.Empty;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as CodedEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(CodedEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (SenderId != other.SenderId) return false;
      if (Code != other.Code) return false;
      if (Data != other.Data) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (SenderId != 0) hash ^= SenderId.GetHashCode();
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(26);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(26);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (SenderId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SenderId);
      }
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(CodedEvent other) {
      if (other == null) {
        return;
      }
      if (other.SenderId != 0) {
        SenderId = other.SenderId;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class SlicedCodedEvents : pb::IMessage<SlicedCodedEvents>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<SlicedCodedEvents> _parser = new pb::MessageParser<SlicedCodedEvents>(() => new SlicedCodedEvents());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<SlicedCodedEvents> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[6]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SlicedCodedEvents() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SlicedCodedEvents(SlicedCodedEvents other) : this() {
      slice_ = other.slice_;
      events_ = other.events_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SlicedCodedEvents Clone() {
      return new SlicedCodedEvents(this);
    }

    /// <summary>Field number for the "slice" field.</summary>
    public const int SliceFieldNumber = 1;
    private int slice_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int Slice {
      get { return slice_; }
      set {
        slice_ = value;
      }
    }

    /// <summary>Field number for the "events" field.</summary>
    public const int EventsFieldNumber = 2;
    private static readonly pb::FieldCodec<global::Unity.Muninn.Message.CodedEvent> _repeated_events_codec
        = pb::FieldCodec.ForMessage(18, global::Unity.Muninn.Message.CodedEvent.Parser);
    private readonly pbc::RepeatedField<global::Unity.Muninn.Message.CodedEvent> events_ = new pbc::RepeatedField<global::Unity.Muninn.Message.CodedEvent>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Unity.Muninn.Message.CodedEvent> Events {
      get { return events_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as SlicedCodedEvents);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SlicedCodedEvents other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Slice != other.Slice) return false;
      if(!events_.Equals(other.events_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Slice != 0) hash ^= Slice.GetHashCode();
      hash ^= events_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Slice != 0) {
        output.WriteRawTag(8);
        output.WriteSInt32(Slice);
      }
      events_.WriteTo(output, _repeated_events_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Slice != 0) {
        output.WriteRawTag(8);
        output.WriteSInt32(Slice);
      }
      events_.WriteTo(ref output, _repeated_events_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Slice != 0) {
        size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Slice);
      }
      size += events_.CalculateSize(_repeated_events_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SlicedCodedEvents other) {
      if (other == null) {
        return;
      }
      if (other.Slice != 0) {
        Slice = other.Slice;
      }
      events_.Add(other.events_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Slice = input.ReadSInt32();
            break;
          }
          case 18: {
            events_.AddEntriesFrom(input, _repeated_events_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Slice = input.ReadSInt32();
            break;
          }
          case 18: {
            events_.AddEntriesFrom(ref input, _repeated_events_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class ReceivedMessage : pb::IMessage<ReceivedMessage>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<ReceivedMessage> _parser = new pb::MessageParser<ReceivedMessage>(() => new ReceivedMessage());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<ReceivedMessage> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[7]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ReceivedMessage() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ReceivedMessage(ReceivedMessage other) : this() {
      senderId_ = other.senderId_;
      groupIds_ = other.groupIds_.Clone();
      data_ = other.data_;
      target_ = other.target_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ReceivedMessage Clone() {
      return new ReceivedMessage(this);
    }

    /// <summary>Field number for the "senderId" field.</summary>
    public const int SenderIdFieldNumber = 1;
    private uint senderId_;
    /// <summary>
    /// 发送者在房间中的编号
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint SenderId {
      get { return senderId_; }
      set {
        senderId_ = value;
      }
    }

    /// <summary>Field number for the "groupIds" field.</summary>
    public const int GroupIdsFieldNumber = 2;
    private static readonly pb::FieldCodec<uint> _repeated_groupIds_codec
        = pb::FieldCodec.ForUInt32(18);
    private readonly pbc::RepeatedField<uint> groupIds_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> GroupIds {
      get { return groupIds_; }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 3;
    private pb::ByteString data_ = pb::ByteString.Empty;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "target" field.</summary>
    public const int TargetFieldNumber = 4;
    private global::Unity.Muninn.Message.RaiseEventTarget target_ = global::Unity.Muninn.Message.RaiseEventTarget.ToAll;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RaiseEventTarget Target {
      get { return target_; }
      set {
        target_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as ReceivedMessage);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ReceivedMessage other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (SenderId != other.SenderId) return false;
      if(!groupIds_.Equals(other.groupIds_)) return false;
      if (Data != other.Data) return false;
      if (Target != other.Target) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (SenderId != 0) hash ^= SenderId.GetHashCode();
      hash ^= groupIds_.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) hash ^= Target.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      groupIds_.WriteTo(output, _repeated_groupIds_codec);
      if (Data.Length != 0) {
        output.WriteRawTag(26);
        output.WriteBytes(Data);
      }
      if (Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        output.WriteRawTag(32);
        output.WriteEnum((int) Target);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      groupIds_.WriteTo(ref output, _repeated_groupIds_codec);
      if (Data.Length != 0) {
        output.WriteRawTag(26);
        output.WriteBytes(Data);
      }
      if (Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        output.WriteRawTag(32);
        output.WriteEnum((int) Target);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (SenderId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SenderId);
      }
      size += groupIds_.CalculateSize(_repeated_groupIds_codec);
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Target);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ReceivedMessage other) {
      if (other == null) {
        return;
      }
      if (other.SenderId != 0) {
        SenderId = other.SenderId;
      }
      groupIds_.Add(other.groupIds_);
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      if (other.Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        Target = other.Target;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 18:
          case 16: {
            groupIds_.AddEntriesFrom(input, _repeated_groupIds_codec);
            break;
          }
          case 26: {
            Data = input.ReadBytes();
            break;
          }
          case 32: {
            Target = (global::Unity.Muninn.Message.RaiseEventTarget) input.ReadEnum();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 18:
          case 16: {
            groupIds_.AddEntriesFrom(ref input, _repeated_groupIds_codec);
            break;
          }
          case 26: {
            Data = input.ReadBytes();
            break;
          }
          case 32: {
            Target = (global::Unity.Muninn.Message.RaiseEventTarget) input.ReadEnum();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class SentMessage : pb::IMessage<SentMessage>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<SentMessage> _parser = new pb::MessageParser<SentMessage>(() => new SentMessage());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<SentMessage> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[8]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SentMessage() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SentMessage(SentMessage other) : this() {
      raiseEventTarget_ = other.raiseEventTarget_;
      targetGroups_ = other.targetGroups_.Clone();
      receiverIds_ = other.receiverIds_.Clone();
      data_ = other.data_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SentMessage Clone() {
      return new SentMessage(this);
    }

    /// <summary>Field number for the "raiseEventTarget" field.</summary>
    public const int RaiseEventTargetFieldNumber = 1;
    private global::Unity.Muninn.Message.RaiseEventTarget raiseEventTarget_ = global::Unity.Muninn.Message.RaiseEventTarget.ToAll;
    /// <summary>
    /// 目标类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RaiseEventTarget RaiseEventTarget {
      get { return raiseEventTarget_; }
      set {
        raiseEventTarget_ = value;
      }
    }

    /// <summary>Field number for the "targetGroups" field.</summary>
    public const int TargetGroupsFieldNumber = 2;
    private static readonly pb::FieldCodec<uint> _repeated_targetGroups_codec
        = pb::FieldCodec.ForUInt32(18);
    private readonly pbc::RepeatedField<uint> targetGroups_ = new pbc::RepeatedField<uint>();
    /// <summary>
    /// 接受组
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> TargetGroups {
      get { return targetGroups_; }
    }

    /// <summary>Field number for the "receiverIds" field.</summary>
    public const int ReceiverIdsFieldNumber = 3;
    private static readonly pb::FieldCodec<uint> _repeated_receiverIds_codec
        = pb::FieldCodec.ForUInt32(26);
    private readonly pbc::RepeatedField<uint> receiverIds_ = new pbc::RepeatedField<uint>();
    /// <summary>
    /// 接受方
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> ReceiverIds {
      get { return receiverIds_; }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 4;
    private pb::ByteString data_ = pb::ByteString.Empty;
    /// <summary>
    /// 自定义数据
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as SentMessage);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SentMessage other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (RaiseEventTarget != other.RaiseEventTarget) return false;
      if(!targetGroups_.Equals(other.targetGroups_)) return false;
      if(!receiverIds_.Equals(other.receiverIds_)) return false;
      if (Data != other.Data) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (RaiseEventTarget != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) hash ^= RaiseEventTarget.GetHashCode();
      hash ^= targetGroups_.GetHashCode();
      hash ^= receiverIds_.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (RaiseEventTarget != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        output.WriteRawTag(8);
        output.WriteEnum((int) RaiseEventTarget);
      }
      targetGroups_.WriteTo(output, _repeated_targetGroups_codec);
      receiverIds_.WriteTo(output, _repeated_receiverIds_codec);
      if (Data.Length != 0) {
        output.WriteRawTag(34);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (RaiseEventTarget != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        output.WriteRawTag(8);
        output.WriteEnum((int) RaiseEventTarget);
      }
      targetGroups_.WriteTo(ref output, _repeated_targetGroups_codec);
      receiverIds_.WriteTo(ref output, _repeated_receiverIds_codec);
      if (Data.Length != 0) {
        output.WriteRawTag(34);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (RaiseEventTarget != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RaiseEventTarget);
      }
      size += targetGroups_.CalculateSize(_repeated_targetGroups_codec);
      size += receiverIds_.CalculateSize(_repeated_receiverIds_codec);
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SentMessage other) {
      if (other == null) {
        return;
      }
      if (other.RaiseEventTarget != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        RaiseEventTarget = other.RaiseEventTarget;
      }
      targetGroups_.Add(other.targetGroups_);
      receiverIds_.Add(other.receiverIds_);
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            RaiseEventTarget = (global::Unity.Muninn.Message.RaiseEventTarget) input.ReadEnum();
            break;
          }
          case 18:
          case 16: {
            targetGroups_.AddEntriesFrom(input, _repeated_targetGroups_codec);
            break;
          }
          case 26:
          case 24: {
            receiverIds_.AddEntriesFrom(input, _repeated_receiverIds_codec);
            break;
          }
          case 34: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            RaiseEventTarget = (global::Unity.Muninn.Message.RaiseEventTarget) input.ReadEnum();
            break;
          }
          case 18:
          case 16: {
            targetGroups_.AddEntriesFrom(ref input, _repeated_targetGroups_codec);
            break;
          }
          case 26:
          case 24: {
            receiverIds_.AddEntriesFrom(ref input, _repeated_receiverIds_codec);
            break;
          }
          case 34: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class JoinRoomRequest : pb::IMessage<JoinRoomRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<JoinRoomRequest> _parser = new pb::MessageParser<JoinRoomRequest>(() => new JoinRoomRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<JoinRoomRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[9]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public JoinRoomRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public JoinRoomRequest(JoinRoomRequest other) : this() {
      roomId_ = other.roomId_;
      uniqueId_ = other.uniqueId_;
      name_ = other.name_;
      properties_ = other.properties_.Clone();
      uosAppId_ = other.uosAppId_;
      joinCode_ = other.joinCode_;
      debug_ = other.debug_;
      gameType_ = other.gameType_;
      sdkVersion_ = other.sdkVersion_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public JoinRoomRequest Clone() {
      return new JoinRoomRequest(this);
    }

    /// <summary>Field number for the "roomId" field.</summary>
    public const int RoomIdFieldNumber = 1;
    private string roomId_ = "";
    /// <summary>
    /// 房间的id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string RoomId {
      get { return roomId_; }
      set {
        roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "uniqueId" field.</summary>
    public const int UniqueIdFieldNumber = 2;
    private string uniqueId_ = "";
    /// <summary>
    /// 玩家的id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string UniqueId {
      get { return uniqueId_; }
      set {
        uniqueId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "name" field.</summary>
    public const int NameFieldNumber = 3;
    private string name_ = "";
    /// <summary>
    /// 名字
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Name {
      get { return name_; }
      set {
        name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "properties" field.</summary>
    public const int PropertiesFieldNumber = 4;
    private static readonly pbc::MapField<string, string>.Codec _map_properties_codec
        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 34);
    private readonly pbc::MapField<string, string> properties_ = new pbc::MapField<string, string>();
    /// <summary>
    /// 玩家的属性
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<string, string> Properties {
      get { return properties_; }
    }

    /// <summary>Field number for the "uosAppId" field.</summary>
    public const int UosAppIdFieldNumber = 5;
    private string uosAppId_ = "";
    /// <summary>
    /// 需要额外的匹配
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string UosAppId {
      get { return uosAppId_; }
      set {
        uosAppId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "joinCode" field.</summary>
    public const int JoinCodeFieldNumber = 6;
    private string joinCode_ = "";
    /// <summary>
    /// 如果是private room，则需要joinCode验证
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string JoinCode {
      get { return joinCode_; }
      set {
        joinCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "debug" field.</summary>
    public const int DebugFieldNumber = 7;
    private bool debug_;
    /// <summary>
    /// 默认为false, 若为true，则会关闭服务端的心跳超时检测
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Debug {
      get { return debug_; }
      set {
        debug_ = value;
      }
    }

    /// <summary>Field number for the "gameType" field.</summary>
    public const int GameTypeFieldNumber = 8;
    private global::Unity.Muninn.Message.GameType gameType_ = global::Unity.Muninn.Message.GameType.Realtime;
    /// <summary>
    /// 游戏类型，方便统计和额外的特定开启
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.GameType GameType {
      get { return gameType_; }
      set {
        gameType_ = value;
      }
    }

    /// <summary>Field number for the "sdkVersion" field.</summary>
    public const int SdkVersionFieldNumber = 9;
    private string sdkVersion_ = "";
    /// <summary>
    /// 记录客户端的版本
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string SdkVersion {
      get { return sdkVersion_; }
      set {
        sdkVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as JoinRoomRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(JoinRoomRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (RoomId != other.RoomId) return false;
      if (UniqueId != other.UniqueId) return false;
      if (Name != other.Name) return false;
      if (!Properties.Equals(other.Properties)) return false;
      if (UosAppId != other.UosAppId) return false;
      if (JoinCode != other.JoinCode) return false;
      if (Debug != other.Debug) return false;
      if (GameType != other.GameType) return false;
      if (SdkVersion != other.SdkVersion) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
      if (UniqueId.Length != 0) hash ^= UniqueId.GetHashCode();
      if (Name.Length != 0) hash ^= Name.GetHashCode();
      hash ^= Properties.GetHashCode();
      if (UosAppId.Length != 0) hash ^= UosAppId.GetHashCode();
      if (JoinCode.Length != 0) hash ^= JoinCode.GetHashCode();
      if (Debug != false) hash ^= Debug.GetHashCode();
      if (GameType != global::Unity.Muninn.Message.GameType.Realtime) hash ^= GameType.GetHashCode();
      if (SdkVersion.Length != 0) hash ^= SdkVersion.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (RoomId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(RoomId);
      }
      if (UniqueId.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(UniqueId);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(Name);
      }
      properties_.WriteTo(output, _map_properties_codec);
      if (UosAppId.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(UosAppId);
      }
      if (JoinCode.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(JoinCode);
      }
      if (Debug != false) {
        output.WriteRawTag(56);
        output.WriteBool(Debug);
      }
      if (GameType != global::Unity.Muninn.Message.GameType.Realtime) {
        output.WriteRawTag(64);
        output.WriteEnum((int) GameType);
      }
      if (SdkVersion.Length != 0) {
        output.WriteRawTag(74);
        output.WriteString(SdkVersion);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (RoomId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(RoomId);
      }
      if (UniqueId.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(UniqueId);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(Name);
      }
      properties_.WriteTo(ref output, _map_properties_codec);
      if (UosAppId.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(UosAppId);
      }
      if (JoinCode.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(JoinCode);
      }
      if (Debug != false) {
        output.WriteRawTag(56);
        output.WriteBool(Debug);
      }
      if (GameType != global::Unity.Muninn.Message.GameType.Realtime) {
        output.WriteRawTag(64);
        output.WriteEnum((int) GameType);
      }
      if (SdkVersion.Length != 0) {
        output.WriteRawTag(74);
        output.WriteString(SdkVersion);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (RoomId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
      }
      if (UniqueId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(UniqueId);
      }
      if (Name.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
      }
      size += properties_.CalculateSize(_map_properties_codec);
      if (UosAppId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(UosAppId);
      }
      if (JoinCode.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(JoinCode);
      }
      if (Debug != false) {
        size += 1 + 1;
      }
      if (GameType != global::Unity.Muninn.Message.GameType.Realtime) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GameType);
      }
      if (SdkVersion.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(SdkVersion);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(JoinRoomRequest other) {
      if (other == null) {
        return;
      }
      if (other.RoomId.Length != 0) {
        RoomId = other.RoomId;
      }
      if (other.UniqueId.Length != 0) {
        UniqueId = other.UniqueId;
      }
      if (other.Name.Length != 0) {
        Name = other.Name;
      }
      properties_.Add(other.properties_);
      if (other.UosAppId.Length != 0) {
        UosAppId = other.UosAppId;
      }
      if (other.JoinCode.Length != 0) {
        JoinCode = other.JoinCode;
      }
      if (other.Debug != false) {
        Debug = other.Debug;
      }
      if (other.GameType != global::Unity.Muninn.Message.GameType.Realtime) {
        GameType = other.GameType;
      }
      if (other.SdkVersion.Length != 0) {
        SdkVersion = other.SdkVersion;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            RoomId = input.ReadString();
            break;
          }
          case 18: {
            UniqueId = input.ReadString();
            break;
          }
          case 26: {
            Name = input.ReadString();
            break;
          }
          case 34: {
            properties_.AddEntriesFrom(input, _map_properties_codec);
            break;
          }
          case 42: {
            UosAppId = input.ReadString();
            break;
          }
          case 50: {
            JoinCode = input.ReadString();
            break;
          }
          case 56: {
            Debug = input.ReadBool();
            break;
          }
          case 64: {
            GameType = (global::Unity.Muninn.Message.GameType) input.ReadEnum();
            break;
          }
          case 74: {
            SdkVersion = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            RoomId = input.ReadString();
            break;
          }
          case 18: {
            UniqueId = input.ReadString();
            break;
          }
          case 26: {
            Name = input.ReadString();
            break;
          }
          case 34: {
            properties_.AddEntriesFrom(ref input, _map_properties_codec);
            break;
          }
          case 42: {
            UosAppId = input.ReadString();
            break;
          }
          case 50: {
            JoinCode = input.ReadString();
            break;
          }
          case 56: {
            Debug = input.ReadBool();
            break;
          }
          case 64: {
            GameType = (global::Unity.Muninn.Message.GameType) input.ReadEnum();
            break;
          }
          case 74: {
            SdkVersion = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 本人账号，加入房间成功
  /// </summary>
  public sealed partial class JoinRoomResponse : pb::IMessage<JoinRoomResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<JoinRoomResponse> _parser = new pb::MessageParser<JoinRoomResponse>(() => new JoinRoomResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<JoinRoomResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[10]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public JoinRoomResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public JoinRoomResponse(JoinRoomResponse other) : this() {
      code_ = other.code_;
      id_ = other.id_;
      room_ = other.room_ != null ? other.room_.Clone() : null;
      players_ = other.players_.Clone();
      masterClientId_ = other.masterClientId_;
      cachedEvents_ = other.cachedEvents_.Clone();
      tombstone_ = other.tombstone_ != null ? other.tombstone_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public JoinRoomResponse Clone() {
      return new JoinRoomResponse(this);
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 1;
    private uint code_;
    /// <summary>
    /// 是否加入成功, code = 0
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "id" field.</summary>
    public const int IdFieldNumber = 2;
    private uint id_;
    /// <summary>
    /// 加入成功后，赋予给用户的id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Id {
      get { return id_; }
      set {
        id_ = value;
      }
    }

    /// <summary>Field number for the "room" field.</summary>
    public const int RoomFieldNumber = 3;
    private global::Unity.Muninn.Message.MuninnRoom room_;
    /// <summary>
    /// 房间属性
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.MuninnRoom Room {
      get { return room_; }
      set {
        room_ = value;
      }
    }

    /// <summary>Field number for the "players" field.</summary>
    public const int PlayersFieldNumber = 4;
    private static readonly pb::FieldCodec<global::Unity.Muninn.Message.MuninnPlayer> _repeated_players_codec
        = pb::FieldCodec.ForMessage(34, global::Unity.Muninn.Message.MuninnPlayer.Parser);
    private readonly pbc::RepeatedField<global::Unity.Muninn.Message.MuninnPlayer> players_ = new pbc::RepeatedField<global::Unity.Muninn.Message.MuninnPlayer>();
    /// <summary>
    /// 房间内玩家列表（包括本人）
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Unity.Muninn.Message.MuninnPlayer> Players {
      get { return players_; }
    }

    /// <summary>Field number for the "masterClientId" field.</summary>
    public const int MasterClientIdFieldNumber = 5;
    private uint masterClientId_;
    /// <summary>
    /// 附带的masterClientId
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint MasterClientId {
      get { return masterClientId_; }
      set {
        masterClientId_ = value;
      }
    }

    /// <summary>Field number for the "cachedEvents" field.</summary>
    public const int CachedEventsFieldNumber = 6;
    private static readonly pb::FieldCodec<global::Unity.Muninn.Message.MuninnCachedEvent> _repeated_cachedEvents_codec
        = pb::FieldCodec.ForMessage(50, global::Unity.Muninn.Message.MuninnCachedEvent.Parser);
    private readonly pbc::RepeatedField<global::Unity.Muninn.Message.MuninnCachedEvent> cachedEvents_ = new pbc::RepeatedField<global::Unity.Muninn.Message.MuninnCachedEvent>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Unity.Muninn.Message.MuninnCachedEvent> CachedEvents {
      get { return cachedEvents_; }
    }

    /// <summary>Field number for the "tombstone" field.</summary>
    public const int TombstoneFieldNumber = 7;
    private global::Unity.Muninn.Message.Tombstone tombstone_;
    /// <summary>
    /// 历史上的信息(groups, sticky events)
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.Tombstone Tombstone {
      get { return tombstone_; }
      set {
        tombstone_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as JoinRoomResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(JoinRoomResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Code != other.Code) return false;
      if (Id != other.Id) return false;
      if (!object.Equals(Room, other.Room)) return false;
      if(!players_.Equals(other.players_)) return false;
      if (MasterClientId != other.MasterClientId) return false;
      if(!cachedEvents_.Equals(other.cachedEvents_)) return false;
      if (!object.Equals(Tombstone, other.Tombstone)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Id != 0) hash ^= Id.GetHashCode();
      if (room_ != null) hash ^= Room.GetHashCode();
      hash ^= players_.GetHashCode();
      if (MasterClientId != 0) hash ^= MasterClientId.GetHashCode();
      hash ^= cachedEvents_.GetHashCode();
      if (tombstone_ != null) hash ^= Tombstone.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Id != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Id);
      }
      if (room_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(Room);
      }
      players_.WriteTo(output, _repeated_players_codec);
      if (MasterClientId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(MasterClientId);
      }
      cachedEvents_.WriteTo(output, _repeated_cachedEvents_codec);
      if (tombstone_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(Tombstone);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Id != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Id);
      }
      if (room_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(Room);
      }
      players_.WriteTo(ref output, _repeated_players_codec);
      if (MasterClientId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(MasterClientId);
      }
      cachedEvents_.WriteTo(ref output, _repeated_cachedEvents_codec);
      if (tombstone_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(Tombstone);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Id != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
      }
      if (room_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Room);
      }
      size += players_.CalculateSize(_repeated_players_codec);
      if (MasterClientId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MasterClientId);
      }
      size += cachedEvents_.CalculateSize(_repeated_cachedEvents_codec);
      if (tombstone_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Tombstone);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(JoinRoomResponse other) {
      if (other == null) {
        return;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Id != 0) {
        Id = other.Id;
      }
      if (other.room_ != null) {
        if (room_ == null) {
          Room = new global::Unity.Muninn.Message.MuninnRoom();
        }
        Room.MergeFrom(other.Room);
      }
      players_.Add(other.players_);
      if (other.MasterClientId != 0) {
        MasterClientId = other.MasterClientId;
      }
      cachedEvents_.Add(other.cachedEvents_);
      if (other.tombstone_ != null) {
        if (tombstone_ == null) {
          Tombstone = new global::Unity.Muninn.Message.Tombstone();
        }
        Tombstone.MergeFrom(other.Tombstone);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 16: {
            Id = input.ReadUInt32();
            break;
          }
          case 26: {
            if (room_ == null) {
              Room = new global::Unity.Muninn.Message.MuninnRoom();
            }
            input.ReadMessage(Room);
            break;
          }
          case 34: {
            players_.AddEntriesFrom(input, _repeated_players_codec);
            break;
          }
          case 40: {
            MasterClientId = input.ReadUInt32();
            break;
          }
          case 50: {
            cachedEvents_.AddEntriesFrom(input, _repeated_cachedEvents_codec);
            break;
          }
          case 58: {
            if (tombstone_ == null) {
              Tombstone = new global::Unity.Muninn.Message.Tombstone();
            }
            input.ReadMessage(Tombstone);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 16: {
            Id = input.ReadUInt32();
            break;
          }
          case 26: {
            if (room_ == null) {
              Room = new global::Unity.Muninn.Message.MuninnRoom();
            }
            input.ReadMessage(Room);
            break;
          }
          case 34: {
            players_.AddEntriesFrom(ref input, _repeated_players_codec);
            break;
          }
          case 40: {
            MasterClientId = input.ReadUInt32();
            break;
          }
          case 50: {
            cachedEvents_.AddEntriesFrom(ref input, _repeated_cachedEvents_codec);
            break;
          }
          case 58: {
            if (tombstone_ == null) {
              Tombstone = new global::Unity.Muninn.Message.Tombstone();
            }
            input.ReadMessage(Tombstone);
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 有新用户(非本人)，加入房间
  /// </summary>
  public sealed partial class PlayerEnteredRoomEvent : pb::IMessage<PlayerEnteredRoomEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<PlayerEnteredRoomEvent> _parser = new pb::MessageParser<PlayerEnteredRoomEvent>(() => new PlayerEnteredRoomEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<PlayerEnteredRoomEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[11]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerEnteredRoomEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerEnteredRoomEvent(PlayerEnteredRoomEvent other) : this() {
      player_ = other.player_ != null ? other.player_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerEnteredRoomEvent Clone() {
      return new PlayerEnteredRoomEvent(this);
    }

    /// <summary>Field number for the "player" field.</summary>
    public const int PlayerFieldNumber = 1;
    private global::Unity.Muninn.Message.MuninnPlayer player_;
    /// <summary>
    /// 进入房间的玩家信息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.MuninnPlayer Player {
      get { return player_; }
      set {
        player_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as PlayerEnteredRoomEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(PlayerEnteredRoomEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(Player, other.Player)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (player_ != null) hash ^= Player.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (player_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Player);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (player_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Player);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (player_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Player);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(PlayerEnteredRoomEvent other) {
      if (other == null) {
        return;
      }
      if (other.player_ != null) {
        if (player_ == null) {
          Player = new global::Unity.Muninn.Message.MuninnPlayer();
        }
        Player.MergeFrom(other.Player);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (player_ == null) {
              Player = new global::Unity.Muninn.Message.MuninnPlayer();
            }
            input.ReadMessage(Player);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            if (player_ == null) {
              Player = new global::Unity.Muninn.Message.MuninnPlayer();
            }
            input.ReadMessage(Player);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class LeaveRoomRequest : pb::IMessage<LeaveRoomRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<LeaveRoomRequest> _parser = new pb::MessageParser<LeaveRoomRequest>(() => new LeaveRoomRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<LeaveRoomRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[12]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public LeaveRoomRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public LeaveRoomRequest(LeaveRoomRequest other) : this() {
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public LeaveRoomRequest Clone() {
      return new LeaveRoomRequest(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as LeaveRoomRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(LeaveRoomRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(LeaveRoomRequest other) {
      if (other == null) {
        return;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
        }
      }
    }
    #endif

  }

  public sealed partial class LeaveRoomResponse : pb::IMessage<LeaveRoomResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<LeaveRoomResponse> _parser = new pb::MessageParser<LeaveRoomResponse>(() => new LeaveRoomResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<LeaveRoomResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[13]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public LeaveRoomResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public LeaveRoomResponse(LeaveRoomResponse other) : this() {
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public LeaveRoomResponse Clone() {
      return new LeaveRoomResponse(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as LeaveRoomResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(LeaveRoomResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(LeaveRoomResponse other) {
      if (other == null) {
        return;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 有用户(非本人)，离开房间
  /// </summary>
  public sealed partial class PlayerLeftRoomEvent : pb::IMessage<PlayerLeftRoomEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<PlayerLeftRoomEvent> _parser = new pb::MessageParser<PlayerLeftRoomEvent>(() => new PlayerLeftRoomEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<PlayerLeftRoomEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[14]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerLeftRoomEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerLeftRoomEvent(PlayerLeftRoomEvent other) : this() {
      player_ = other.player_ != null ? other.player_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerLeftRoomEvent Clone() {
      return new PlayerLeftRoomEvent(this);
    }

    /// <summary>Field number for the "player" field.</summary>
    public const int PlayerFieldNumber = 1;
    private global::Unity.Muninn.Message.MuninnPlayer player_;
    /// <summary>
    /// 离开房间的玩家信息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.MuninnPlayer Player {
      get { return player_; }
      set {
        player_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as PlayerLeftRoomEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(PlayerLeftRoomEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(Player, other.Player)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (player_ != null) hash ^= Player.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (player_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Player);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (player_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Player);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (player_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Player);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(PlayerLeftRoomEvent other) {
      if (other == null) {
        return;
      }
      if (other.player_ != null) {
        if (player_ == null) {
          Player = new global::Unity.Muninn.Message.MuninnPlayer();
        }
        Player.MergeFrom(other.Player);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (player_ == null) {
              Player = new global::Unity.Muninn.Message.MuninnPlayer();
            }
            input.ReadMessage(Player);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            if (player_ == null) {
              Player = new global::Unity.Muninn.Message.MuninnPlayer();
            }
            input.ReadMessage(Player);
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 属于指令交互
  /// </summary>
  public sealed partial class SubscribeGroupsRequest : pb::IMessage<SubscribeGroupsRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<SubscribeGroupsRequest> _parser = new pb::MessageParser<SubscribeGroupsRequest>(() => new SubscribeGroupsRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<SubscribeGroupsRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[15]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SubscribeGroupsRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SubscribeGroupsRequest(SubscribeGroupsRequest other) : this() {
      groupIds_ = other.groupIds_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SubscribeGroupsRequest Clone() {
      return new SubscribeGroupsRequest(this);
    }

    /// <summary>Field number for the "groupIds" field.</summary>
    public const int GroupIdsFieldNumber = 1;
    private static readonly pb::FieldCodec<uint> _repeated_groupIds_codec
        = pb::FieldCodec.ForUInt32(10);
    private readonly pbc::RepeatedField<uint> groupIds_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> GroupIds {
      get { return groupIds_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as SubscribeGroupsRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SubscribeGroupsRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!groupIds_.Equals(other.groupIds_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      hash ^= groupIds_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      groupIds_.WriteTo(output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      groupIds_.WriteTo(ref output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      size += groupIds_.CalculateSize(_repeated_groupIds_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SubscribeGroupsRequest other) {
      if (other == null) {
        return;
      }
      groupIds_.Add(other.groupIds_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10:
          case 8: {
            groupIds_.AddEntriesFrom(input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10:
          case 8: {
            groupIds_.AddEntriesFrom(ref input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class SubscribeGroupsResponse : pb::IMessage<SubscribeGroupsResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<SubscribeGroupsResponse> _parser = new pb::MessageParser<SubscribeGroupsResponse>(() => new SubscribeGroupsResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<SubscribeGroupsResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[16]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SubscribeGroupsResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SubscribeGroupsResponse(SubscribeGroupsResponse other) : this() {
      code_ = other.code_;
      groupIds_ = other.groupIds_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SubscribeGroupsResponse Clone() {
      return new SubscribeGroupsResponse(this);
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 1;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "groupIds" field.</summary>
    public const int GroupIdsFieldNumber = 2;
    private static readonly pb::FieldCodec<uint> _repeated_groupIds_codec
        = pb::FieldCodec.ForUInt32(18);
    private readonly pbc::RepeatedField<uint> groupIds_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> GroupIds {
      get { return groupIds_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as SubscribeGroupsResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SubscribeGroupsResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Code != other.Code) return false;
      if(!groupIds_.Equals(other.groupIds_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Code != 0) hash ^= Code.GetHashCode();
      hash ^= groupIds_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      groupIds_.WriteTo(output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      groupIds_.WriteTo(ref output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      size += groupIds_.CalculateSize(_repeated_groupIds_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SubscribeGroupsResponse other) {
      if (other == null) {
        return;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      groupIds_.Add(other.groupIds_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18:
          case 16: {
            groupIds_.AddEntriesFrom(input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18:
          case 16: {
            groupIds_.AddEntriesFrom(ref input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class UnsubscribeGroupsRequest : pb::IMessage<UnsubscribeGroupsRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<UnsubscribeGroupsRequest> _parser = new pb::MessageParser<UnsubscribeGroupsRequest>(() => new UnsubscribeGroupsRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<UnsubscribeGroupsRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[17]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnsubscribeGroupsRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnsubscribeGroupsRequest(UnsubscribeGroupsRequest other) : this() {
      groupIds_ = other.groupIds_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnsubscribeGroupsRequest Clone() {
      return new UnsubscribeGroupsRequest(this);
    }

    /// <summary>Field number for the "groupIds" field.</summary>
    public const int GroupIdsFieldNumber = 1;
    private static readonly pb::FieldCodec<uint> _repeated_groupIds_codec
        = pb::FieldCodec.ForUInt32(10);
    private readonly pbc::RepeatedField<uint> groupIds_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> GroupIds {
      get { return groupIds_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as UnsubscribeGroupsRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(UnsubscribeGroupsRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!groupIds_.Equals(other.groupIds_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      hash ^= groupIds_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      groupIds_.WriteTo(output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      groupIds_.WriteTo(ref output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      size += groupIds_.CalculateSize(_repeated_groupIds_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(UnsubscribeGroupsRequest other) {
      if (other == null) {
        return;
      }
      groupIds_.Add(other.groupIds_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10:
          case 8: {
            groupIds_.AddEntriesFrom(input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10:
          case 8: {
            groupIds_.AddEntriesFrom(ref input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class UnsubscribeGroupsResponse : pb::IMessage<UnsubscribeGroupsResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<UnsubscribeGroupsResponse> _parser = new pb::MessageParser<UnsubscribeGroupsResponse>(() => new UnsubscribeGroupsResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<UnsubscribeGroupsResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[18]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnsubscribeGroupsResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnsubscribeGroupsResponse(UnsubscribeGroupsResponse other) : this() {
      code_ = other.code_;
      groupIds_ = other.groupIds_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnsubscribeGroupsResponse Clone() {
      return new UnsubscribeGroupsResponse(this);
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 1;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "groupIds" field.</summary>
    public const int GroupIdsFieldNumber = 2;
    private static readonly pb::FieldCodec<uint> _repeated_groupIds_codec
        = pb::FieldCodec.ForUInt32(18);
    private readonly pbc::RepeatedField<uint> groupIds_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> GroupIds {
      get { return groupIds_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as UnsubscribeGroupsResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(UnsubscribeGroupsResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Code != other.Code) return false;
      if(!groupIds_.Equals(other.groupIds_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Code != 0) hash ^= Code.GetHashCode();
      hash ^= groupIds_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      groupIds_.WriteTo(output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      groupIds_.WriteTo(ref output, _repeated_groupIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      size += groupIds_.CalculateSize(_repeated_groupIds_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(UnsubscribeGroupsResponse other) {
      if (other == null) {
        return;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      groupIds_.Add(other.groupIds_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18:
          case 16: {
            groupIds_.AddEntriesFrom(input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18:
          case 16: {
            groupIds_.AddEntriesFrom(ref input, _repeated_groupIds_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 因各种特殊原因，被服务端主动关闭
  ///  比如 同账号登录，先前的账号被动离开
  /// </summary>
  public sealed partial class PlayerKickedEvent : pb::IMessage<PlayerKickedEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<PlayerKickedEvent> _parser = new pb::MessageParser<PlayerKickedEvent>(() => new PlayerKickedEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<PlayerKickedEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[19]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerKickedEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerKickedEvent(PlayerKickedEvent other) : this() {
      code_ = other.code_;
      reason_ = other.reason_;
      customMessage_ = other.customMessage_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerKickedEvent Clone() {
      return new PlayerKickedEvent(this);
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 1;
    private uint code_;
    /// <summary>
    /// 离开房间的原因码
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "reason" field.</summary>
    public const int ReasonFieldNumber = 2;
    private string reason_ = "";
    /// <summary>
    /// 理由解释(对code进行解释), 有点多余
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Reason {
      get { return reason_; }
      set {
        reason_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "customMessage" field.</summary>
    public const int CustomMessageFieldNumber = 3;
    private string customMessage_ = "";
    /// <summary>
    /// 用户自定义的消息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string CustomMessage {
      get { return customMessage_; }
      set {
        customMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as PlayerKickedEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(PlayerKickedEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Code != other.Code) return false;
      if (Reason != other.Reason) return false;
      if (CustomMessage != other.CustomMessage) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Reason.Length != 0) hash ^= Reason.GetHashCode();
      if (CustomMessage.Length != 0) hash ^= CustomMessage.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Reason.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Reason);
      }
      if (CustomMessage.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(CustomMessage);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Reason.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Reason);
      }
      if (CustomMessage.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(CustomMessage);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Reason.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Reason);
      }
      if (CustomMessage.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CustomMessage);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(PlayerKickedEvent other) {
      if (other == null) {
        return;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Reason.Length != 0) {
        Reason = other.Reason;
      }
      if (other.CustomMessage.Length != 0) {
        CustomMessage = other.CustomMessage;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18: {
            Reason = input.ReadString();
            break;
          }
          case 26: {
            CustomMessage = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18: {
            Reason = input.ReadString();
            break;
          }
          case 26: {
            CustomMessage = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 添加CachedEvent
  /// </summary>
  public sealed partial class AddCachedEventRequest : pb::IMessage<AddCachedEventRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<AddCachedEventRequest> _parser = new pb::MessageParser<AddCachedEventRequest>(() => new AddCachedEventRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<AddCachedEventRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[20]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AddCachedEventRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AddCachedEventRequest(AddCachedEventRequest other) : this() {
      tag_ = other.tag_;
      data_ = other.data_;
      traceId_ = other.traceId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AddCachedEventRequest Clone() {
      return new AddCachedEventRequest(this);
    }

    /// <summary>Field number for the "tag" field.</summary>
    public const int TagFieldNumber = 1;
    private string tag_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Tag {
      get { return tag_; }
      set {
        tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 2;
    private pb::ByteString data_ = pb::ByteString.Empty;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 3;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as AddCachedEventRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(AddCachedEventRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Tag != other.Tag) return false;
      if (Data != other.Data) return false;
      if (TraceId != other.TraceId) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Tag.Length != 0) hash ^= Tag.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Tag.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(Tag);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      if (TraceId.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(TraceId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Tag.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(Tag);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      if (TraceId.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(TraceId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Tag.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(AddCachedEventRequest other) {
      if (other == null) {
        return;
      }
      if (other.Tag.Length != 0) {
        Tag = other.Tag;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            Tag = input.ReadString();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
          case 26: {
            TraceId = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            Tag = input.ReadString();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
          case 26: {
            TraceId = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class AddCachedEventResponse : pb::IMessage<AddCachedEventResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<AddCachedEventResponse> _parser = new pb::MessageParser<AddCachedEventResponse>(() => new AddCachedEventResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<AddCachedEventResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[21]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AddCachedEventResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AddCachedEventResponse(AddCachedEventResponse other) : this() {
      code_ = other.code_;
      tick_ = other.tick_;
      tag_ = other.tag_;
      data_ = other.data_;
      traceId_ = other.traceId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AddCachedEventResponse Clone() {
      return new AddCachedEventResponse(this);
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 1;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "tick" field.</summary>
    public const int TickFieldNumber = 2;
    private uint tick_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Tick {
      get { return tick_; }
      set {
        tick_ = value;
      }
    }

    /// <summary>Field number for the "tag" field.</summary>
    public const int TagFieldNumber = 3;
    private string tag_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Tag {
      get { return tag_; }
      set {
        tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 5;
    private pb::ByteString data_ = pb::ByteString.Empty;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 6;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as AddCachedEventResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(AddCachedEventResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Code != other.Code) return false;
      if (Tick != other.Tick) return false;
      if (Tag != other.Tag) return false;
      if (Data != other.Data) return false;
      if (TraceId != other.TraceId) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Tick != 0) hash ^= Tick.GetHashCode();
      if (Tag.Length != 0) hash ^= Tag.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Tick != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Tick);
      }
      if (Tag.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(Tag);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(42);
        output.WriteBytes(Data);
      }
      if (TraceId.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(TraceId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Tick != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Tick);
      }
      if (Tag.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(Tag);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(42);
        output.WriteBytes(Data);
      }
      if (TraceId.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(TraceId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Tick != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tick);
      }
      if (Tag.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(AddCachedEventResponse other) {
      if (other == null) {
        return;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Tick != 0) {
        Tick = other.Tick;
      }
      if (other.Tag.Length != 0) {
        Tag = other.Tag;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 16: {
            Tick = input.ReadUInt32();
            break;
          }
          case 26: {
            Tag = input.ReadString();
            break;
          }
          case 42: {
            Data = input.ReadBytes();
            break;
          }
          case 50: {
            TraceId = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 16: {
            Tick = input.ReadUInt32();
            break;
          }
          case 26: {
            Tag = input.ReadString();
            break;
          }
          case 42: {
            Data = input.ReadBytes();
            break;
          }
          case 50: {
            TraceId = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 添加一个Cached Event
  /// </summary>
  public sealed partial class RemoveCachedEventRequest : pb::IMessage<RemoveCachedEventRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RemoveCachedEventRequest> _parser = new pb::MessageParser<RemoveCachedEventRequest>(() => new RemoveCachedEventRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RemoveCachedEventRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[22]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveCachedEventRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveCachedEventRequest(RemoveCachedEventRequest other) : this() {
      tag_ = other.tag_;
      traceId_ = other.traceId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveCachedEventRequest Clone() {
      return new RemoveCachedEventRequest(this);
    }

    /// <summary>Field number for the "tag" field.</summary>
    public const int TagFieldNumber = 1;
    private string tag_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Tag {
      get { return tag_; }
      set {
        tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 2;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as RemoveCachedEventRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RemoveCachedEventRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Tag != other.Tag) return false;
      if (TraceId != other.TraceId) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Tag.Length != 0) hash ^= Tag.GetHashCode();
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Tag.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(Tag);
      }
      if (TraceId.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(TraceId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Tag.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(Tag);
      }
      if (TraceId.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(TraceId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Tag.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
      }
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RemoveCachedEventRequest other) {
      if (other == null) {
        return;
      }
      if (other.Tag.Length != 0) {
        Tag = other.Tag;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            Tag = input.ReadString();
            break;
          }
          case 18: {
            TraceId = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            Tag = input.ReadString();
            break;
          }
          case 18: {
            TraceId = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 根据key pattern删除Sticky events
  /// </summary>
  public sealed partial class RemoveCachedEventResponse : pb::IMessage<RemoveCachedEventResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RemoveCachedEventResponse> _parser = new pb::MessageParser<RemoveCachedEventResponse>(() => new RemoveCachedEventResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RemoveCachedEventResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[23]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveCachedEventResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveCachedEventResponse(RemoveCachedEventResponse other) : this() {
      code_ = other.code_;
      tag_ = other.tag_;
      ticks_ = other.ticks_.Clone();
      traceId_ = other.traceId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveCachedEventResponse Clone() {
      return new RemoveCachedEventResponse(this);
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 1;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "tag" field.</summary>
    public const int TagFieldNumber = 2;
    private string tag_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Tag {
      get { return tag_; }
      set {
        tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "ticks" field.</summary>
    public const int TicksFieldNumber = 3;
    private static readonly pb::FieldCodec<uint> _repeated_ticks_codec
        = pb::FieldCodec.ForUInt32(26);
    private readonly pbc::RepeatedField<uint> ticks_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> Ticks {
      get { return ticks_; }
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 4;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as RemoveCachedEventResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RemoveCachedEventResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Code != other.Code) return false;
      if (Tag != other.Tag) return false;
      if(!ticks_.Equals(other.ticks_)) return false;
      if (TraceId != other.TraceId) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Tag.Length != 0) hash ^= Tag.GetHashCode();
      hash ^= ticks_.GetHashCode();
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Tag.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Tag);
      }
      ticks_.WriteTo(output, _repeated_ticks_codec);
      if (TraceId.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(TraceId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Tag.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Tag);
      }
      ticks_.WriteTo(ref output, _repeated_ticks_codec);
      if (TraceId.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(TraceId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Tag.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
      }
      size += ticks_.CalculateSize(_repeated_ticks_codec);
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RemoveCachedEventResponse other) {
      if (other == null) {
        return;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Tag.Length != 0) {
        Tag = other.Tag;
      }
      ticks_.Add(other.ticks_);
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18: {
            Tag = input.ReadString();
            break;
          }
          case 26:
          case 24: {
            ticks_.AddEntriesFrom(input, _repeated_ticks_codec);
            break;
          }
          case 34: {
            TraceId = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18: {
            Tag = input.ReadString();
            break;
          }
          case 26:
          case 24: {
            ticks_.AddEntriesFrom(ref input, _repeated_ticks_codec);
            break;
          }
          case 34: {
            TraceId = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 添加一个Sticky Message
  /// </summary>
  public sealed partial class SetStickyEventRequest : pb::IMessage<SetStickyEventRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<SetStickyEventRequest> _parser = new pb::MessageParser<SetStickyEventRequest>(() => new SetStickyEventRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<SetStickyEventRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[24]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetStickyEventRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetStickyEventRequest(SetStickyEventRequest other) : this() {
      traceId_ = other.traceId_;
      scope_ = other.scope_;
      key_ = other.key_;
      data_ = other.data_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetStickyEventRequest Clone() {
      return new SetStickyEventRequest(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "scope" field.</summary>
    public const int ScopeFieldNumber = 2;
    private global::Unity.Muninn.Message.StickyEventScope scope_ = global::Unity.Muninn.Message.StickyEventScope.RoomScope;
    /// <summary>
    /// scope的范围
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.StickyEventScope Scope {
      get { return scope_; }
      set {
        scope_ = value;
      }
    }

    /// <summary>Field number for the "key" field.</summary>
    public const int KeyFieldNumber = 3;
    private string key_ = "";
    /// <summary>
    /// 用于匹配的
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Key {
      get { return key_; }
      set {
        key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 4;
    private pb::ByteString data_ = pb::ByteString.Empty;
    /// <summary>
    /// 数据本身
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as SetStickyEventRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SetStickyEventRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Scope != other.Scope) return false;
      if (Key != other.Key) return false;
      if (Data != other.Data) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) hash ^= Scope.GetHashCode();
      if (Key.Length != 0) hash ^= Key.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(16);
        output.WriteEnum((int) Scope);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(Key);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(34);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(16);
        output.WriteEnum((int) Scope);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(Key);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(34);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Scope);
      }
      if (Key.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SetStickyEventRequest other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        Scope = other.Scope;
      }
      if (other.Key.Length != 0) {
        Key = other.Key;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
          case 26: {
            Key = input.ReadString();
            break;
          }
          case 34: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
          case 26: {
            Key = input.ReadString();
            break;
          }
          case 34: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class SetStickyEventResponse : pb::IMessage<SetStickyEventResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<SetStickyEventResponse> _parser = new pb::MessageParser<SetStickyEventResponse>(() => new SetStickyEventResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<SetStickyEventResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[25]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetStickyEventResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetStickyEventResponse(SetStickyEventResponse other) : this() {
      traceId_ = other.traceId_;
      code_ = other.code_;
      tick_ = other.tick_;
      scope_ = other.scope_;
      key_ = other.key_;
      data_ = other.data_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetStickyEventResponse Clone() {
      return new SetStickyEventResponse(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 2;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "tick" field.</summary>
    public const int TickFieldNumber = 3;
    private uint tick_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Tick {
      get { return tick_; }
      set {
        tick_ = value;
      }
    }

    /// <summary>Field number for the "scope" field.</summary>
    public const int ScopeFieldNumber = 4;
    private global::Unity.Muninn.Message.StickyEventScope scope_ = global::Unity.Muninn.Message.StickyEventScope.RoomScope;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.StickyEventScope Scope {
      get { return scope_; }
      set {
        scope_ = value;
      }
    }

    /// <summary>Field number for the "key" field.</summary>
    public const int KeyFieldNumber = 5;
    private string key_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Key {
      get { return key_; }
      set {
        key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 6;
    private pb::ByteString data_ = pb::ByteString.Empty;
    /// <summary>
    /// 数据本身
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as SetStickyEventResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SetStickyEventResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Code != other.Code) return false;
      if (Tick != other.Tick) return false;
      if (Scope != other.Scope) return false;
      if (Key != other.Key) return false;
      if (Data != other.Data) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Tick != 0) hash ^= Tick.GetHashCode();
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) hash ^= Scope.GetHashCode();
      if (Key.Length != 0) hash ^= Key.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Tick != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Tick);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(32);
        output.WriteEnum((int) Scope);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(Key);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(50);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Tick != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Tick);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(32);
        output.WriteEnum((int) Scope);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(Key);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(50);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Tick != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tick);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Scope);
      }
      if (Key.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SetStickyEventResponse other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Tick != 0) {
        Tick = other.Tick;
      }
      if (other.Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        Scope = other.Scope;
      }
      if (other.Key.Length != 0) {
        Key = other.Key;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 24: {
            Tick = input.ReadUInt32();
            break;
          }
          case 32: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
          case 42: {
            Key = input.ReadString();
            break;
          }
          case 50: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 24: {
            Tick = input.ReadUInt32();
            break;
          }
          case 32: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
          case 42: {
            Key = input.ReadString();
            break;
          }
          case 50: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 添加一个Cached Event
  /// </summary>
  public sealed partial class RemoveStickyEventRequest : pb::IMessage<RemoveStickyEventRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RemoveStickyEventRequest> _parser = new pb::MessageParser<RemoveStickyEventRequest>(() => new RemoveStickyEventRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RemoveStickyEventRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[26]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveStickyEventRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveStickyEventRequest(RemoveStickyEventRequest other) : this() {
      traceId_ = other.traceId_;
      key_ = other.key_;
      scope_ = other.scope_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveStickyEventRequest Clone() {
      return new RemoveStickyEventRequest(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "key" field.</summary>
    public const int KeyFieldNumber = 2;
    private string key_ = "";
    /// <summary>
    /// 用于匹配的
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Key {
      get { return key_; }
      set {
        key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "scope" field.</summary>
    public const int ScopeFieldNumber = 3;
    private global::Unity.Muninn.Message.StickyEventScope scope_ = global::Unity.Muninn.Message.StickyEventScope.RoomScope;
    /// <summary>
    /// 顺序(z1)
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.StickyEventScope Scope {
      get { return scope_; }
      set {
        scope_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as RemoveStickyEventRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RemoveStickyEventRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Key != other.Key) return false;
      if (Scope != other.Scope) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Key.Length != 0) hash ^= Key.GetHashCode();
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) hash ^= Scope.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Key);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(24);
        output.WriteEnum((int) Scope);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Key);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(24);
        output.WriteEnum((int) Scope);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Key.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Scope);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RemoveStickyEventRequest other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Key.Length != 0) {
        Key = other.Key;
      }
      if (other.Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        Scope = other.Scope;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 18: {
            Key = input.ReadString();
            break;
          }
          case 24: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 18: {
            Key = input.ReadString();
            break;
          }
          case 24: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 根据key pattern删除Sticky events
  /// </summary>
  public sealed partial class RemoveStickyEventResponse : pb::IMessage<RemoveStickyEventResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RemoveStickyEventResponse> _parser = new pb::MessageParser<RemoveStickyEventResponse>(() => new RemoveStickyEventResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RemoveStickyEventResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[27]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveStickyEventResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveStickyEventResponse(RemoveStickyEventResponse other) : this() {
      traceId_ = other.traceId_;
      code_ = other.code_;
      rows_ = other.rows_;
      scope_ = other.scope_;
      key_ = other.key_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveStickyEventResponse Clone() {
      return new RemoveStickyEventResponse(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 2;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "rows" field.</summary>
    public const int RowsFieldNumber = 3;
    private uint rows_;
    /// <summary>
    /// 影响的行数
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Rows {
      get { return rows_; }
      set {
        rows_ = value;
      }
    }

    /// <summary>Field number for the "scope" field.</summary>
    public const int ScopeFieldNumber = 4;
    private global::Unity.Muninn.Message.StickyEventScope scope_ = global::Unity.Muninn.Message.StickyEventScope.RoomScope;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.StickyEventScope Scope {
      get { return scope_; }
      set {
        scope_ = value;
      }
    }

    /// <summary>Field number for the "key" field.</summary>
    public const int KeyFieldNumber = 5;
    private string key_ = "";
    /// <summary>
    /// 精确的key
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Key {
      get { return key_; }
      set {
        key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as RemoveStickyEventResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RemoveStickyEventResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Code != other.Code) return false;
      if (Rows != other.Rows) return false;
      if (Scope != other.Scope) return false;
      if (Key != other.Key) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Rows != 0) hash ^= Rows.GetHashCode();
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) hash ^= Scope.GetHashCode();
      if (Key.Length != 0) hash ^= Key.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Rows != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Rows);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(32);
        output.WriteEnum((int) Scope);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(Key);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Rows != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Rows);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(32);
        output.WriteEnum((int) Scope);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(Key);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Rows != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rows);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Scope);
      }
      if (Key.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RemoveStickyEventResponse other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Rows != 0) {
        Rows = other.Rows;
      }
      if (other.Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        Scope = other.Scope;
      }
      if (other.Key.Length != 0) {
        Key = other.Key;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 24: {
            Rows = input.ReadUInt32();
            break;
          }
          case 32: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
          case 42: {
            Key = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 24: {
            Rows = input.ReadUInt32();
            break;
          }
          case 32: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
          case 42: {
            Key = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class QueryStickyEventRequest : pb::IMessage<QueryStickyEventRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<QueryStickyEventRequest> _parser = new pb::MessageParser<QueryStickyEventRequest>(() => new QueryStickyEventRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<QueryStickyEventRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[28]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public QueryStickyEventRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public QueryStickyEventRequest(QueryStickyEventRequest other) : this() {
      traceId_ = other.traceId_;
      key_ = other.key_;
      scope_ = other.scope_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public QueryStickyEventRequest Clone() {
      return new QueryStickyEventRequest(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "key" field.</summary>
    public const int KeyFieldNumber = 2;
    private string key_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Key {
      get { return key_; }
      set {
        key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "scope" field.</summary>
    public const int ScopeFieldNumber = 3;
    private global::Unity.Muninn.Message.StickyEventScope scope_ = global::Unity.Muninn.Message.StickyEventScope.RoomScope;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.StickyEventScope Scope {
      get { return scope_; }
      set {
        scope_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as QueryStickyEventRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(QueryStickyEventRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Key != other.Key) return false;
      if (Scope != other.Scope) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Key.Length != 0) hash ^= Key.GetHashCode();
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) hash ^= Scope.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Key);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(24);
        output.WriteEnum((int) Scope);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Key.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Key);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        output.WriteRawTag(24);
        output.WriteEnum((int) Scope);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Key.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
      }
      if (Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Scope);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(QueryStickyEventRequest other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Key.Length != 0) {
        Key = other.Key;
      }
      if (other.Scope != global::Unity.Muninn.Message.StickyEventScope.RoomScope) {
        Scope = other.Scope;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 18: {
            Key = input.ReadString();
            break;
          }
          case 24: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 18: {
            Key = input.ReadString();
            break;
          }
          case 24: {
            Scope = (global::Unity.Muninn.Message.StickyEventScope) input.ReadEnum();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class QueryStickyEventResponse : pb::IMessage<QueryStickyEventResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<QueryStickyEventResponse> _parser = new pb::MessageParser<QueryStickyEventResponse>(() => new QueryStickyEventResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<QueryStickyEventResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[29]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public QueryStickyEventResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public QueryStickyEventResponse(QueryStickyEventResponse other) : this() {
      traceId_ = other.traceId_;
      code_ = other.code_;
      stickyEvent_ = other.stickyEvent_ != null ? other.stickyEvent_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public QueryStickyEventResponse Clone() {
      return new QueryStickyEventResponse(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 2;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "stickyEvent" field.</summary>
    public const int StickyEventFieldNumber = 3;
    private global::Unity.Muninn.Message.StickyMessage stickyEvent_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.StickyMessage StickyEvent {
      get { return stickyEvent_; }
      set {
        stickyEvent_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as QueryStickyEventResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(QueryStickyEventResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Code != other.Code) return false;
      if (!object.Equals(StickyEvent, other.StickyEvent)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Code != 0) hash ^= Code.GetHashCode();
      if (stickyEvent_ != null) hash ^= StickyEvent.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (stickyEvent_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(StickyEvent);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (stickyEvent_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(StickyEvent);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (stickyEvent_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(StickyEvent);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(QueryStickyEventResponse other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.stickyEvent_ != null) {
        if (stickyEvent_ == null) {
          StickyEvent = new global::Unity.Muninn.Message.StickyMessage();
        }
        StickyEvent.MergeFrom(other.StickyEvent);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            if (stickyEvent_ == null) {
              StickyEvent = new global::Unity.Muninn.Message.StickyMessage();
            }
            input.ReadMessage(StickyEvent);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            if (stickyEvent_ == null) {
              StickyEvent = new global::Unity.Muninn.Message.StickyMessage();
            }
            input.ReadMessage(StickyEvent);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class RaiseEvent : pb::IMessage<RaiseEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RaiseEvent> _parser = new pb::MessageParser<RaiseEvent>(() => new RaiseEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RaiseEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[30]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RaiseEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RaiseEvent(RaiseEvent other) : this() {
      code_ = other.code_;
      data_ = other.data_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RaiseEvent Clone() {
      return new RaiseEvent(this);
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 1;
    private int code_;
    /// <summary>
    /// 编码
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 2;
    private pb::ByteString data_ = pb::ByteString.Empty;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as RaiseEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RaiseEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Code != other.Code) return false;
      if (Data != other.Data) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(Code);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(Code);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RaiseEvent other) {
      if (other == null) {
        return;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Code = input.ReadInt32();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Code = input.ReadInt32();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 主要是支持自定义消息
  /// </summary>
  public sealed partial class RaiseEventRequest : pb::IMessage<RaiseEventRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RaiseEventRequest> _parser = new pb::MessageParser<RaiseEventRequest>(() => new RaiseEventRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RaiseEventRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[31]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RaiseEventRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RaiseEventRequest(RaiseEventRequest other) : this() {
      event_ = other.event_ != null ? other.event_.Clone() : null;
      target_ = other.target_;
      targetGroups_ = other.targetGroups_.Clone();
      receiverIds_ = other.receiverIds_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RaiseEventRequest Clone() {
      return new RaiseEventRequest(this);
    }

    /// <summary>Field number for the "event" field.</summary>
    public const int EventFieldNumber = 1;
    private global::Unity.Muninn.Message.RaiseEvent event_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RaiseEvent Event {
      get { return event_; }
      set {
        event_ = value;
      }
    }

    /// <summary>Field number for the "target" field.</summary>
    public const int TargetFieldNumber = 2;
    private global::Unity.Muninn.Message.RaiseEventTarget target_ = global::Unity.Muninn.Message.RaiseEventTarget.ToAll;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RaiseEventTarget Target {
      get { return target_; }
      set {
        target_ = value;
      }
    }

    /// <summary>Field number for the "targetGroups" field.</summary>
    public const int TargetGroupsFieldNumber = 3;
    private static readonly pb::FieldCodec<uint> _repeated_targetGroups_codec
        = pb::FieldCodec.ForUInt32(26);
    private readonly pbc::RepeatedField<uint> targetGroups_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> TargetGroups {
      get { return targetGroups_; }
    }

    /// <summary>Field number for the "receiverIds" field.</summary>
    public const int ReceiverIdsFieldNumber = 4;
    private static readonly pb::FieldCodec<uint> _repeated_receiverIds_codec
        = pb::FieldCodec.ForUInt32(34);
    private readonly pbc::RepeatedField<uint> receiverIds_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> ReceiverIds {
      get { return receiverIds_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as RaiseEventRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RaiseEventRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(Event, other.Event)) return false;
      if (Target != other.Target) return false;
      if(!targetGroups_.Equals(other.targetGroups_)) return false;
      if(!receiverIds_.Equals(other.receiverIds_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (event_ != null) hash ^= Event.GetHashCode();
      if (Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) hash ^= Target.GetHashCode();
      hash ^= targetGroups_.GetHashCode();
      hash ^= receiverIds_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (event_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Event);
      }
      if (Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        output.WriteRawTag(16);
        output.WriteEnum((int) Target);
      }
      targetGroups_.WriteTo(output, _repeated_targetGroups_codec);
      receiverIds_.WriteTo(output, _repeated_receiverIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (event_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Event);
      }
      if (Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        output.WriteRawTag(16);
        output.WriteEnum((int) Target);
      }
      targetGroups_.WriteTo(ref output, _repeated_targetGroups_codec);
      receiverIds_.WriteTo(ref output, _repeated_receiverIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (event_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Event);
      }
      if (Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Target);
      }
      size += targetGroups_.CalculateSize(_repeated_targetGroups_codec);
      size += receiverIds_.CalculateSize(_repeated_receiverIds_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RaiseEventRequest other) {
      if (other == null) {
        return;
      }
      if (other.event_ != null) {
        if (event_ == null) {
          Event = new global::Unity.Muninn.Message.RaiseEvent();
        }
        Event.MergeFrom(other.Event);
      }
      if (other.Target != global::Unity.Muninn.Message.RaiseEventTarget.ToAll) {
        Target = other.Target;
      }
      targetGroups_.Add(other.targetGroups_);
      receiverIds_.Add(other.receiverIds_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (event_ == null) {
              Event = new global::Unity.Muninn.Message.RaiseEvent();
            }
            input.ReadMessage(Event);
            break;
          }
          case 16: {
            Target = (global::Unity.Muninn.Message.RaiseEventTarget) input.ReadEnum();
            break;
          }
          case 26:
          case 24: {
            targetGroups_.AddEntriesFrom(input, _repeated_targetGroups_codec);
            break;
          }
          case 34:
          case 32: {
            receiverIds_.AddEntriesFrom(input, _repeated_receiverIds_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            if (event_ == null) {
              Event = new global::Unity.Muninn.Message.RaiseEvent();
            }
            input.ReadMessage(Event);
            break;
          }
          case 16: {
            Target = (global::Unity.Muninn.Message.RaiseEventTarget) input.ReadEnum();
            break;
          }
          case 26:
          case 24: {
            targetGroups_.AddEntriesFrom(ref input, _repeated_targetGroups_codec);
            break;
          }
          case 34:
          case 32: {
            receiverIds_.AddEntriesFrom(ref input, _repeated_receiverIds_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 房间服务层面的心跳协议, 因为网络情况的复杂性, 有必要添加
  /// 比如
  ///  tcp: 默认没有开启keepalive，死链判定时间很长
  ///  kcp: 默认没有心跳机制，需要应用层面去补充
  /// </summary>
  public sealed partial class MuninnPing : pb::IMessage<MuninnPing>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<MuninnPing> _parser = new pb::MessageParser<MuninnPing>(() => new MuninnPing());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<MuninnPing> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[32]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnPing() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnPing(MuninnPing other) : this() {
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnPing Clone() {
      return new MuninnPing(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as MuninnPing);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(MuninnPing other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(MuninnPing other) {
      if (other == null) {
        return;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
        }
      }
    }
    #endif

  }

  public sealed partial class MuninnPong : pb::IMessage<MuninnPong>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<MuninnPong> _parser = new pb::MessageParser<MuninnPong>(() => new MuninnPong());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<MuninnPong> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[33]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnPong() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnPong(MuninnPong other) : this() {
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnPong Clone() {
      return new MuninnPong(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as MuninnPong);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(MuninnPong other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(MuninnPong other) {
      if (other == null) {
        return;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
        }
      }
    }
    #endif

  }

  /// <summary>
  ///message migration
  /// </summary>
  public sealed partial class MigrateMasterClientEvent : pb::IMessage<MigrateMasterClientEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<MigrateMasterClientEvent> _parser = new pb::MessageParser<MigrateMasterClientEvent>(() => new MigrateMasterClientEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<MigrateMasterClientEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[34]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MigrateMasterClientEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MigrateMasterClientEvent(MigrateMasterClientEvent other) : this() {
      masterClientId_ = other.masterClientId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MigrateMasterClientEvent Clone() {
      return new MigrateMasterClientEvent(this);
    }

    /// <summary>Field number for the "masterClientId" field.</summary>
    public const int MasterClientIdFieldNumber = 1;
    private uint masterClientId_;
    /// <summary>
    /// 新选定的MasterClientId
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint MasterClientId {
      get { return masterClientId_; }
      set {
        masterClientId_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as MigrateMasterClientEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(MigrateMasterClientEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (MasterClientId != other.MasterClientId) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (MasterClientId != 0) hash ^= MasterClientId.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (MasterClientId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(MasterClientId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (MasterClientId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(MasterClientId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (MasterClientId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MasterClientId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(MigrateMasterClientEvent other) {
      if (other == null) {
        return;
      }
      if (other.MasterClientId != 0) {
        MasterClientId = other.MasterClientId;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            MasterClientId = input.ReadUInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            MasterClientId = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class TellRttRequest : pb::IMessage<TellRttRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<TellRttRequest> _parser = new pb::MessageParser<TellRttRequest>(() => new TellRttRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<TellRttRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[35]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttRequest(TellRttRequest other) : this() {
      senderId_ = other.senderId_;
      timestamp_ = other.timestamp_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttRequest Clone() {
      return new TellRttRequest(this);
    }

    /// <summary>Field number for the "senderId" field.</summary>
    public const int SenderIdFieldNumber = 1;
    private uint senderId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint SenderId {
      get { return senderId_; }
      set {
        senderId_ = value;
      }
    }

    /// <summary>Field number for the "timestamp" field.</summary>
    public const int TimestampFieldNumber = 2;
    private ulong timestamp_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ulong Timestamp {
      get { return timestamp_; }
      set {
        timestamp_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as TellRttRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(TellRttRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (SenderId != other.SenderId) return false;
      if (Timestamp != other.Timestamp) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (SenderId != 0) hash ^= SenderId.GetHashCode();
      if (Timestamp != 0UL) hash ^= Timestamp.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      if (Timestamp != 0UL) {
        output.WriteRawTag(16);
        output.WriteUInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      if (Timestamp != 0UL) {
        output.WriteRawTag(16);
        output.WriteUInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (SenderId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SenderId);
      }
      if (Timestamp != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Timestamp);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(TellRttRequest other) {
      if (other == null) {
        return;
      }
      if (other.SenderId != 0) {
        SenderId = other.SenderId;
      }
      if (other.Timestamp != 0UL) {
        Timestamp = other.Timestamp;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 16: {
            Timestamp = input.ReadUInt64();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 16: {
            Timestamp = input.ReadUInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class TellRttResponse : pb::IMessage<TellRttResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<TellRttResponse> _parser = new pb::MessageParser<TellRttResponse>(() => new TellRttResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<TellRttResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[36]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttResponse(TellRttResponse other) : this() {
      receiverId_ = other.receiverId_;
      timestamp_ = other.timestamp_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttResponse Clone() {
      return new TellRttResponse(this);
    }

    /// <summary>Field number for the "receiverId" field.</summary>
    public const int ReceiverIdFieldNumber = 1;
    private uint receiverId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint ReceiverId {
      get { return receiverId_; }
      set {
        receiverId_ = value;
      }
    }

    /// <summary>Field number for the "timestamp" field.</summary>
    public const int TimestampFieldNumber = 2;
    private ulong timestamp_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ulong Timestamp {
      get { return timestamp_; }
      set {
        timestamp_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as TellRttResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(TellRttResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (ReceiverId != other.ReceiverId) return false;
      if (Timestamp != other.Timestamp) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (ReceiverId != 0) hash ^= ReceiverId.GetHashCode();
      if (Timestamp != 0UL) hash ^= Timestamp.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (ReceiverId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(ReceiverId);
      }
      if (Timestamp != 0UL) {
        output.WriteRawTag(16);
        output.WriteUInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (ReceiverId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(ReceiverId);
      }
      if (Timestamp != 0UL) {
        output.WriteRawTag(16);
        output.WriteUInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (ReceiverId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReceiverId);
      }
      if (Timestamp != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Timestamp);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(TellRttResponse other) {
      if (other == null) {
        return;
      }
      if (other.ReceiverId != 0) {
        ReceiverId = other.ReceiverId;
      }
      if (other.Timestamp != 0UL) {
        Timestamp = other.Timestamp;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            ReceiverId = input.ReadUInt32();
            break;
          }
          case 16: {
            Timestamp = input.ReadUInt64();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            ReceiverId = input.ReadUInt32();
            break;
          }
          case 16: {
            Timestamp = input.ReadUInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 只有Owner房主，有权限踢人
  /// </summary>
  public sealed partial class KickPlayerRequest : pb::IMessage<KickPlayerRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<KickPlayerRequest> _parser = new pb::MessageParser<KickPlayerRequest>(() => new KickPlayerRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<KickPlayerRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[37]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public KickPlayerRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public KickPlayerRequest(KickPlayerRequest other) : this() {
      traceId_ = other.traceId_;
      playerId_ = other.playerId_;
      customMessage_ = other.customMessage_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public KickPlayerRequest Clone() {
      return new KickPlayerRequest(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "playerId" field.</summary>
    public const int PlayerIdFieldNumber = 2;
    private uint playerId_;
    /// <summary>
    /// 对标短id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint PlayerId {
      get { return playerId_; }
      set {
        playerId_ = value;
      }
    }

    /// <summary>Field number for the "customMessage" field.</summary>
    public const int CustomMessageFieldNumber = 3;
    private string customMessage_ = "";
    /// <summary>
    /// 用户自定义的消息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string CustomMessage {
      get { return customMessage_; }
      set {
        customMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as KickPlayerRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(KickPlayerRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (PlayerId != other.PlayerId) return false;
      if (CustomMessage != other.CustomMessage) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (PlayerId != 0) hash ^= PlayerId.GetHashCode();
      if (CustomMessage.Length != 0) hash ^= CustomMessage.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (PlayerId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(PlayerId);
      }
      if (CustomMessage.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(CustomMessage);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (PlayerId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(PlayerId);
      }
      if (CustomMessage.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(CustomMessage);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (PlayerId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlayerId);
      }
      if (CustomMessage.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CustomMessage);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(KickPlayerRequest other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.PlayerId != 0) {
        PlayerId = other.PlayerId;
      }
      if (other.CustomMessage.Length != 0) {
        CustomMessage = other.CustomMessage;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            PlayerId = input.ReadUInt32();
            break;
          }
          case 26: {
            CustomMessage = input.ReadString();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            PlayerId = input.ReadUInt32();
            break;
          }
          case 26: {
            CustomMessage = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class KickPlayerResponse : pb::IMessage<KickPlayerResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<KickPlayerResponse> _parser = new pb::MessageParser<KickPlayerResponse>(() => new KickPlayerResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<KickPlayerResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[38]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public KickPlayerResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public KickPlayerResponse(KickPlayerResponse other) : this() {
      traceId_ = other.traceId_;
      code_ = other.code_;
      playerId_ = other.playerId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public KickPlayerResponse Clone() {
      return new KickPlayerResponse(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 2;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "playerId" field.</summary>
    public const int PlayerIdFieldNumber = 3;
    private uint playerId_;
    /// <summary>
    /// 对标短id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint PlayerId {
      get { return playerId_; }
      set {
        playerId_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as KickPlayerResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(KickPlayerResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Code != other.Code) return false;
      if (PlayerId != other.PlayerId) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Code != 0) hash ^= Code.GetHashCode();
      if (PlayerId != 0) hash ^= PlayerId.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (PlayerId != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(PlayerId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (PlayerId != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(PlayerId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (PlayerId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlayerId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(KickPlayerResponse other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.PlayerId != 0) {
        PlayerId = other.PlayerId;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 24: {
            PlayerId = input.ReadUInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 24: {
            PlayerId = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class UpdatePlayerRequest : pb::IMessage<UpdatePlayerRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<UpdatePlayerRequest> _parser = new pb::MessageParser<UpdatePlayerRequest>(() => new UpdatePlayerRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<UpdatePlayerRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[39]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdatePlayerRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdatePlayerRequest(UpdatePlayerRequest other) : this() {
      traceId_ = other.traceId_;
      playerId_ = other.playerId_;
      uniqueId_ = other.uniqueId_;
      name_ = other.name_;
      properties_ = other.properties_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdatePlayerRequest Clone() {
      return new UpdatePlayerRequest(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    /// <summary>
    /// 为了操作匹配
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "playerId" field.</summary>
    public const int PlayerIdFieldNumber = 2;
    private uint playerId_;
    /// <summary>
    /// 对标短id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint PlayerId {
      get { return playerId_; }
      set {
        playerId_ = value;
      }
    }

    /// <summary>Field number for the "uniqueId" field.</summary>
    public const int UniqueIdFieldNumber = 3;
    private string uniqueId_ = "";
    /// <summary>
    /// 玩家的uniqueId, 这是应用方的id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string UniqueId {
      get { return uniqueId_; }
      set {
        uniqueId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "name" field.</summary>
    public const int NameFieldNumber = 4;
    private string name_ = "";
    /// <summary>
    /// 名字
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Name {
      get { return name_; }
      set {
        name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "properties" field.</summary>
    public const int PropertiesFieldNumber = 5;
    private static readonly pbc::MapField<string, string>.Codec _map_properties_codec
        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 42);
    private readonly pbc::MapField<string, string> properties_ = new pbc::MapField<string, string>();
    /// <summary>
    /// 玩家的属性
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<string, string> Properties {
      get { return properties_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as UpdatePlayerRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(UpdatePlayerRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (PlayerId != other.PlayerId) return false;
      if (UniqueId != other.UniqueId) return false;
      if (Name != other.Name) return false;
      if (!Properties.Equals(other.Properties)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (PlayerId != 0) hash ^= PlayerId.GetHashCode();
      if (UniqueId.Length != 0) hash ^= UniqueId.GetHashCode();
      if (Name.Length != 0) hash ^= Name.GetHashCode();
      hash ^= Properties.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (PlayerId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(PlayerId);
      }
      if (UniqueId.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(UniqueId);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(Name);
      }
      properties_.WriteTo(output, _map_properties_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (PlayerId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(PlayerId);
      }
      if (UniqueId.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(UniqueId);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(Name);
      }
      properties_.WriteTo(ref output, _map_properties_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (PlayerId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlayerId);
      }
      if (UniqueId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(UniqueId);
      }
      if (Name.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
      }
      size += properties_.CalculateSize(_map_properties_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(UpdatePlayerRequest other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.PlayerId != 0) {
        PlayerId = other.PlayerId;
      }
      if (other.UniqueId.Length != 0) {
        UniqueId = other.UniqueId;
      }
      if (other.Name.Length != 0) {
        Name = other.Name;
      }
      properties_.Add(other.properties_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            PlayerId = input.ReadUInt32();
            break;
          }
          case 26: {
            UniqueId = input.ReadString();
            break;
          }
          case 34: {
            Name = input.ReadString();
            break;
          }
          case 42: {
            properties_.AddEntriesFrom(input, _map_properties_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            PlayerId = input.ReadUInt32();
            break;
          }
          case 26: {
            UniqueId = input.ReadString();
            break;
          }
          case 34: {
            Name = input.ReadString();
            break;
          }
          case 42: {
            properties_.AddEntriesFrom(ref input, _map_properties_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class UpdatePlayerResponse : pb::IMessage<UpdatePlayerResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<UpdatePlayerResponse> _parser = new pb::MessageParser<UpdatePlayerResponse>(() => new UpdatePlayerResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<UpdatePlayerResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[40]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdatePlayerResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdatePlayerResponse(UpdatePlayerResponse other) : this() {
      traceId_ = other.traceId_;
      code_ = other.code_;
      player_ = other.player_ != null ? other.player_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdatePlayerResponse Clone() {
      return new UpdatePlayerResponse(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    /// <summary>
    /// 为了操作匹配
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 2;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "player" field.</summary>
    public const int PlayerFieldNumber = 3;
    private global::Unity.Muninn.Message.MuninnPlayer player_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.MuninnPlayer Player {
      get { return player_; }
      set {
        player_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as UpdatePlayerResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(UpdatePlayerResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Code != other.Code) return false;
      if (!object.Equals(Player, other.Player)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Code != 0) hash ^= Code.GetHashCode();
      if (player_ != null) hash ^= Player.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (player_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(Player);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (player_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(Player);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (player_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Player);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(UpdatePlayerResponse other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.player_ != null) {
        if (player_ == null) {
          Player = new global::Unity.Muninn.Message.MuninnPlayer();
        }
        Player.MergeFrom(other.Player);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            if (player_ == null) {
              Player = new global::Unity.Muninn.Message.MuninnPlayer();
            }
            input.ReadMessage(Player);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            if (player_ == null) {
              Player = new global::Unity.Muninn.Message.MuninnPlayer();
            }
            input.ReadMessage(Player);
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 其他客户端接受到该用户更新了状态
  /// </summary>
  public sealed partial class PlayerUpdatedEvent : pb::IMessage<PlayerUpdatedEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<PlayerUpdatedEvent> _parser = new pb::MessageParser<PlayerUpdatedEvent>(() => new PlayerUpdatedEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<PlayerUpdatedEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[41]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerUpdatedEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerUpdatedEvent(PlayerUpdatedEvent other) : this() {
      player_ = other.player_ != null ? other.player_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerUpdatedEvent Clone() {
      return new PlayerUpdatedEvent(this);
    }

    /// <summary>Field number for the "player" field.</summary>
    public const int PlayerFieldNumber = 1;
    private global::Unity.Muninn.Message.MuninnPlayer player_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.MuninnPlayer Player {
      get { return player_; }
      set {
        player_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as PlayerUpdatedEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(PlayerUpdatedEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(Player, other.Player)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (player_ != null) hash ^= Player.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (player_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Player);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (player_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Player);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (player_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Player);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(PlayerUpdatedEvent other) {
      if (other == null) {
        return;
      }
      if (other.player_ != null) {
        if (player_ == null) {
          Player = new global::Unity.Muninn.Message.MuninnPlayer();
        }
        Player.MergeFrom(other.Player);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (player_ == null) {
              Player = new global::Unity.Muninn.Message.MuninnPlayer();
            }
            input.ReadMessage(Player);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            if (player_ == null) {
              Player = new global::Unity.Muninn.Message.MuninnPlayer();
            }
            input.ReadMessage(Player);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class UpdateRoomCustomPropertiesRequest : pb::IMessage<UpdateRoomCustomPropertiesRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<UpdateRoomCustomPropertiesRequest> _parser = new pb::MessageParser<UpdateRoomCustomPropertiesRequest>(() => new UpdateRoomCustomPropertiesRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<UpdateRoomCustomPropertiesRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[42]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdateRoomCustomPropertiesRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdateRoomCustomPropertiesRequest(UpdateRoomCustomPropertiesRequest other) : this() {
      traceId_ = other.traceId_;
      properties_ = other.properties_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdateRoomCustomPropertiesRequest Clone() {
      return new UpdateRoomCustomPropertiesRequest(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    /// <summary>
    /// 为了操作匹配
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "properties" field.</summary>
    public const int PropertiesFieldNumber = 2;
    private static readonly pbc::MapField<string, string>.Codec _map_properties_codec
        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 18);
    private readonly pbc::MapField<string, string> properties_ = new pbc::MapField<string, string>();
    /// <summary>
    /// 房间属性
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<string, string> Properties {
      get { return properties_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as UpdateRoomCustomPropertiesRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(UpdateRoomCustomPropertiesRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (!Properties.Equals(other.Properties)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      hash ^= Properties.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      properties_.WriteTo(output, _map_properties_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      properties_.WriteTo(ref output, _map_properties_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      size += properties_.CalculateSize(_map_properties_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(UpdateRoomCustomPropertiesRequest other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      properties_.Add(other.properties_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 18: {
            properties_.AddEntriesFrom(input, _map_properties_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 18: {
            properties_.AddEntriesFrom(ref input, _map_properties_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class UpdateRoomCustomPropertiesResponse : pb::IMessage<UpdateRoomCustomPropertiesResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<UpdateRoomCustomPropertiesResponse> _parser = new pb::MessageParser<UpdateRoomCustomPropertiesResponse>(() => new UpdateRoomCustomPropertiesResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<UpdateRoomCustomPropertiesResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[43]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdateRoomCustomPropertiesResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdateRoomCustomPropertiesResponse(UpdateRoomCustomPropertiesResponse other) : this() {
      traceId_ = other.traceId_;
      code_ = other.code_;
      properties_ = other.properties_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UpdateRoomCustomPropertiesResponse Clone() {
      return new UpdateRoomCustomPropertiesResponse(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    /// <summary>
    /// 为了操作匹配
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 2;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "properties" field.</summary>
    public const int PropertiesFieldNumber = 3;
    private static readonly pbc::MapField<string, string>.Codec _map_properties_codec
        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 26);
    private readonly pbc::MapField<string, string> properties_ = new pbc::MapField<string, string>();
    /// <summary>
    /// 房间属性
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<string, string> Properties {
      get { return properties_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as UpdateRoomCustomPropertiesResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(UpdateRoomCustomPropertiesResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Code != other.Code) return false;
      if (!Properties.Equals(other.Properties)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Code != 0) hash ^= Code.GetHashCode();
      hash ^= Properties.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      properties_.WriteTo(output, _map_properties_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      properties_.WriteTo(ref output, _map_properties_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      size += properties_.CalculateSize(_map_properties_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(UpdateRoomCustomPropertiesResponse other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      properties_.Add(other.properties_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            properties_.AddEntriesFrom(input, _map_properties_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            properties_.AddEntriesFrom(ref input, _map_properties_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class RoomCustomPropertiesUpdatedEvent : pb::IMessage<RoomCustomPropertiesUpdatedEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RoomCustomPropertiesUpdatedEvent> _parser = new pb::MessageParser<RoomCustomPropertiesUpdatedEvent>(() => new RoomCustomPropertiesUpdatedEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RoomCustomPropertiesUpdatedEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[44]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RoomCustomPropertiesUpdatedEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RoomCustomPropertiesUpdatedEvent(RoomCustomPropertiesUpdatedEvent other) : this() {
      properties_ = other.properties_.Clone();
      senderId_ = other.senderId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RoomCustomPropertiesUpdatedEvent Clone() {
      return new RoomCustomPropertiesUpdatedEvent(this);
    }

    /// <summary>Field number for the "properties" field.</summary>
    public const int PropertiesFieldNumber = 1;
    private static readonly pbc::MapField<string, string>.Codec _map_properties_codec
        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 10);
    private readonly pbc::MapField<string, string> properties_ = new pbc::MapField<string, string>();
    /// <summary>
    /// 房间的新属性
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<string, string> Properties {
      get { return properties_; }
    }

    /// <summary>Field number for the "senderId" field.</summary>
    public const int SenderIdFieldNumber = 2;
    private uint senderId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint SenderId {
      get { return senderId_; }
      set {
        senderId_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as RoomCustomPropertiesUpdatedEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RoomCustomPropertiesUpdatedEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!Properties.Equals(other.Properties)) return false;
      if (SenderId != other.SenderId) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      hash ^= Properties.GetHashCode();
      if (SenderId != 0) hash ^= SenderId.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      properties_.WriteTo(output, _map_properties_codec);
      if (SenderId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(SenderId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      properties_.WriteTo(ref output, _map_properties_codec);
      if (SenderId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(SenderId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      size += properties_.CalculateSize(_map_properties_codec);
      if (SenderId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SenderId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RoomCustomPropertiesUpdatedEvent other) {
      if (other == null) {
        return;
      }
      properties_.Add(other.properties_);
      if (other.SenderId != 0) {
        SenderId = other.SenderId;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            properties_.AddEntriesFrom(input, _map_properties_codec);
            break;
          }
          case 16: {
            SenderId = input.ReadUInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            properties_.AddEntriesFrom(ref input, _map_properties_codec);
            break;
          }
          case 16: {
            SenderId = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 添加对relay server rtt的查询
  /// </summary>
  public sealed partial class TellRttOnlyServerRequest : pb::IMessage<TellRttOnlyServerRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<TellRttOnlyServerRequest> _parser = new pb::MessageParser<TellRttOnlyServerRequest>(() => new TellRttOnlyServerRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<TellRttOnlyServerRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[45]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttOnlyServerRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttOnlyServerRequest(TellRttOnlyServerRequest other) : this() {
      timestamp_ = other.timestamp_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttOnlyServerRequest Clone() {
      return new TellRttOnlyServerRequest(this);
    }

    /// <summary>Field number for the "timestamp" field.</summary>
    public const int TimestampFieldNumber = 1;
    private ulong timestamp_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ulong Timestamp {
      get { return timestamp_; }
      set {
        timestamp_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as TellRttOnlyServerRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(TellRttOnlyServerRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Timestamp != other.Timestamp) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Timestamp != 0UL) hash ^= Timestamp.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Timestamp != 0UL) {
        output.WriteRawTag(8);
        output.WriteUInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Timestamp != 0UL) {
        output.WriteRawTag(8);
        output.WriteUInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Timestamp != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Timestamp);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(TellRttOnlyServerRequest other) {
      if (other == null) {
        return;
      }
      if (other.Timestamp != 0UL) {
        Timestamp = other.Timestamp;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Timestamp = input.ReadUInt64();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Timestamp = input.ReadUInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class TellRttOnlyServerResponse : pb::IMessage<TellRttOnlyServerResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<TellRttOnlyServerResponse> _parser = new pb::MessageParser<TellRttOnlyServerResponse>(() => new TellRttOnlyServerResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<TellRttOnlyServerResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[46]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttOnlyServerResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttOnlyServerResponse(TellRttOnlyServerResponse other) : this() {
      timestamp_ = other.timestamp_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TellRttOnlyServerResponse Clone() {
      return new TellRttOnlyServerResponse(this);
    }

    /// <summary>Field number for the "timestamp" field.</summary>
    public const int TimestampFieldNumber = 1;
    private ulong timestamp_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ulong Timestamp {
      get { return timestamp_; }
      set {
        timestamp_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as TellRttOnlyServerResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(TellRttOnlyServerResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Timestamp != other.Timestamp) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Timestamp != 0UL) hash ^= Timestamp.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Timestamp != 0UL) {
        output.WriteRawTag(8);
        output.WriteUInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Timestamp != 0UL) {
        output.WriteRawTag(8);
        output.WriteUInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Timestamp != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Timestamp);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(TellRttOnlyServerResponse other) {
      if (other == null) {
        return;
      }
      if (other.Timestamp != 0UL) {
        Timestamp = other.Timestamp;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Timestamp = input.ReadUInt64();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Timestamp = input.ReadUInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// 新增，用于支持unreliable的管道发送
  /// </summary>
  public sealed partial class UnreliableReceivedMessage : pb::IMessage<UnreliableReceivedMessage>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<UnreliableReceivedMessage> _parser = new pb::MessageParser<UnreliableReceivedMessage>(() => new UnreliableReceivedMessage());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<UnreliableReceivedMessage> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[47]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnreliableReceivedMessage() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnreliableReceivedMessage(UnreliableReceivedMessage other) : this() {
      senderId_ = other.senderId_;
      data_ = other.data_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnreliableReceivedMessage Clone() {
      return new UnreliableReceivedMessage(this);
    }

    /// <summary>Field number for the "senderId" field.</summary>
    public const int SenderIdFieldNumber = 1;
    private uint senderId_;
    /// <summary>
    /// 发送者在房间中的编号, 如果未设置，或者0，就是给master
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint SenderId {
      get { return senderId_; }
      set {
        senderId_ = value;
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 2;
    private pb::ByteString data_ = pb::ByteString.Empty;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as UnreliableReceivedMessage);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(UnreliableReceivedMessage other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (SenderId != other.SenderId) return false;
      if (Data != other.Data) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (SenderId != 0) hash ^= SenderId.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (SenderId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SenderId);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(UnreliableReceivedMessage other) {
      if (other == null) {
        return;
      }
      if (other.SenderId != 0) {
        SenderId = other.SenderId;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class UnreliableSentMessage : pb::IMessage<UnreliableSentMessage>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<UnreliableSentMessage> _parser = new pb::MessageParser<UnreliableSentMessage>(() => new UnreliableSentMessage());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<UnreliableSentMessage> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[48]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnreliableSentMessage() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnreliableSentMessage(UnreliableSentMessage other) : this() {
      receiverId_ = other.receiverId_;
      data_ = other.data_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public UnreliableSentMessage Clone() {
      return new UnreliableSentMessage(this);
    }

    /// <summary>Field number for the "receiverId" field.</summary>
    public const int ReceiverIdFieldNumber = 1;
    private uint receiverId_;
    /// <summary>
    /// 接受方
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint ReceiverId {
      get { return receiverId_; }
      set {
        receiverId_ = value;
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 2;
    private pb::ByteString data_ = pb::ByteString.Empty;
    /// <summary>
    /// 自定义数据
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as UnreliableSentMessage);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(UnreliableSentMessage other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (ReceiverId != other.ReceiverId) return false;
      if (Data != other.Data) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (ReceiverId != 0) hash ^= ReceiverId.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (ReceiverId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(ReceiverId);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (ReceiverId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(ReceiverId);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (ReceiverId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReceiverId);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(UnreliableSentMessage other) {
      if (other == null) {
        return;
      }
      if (other.ReceiverId != 0) {
        ReceiverId = other.ReceiverId;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            ReceiverId = input.ReadUInt32();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            ReceiverId = input.ReadUInt32();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class SetHeartbeatRequest : pb::IMessage<SetHeartbeatRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<SetHeartbeatRequest> _parser = new pb::MessageParser<SetHeartbeatRequest>(() => new SetHeartbeatRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<SetHeartbeatRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[49]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetHeartbeatRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetHeartbeatRequest(SetHeartbeatRequest other) : this() {
      traceId_ = other.traceId_;
      timeout_ = other.timeout_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetHeartbeatRequest Clone() {
      return new SetHeartbeatRequest(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    /// <summary>
    /// 为了操作匹配
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "timeout" field.</summary>
    public const int TimeoutFieldNumber = 2;
    private uint timeout_;
    /// <summary>
    /// 心跳超时设定
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Timeout {
      get { return timeout_; }
      set {
        timeout_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as SetHeartbeatRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SetHeartbeatRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Timeout != other.Timeout) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Timeout != 0) hash ^= Timeout.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Timeout != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Timeout);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Timeout != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Timeout);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Timeout != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Timeout);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SetHeartbeatRequest other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Timeout != 0) {
        Timeout = other.Timeout;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Timeout = input.ReadUInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Timeout = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class SetHeartbeatResponse : pb::IMessage<SetHeartbeatResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<SetHeartbeatResponse> _parser = new pb::MessageParser<SetHeartbeatResponse>(() => new SetHeartbeatResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<SetHeartbeatResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[50]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetHeartbeatResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetHeartbeatResponse(SetHeartbeatResponse other) : this() {
      traceId_ = other.traceId_;
      code_ = other.code_;
      timeout_ = other.timeout_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetHeartbeatResponse Clone() {
      return new SetHeartbeatResponse(this);
    }

    /// <summary>Field number for the "traceId" field.</summary>
    public const int TraceIdFieldNumber = 1;
    private string traceId_ = "";
    /// <summary>
    /// 为了操作匹配
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string TraceId {
      get { return traceId_; }
      set {
        traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 2;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "timeout" field.</summary>
    public const int TimeoutFieldNumber = 3;
    private uint timeout_;
    /// <summary>
    /// 心跳超时设定
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Timeout {
      get { return timeout_; }
      set {
        timeout_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as SetHeartbeatResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SetHeartbeatResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraceId != other.TraceId) return false;
      if (Code != other.Code) return false;
      if (Timeout != other.Timeout) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Timeout != 0) hash ^= Timeout.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Timeout != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Timeout);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (TraceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(TraceId);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Timeout != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Timeout);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (TraceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
      }
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Timeout != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Timeout);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SetHeartbeatResponse other) {
      if (other == null) {
        return;
      }
      if (other.TraceId.Length != 0) {
        TraceId = other.TraceId;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Timeout != 0) {
        Timeout = other.Timeout;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 24: {
            Timeout = input.ReadUInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            TraceId = input.ReadString();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 24: {
            Timeout = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class FetchTimestampRequest : pb::IMessage<FetchTimestampRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<FetchTimestampRequest> _parser = new pb::MessageParser<FetchTimestampRequest>(() => new FetchTimestampRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<FetchTimestampRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[51]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public FetchTimestampRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public FetchTimestampRequest(FetchTimestampRequest other) : this() {
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public FetchTimestampRequest Clone() {
      return new FetchTimestampRequest(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as FetchTimestampRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(FetchTimestampRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(FetchTimestampRequest other) {
      if (other == null) {
        return;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
        }
      }
    }
    #endif

  }

  public sealed partial class FetchTimestampResponse : pb::IMessage<FetchTimestampResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<FetchTimestampResponse> _parser = new pb::MessageParser<FetchTimestampResponse>(() => new FetchTimestampResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<FetchTimestampResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[52]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public FetchTimestampResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public FetchTimestampResponse(FetchTimestampResponse other) : this() {
      timestamp_ = other.timestamp_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public FetchTimestampResponse Clone() {
      return new FetchTimestampResponse(this);
    }

    /// <summary>Field number for the "timestamp" field.</summary>
    public const int TimestampFieldNumber = 1;
    private long timestamp_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public long Timestamp {
      get { return timestamp_; }
      set {
        timestamp_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as FetchTimestampResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(FetchTimestampResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Timestamp != other.Timestamp) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Timestamp != 0L) hash ^= Timestamp.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Timestamp != 0L) {
        output.WriteRawTag(8);
        output.WriteSInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Timestamp != 0L) {
        output.WriteRawTag(8);
        output.WriteSInt64(Timestamp);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Timestamp != 0L) {
        size += 1 + pb::CodedOutputStream.ComputeSInt64Size(Timestamp);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(FetchTimestampResponse other) {
      if (other == null) {
        return;
      }
      if (other.Timestamp != 0L) {
        Timestamp = other.Timestamp;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Timestamp = input.ReadSInt64();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Timestamp = input.ReadSInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class GetSlicedCacheRequest : pb::IMessage<GetSlicedCacheRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<GetSlicedCacheRequest> _parser = new pb::MessageParser<GetSlicedCacheRequest>(() => new GetSlicedCacheRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<GetSlicedCacheRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[53]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetSlicedCacheRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetSlicedCacheRequest(GetSlicedCacheRequest other) : this() {
      start_ = other.start_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetSlicedCacheRequest Clone() {
      return new GetSlicedCacheRequest(this);
    }

    /// <summary>Field number for the "start" field.</summary>
    public const int StartFieldNumber = 1;
    private int start_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int Start {
      get { return start_; }
      set {
        start_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as GetSlicedCacheRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GetSlicedCacheRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Start != other.Start) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Start != 0) hash ^= Start.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Start != 0) {
        output.WriteRawTag(8);
        output.WriteSInt32(Start);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Start != 0) {
        output.WriteRawTag(8);
        output.WriteSInt32(Start);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Start != 0) {
        size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Start);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GetSlicedCacheRequest other) {
      if (other == null) {
        return;
      }
      if (other.Start != 0) {
        Start = other.Start;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Start = input.ReadSInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Start = input.ReadSInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class GetSlicedCacheResponse : pb::IMessage<GetSlicedCacheResponse>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<GetSlicedCacheResponse> _parser = new pb::MessageParser<GetSlicedCacheResponse>(() => new GetSlicedCacheResponse());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<GetSlicedCacheResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[54]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetSlicedCacheResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetSlicedCacheResponse(GetSlicedCacheResponse other) : this() {
      events_ = other.events_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetSlicedCacheResponse Clone() {
      return new GetSlicedCacheResponse(this);
    }

    /// <summary>Field number for the "events" field.</summary>
    public const int EventsFieldNumber = 1;
    private static readonly pb::FieldCodec<global::Unity.Muninn.Message.SlicedCodedEvents> _repeated_events_codec
        = pb::FieldCodec.ForMessage(10, global::Unity.Muninn.Message.SlicedCodedEvents.Parser);
    private readonly pbc::RepeatedField<global::Unity.Muninn.Message.SlicedCodedEvents> events_ = new pbc::RepeatedField<global::Unity.Muninn.Message.SlicedCodedEvents>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Unity.Muninn.Message.SlicedCodedEvents> Events {
      get { return events_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as GetSlicedCacheResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GetSlicedCacheResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!events_.Equals(other.events_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      hash ^= events_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      events_.WriteTo(output, _repeated_events_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      events_.WriteTo(ref output, _repeated_events_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      size += events_.CalculateSize(_repeated_events_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GetSlicedCacheResponse other) {
      if (other == null) {
        return;
      }
      events_.Add(other.events_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            events_.AddEntriesFrom(input, _repeated_events_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            events_.AddEntriesFrom(ref input, _repeated_events_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class OperateSliceRequest : pb::IMessage<OperateSliceRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<OperateSliceRequest> _parser = new pb::MessageParser<OperateSliceRequest>(() => new OperateSliceRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<OperateSliceRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[55]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public OperateSliceRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public OperateSliceRequest(OperateSliceRequest other) : this() {
      operation_ = other.operation_;
      slice_ = other.slice_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public OperateSliceRequest Clone() {
      return new OperateSliceRequest(this);
    }

    /// <summary>Field number for the "operation" field.</summary>
    public const int OperationFieldNumber = 1;
    private global::Unity.Muninn.Message.SliceOperation operation_ = global::Unity.Muninn.Message.SliceOperation.SliceIncreaseIndex;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.SliceOperation Operation {
      get { return operation_; }
      set {
        operation_ = value;
      }
    }

    /// <summary>Field number for the "slice" field.</summary>
    public const int SliceFieldNumber = 2;
    private int slice_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int Slice {
      get { return slice_; }
      set {
        slice_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as OperateSliceRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(OperateSliceRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Operation != other.Operation) return false;
      if (Slice != other.Slice) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Operation != global::Unity.Muninn.Message.SliceOperation.SliceIncreaseIndex) hash ^= Operation.GetHashCode();
      if (Slice != 0) hash ^= Slice.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Operation != global::Unity.Muninn.Message.SliceOperation.SliceIncreaseIndex) {
        output.WriteRawTag(8);
        output.WriteEnum((int) Operation);
      }
      if (Slice != 0) {
        output.WriteRawTag(16);
        output.WriteSInt32(Slice);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Operation != global::Unity.Muninn.Message.SliceOperation.SliceIncreaseIndex) {
        output.WriteRawTag(8);
        output.WriteEnum((int) Operation);
      }
      if (Slice != 0) {
        output.WriteRawTag(16);
        output.WriteSInt32(Slice);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Operation != global::Unity.Muninn.Message.SliceOperation.SliceIncreaseIndex) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Operation);
      }
      if (Slice != 0) {
        size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Slice);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(OperateSliceRequest other) {
      if (other == null) {
        return;
      }
      if (other.Operation != global::Unity.Muninn.Message.SliceOperation.SliceIncreaseIndex) {
        Operation = other.Operation;
      }
      if (other.Slice != 0) {
        Slice = other.Slice;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Operation = (global::Unity.Muninn.Message.SliceOperation) input.ReadEnum();
            break;
          }
          case 16: {
            Slice = input.ReadSInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Operation = (global::Unity.Muninn.Message.SliceOperation) input.ReadEnum();
            break;
          }
          case 16: {
            Slice = input.ReadSInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class AddCodedCacheRequest : pb::IMessage<AddCodedCacheRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<AddCodedCacheRequest> _parser = new pb::MessageParser<AddCodedCacheRequest>(() => new AddCodedCacheRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<AddCodedCacheRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[56]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AddCodedCacheRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AddCodedCacheRequest(AddCodedCacheRequest other) : this() {
      global_ = other.global_;
      code_ = other.code_;
      data_ = other.data_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AddCodedCacheRequest Clone() {
      return new AddCodedCacheRequest(this);
    }

    /// <summary>Field number for the "global" field.</summary>
    public const int GlobalFieldNumber = 1;
    private bool global_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Global {
      get { return global_; }
      set {
        global_ = value;
      }
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 2;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 3;
    private pb::ByteString data_ = pb::ByteString.Empty;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as AddCodedCacheRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(AddCodedCacheRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Global != other.Global) return false;
      if (Code != other.Code) return false;
      if (Data != other.Data) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Global != false) hash ^= Global.GetHashCode();
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Global != false) {
        output.WriteRawTag(8);
        output.WriteBool(Global);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(26);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Global != false) {
        output.WriteRawTag(8);
        output.WriteBool(Global);
      }
      if (Code != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Code);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(26);
        output.WriteBytes(Data);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Global != false) {
        size += 1 + 1;
      }
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(AddCodedCacheRequest other) {
      if (other == null) {
        return;
      }
      if (other.Global != false) {
        Global = other.Global;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Global = input.ReadBool();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Global = input.ReadBool();
            break;
          }
          case 16: {
            Code = input.ReadUInt32();
            break;
          }
          case 26: {
            Data = input.ReadBytes();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class RemoveCodedCacheRequest : pb::IMessage<RemoveCodedCacheRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RemoveCodedCacheRequest> _parser = new pb::MessageParser<RemoveCodedCacheRequest>(() => new RemoveCodedCacheRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RemoveCodedCacheRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[57]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveCodedCacheRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveCodedCacheRequest(RemoveCodedCacheRequest other) : this() {
      code_ = other.code_;
      data_ = other.data_;
      playerIds_ = other.playerIds_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RemoveCodedCacheRequest Clone() {
      return new RemoveCodedCacheRequest(this);
    }

    /// <summary>Field number for the "code" field.</summary>
    public const int CodeFieldNumber = 1;
    private uint code_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Code {
      get { return code_; }
      set {
        code_ = value;
      }
    }

    /// <summary>Field number for the "data" field.</summary>
    public const int DataFieldNumber = 2;
    private pb::ByteString data_ = pb::ByteString.Empty;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString Data {
      get { return data_; }
      set {
        data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "playerIds" field.</summary>
    public const int PlayerIdsFieldNumber = 3;
    private static readonly pb::FieldCodec<uint> _repeated_playerIds_codec
        = pb::FieldCodec.ForUInt32(26);
    private readonly pbc::RepeatedField<uint> playerIds_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> PlayerIds {
      get { return playerIds_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as RemoveCodedCacheRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RemoveCodedCacheRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Code != other.Code) return false;
      if (Data != other.Data) return false;
      if(!playerIds_.Equals(other.playerIds_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Code != 0) hash ^= Code.GetHashCode();
      if (Data.Length != 0) hash ^= Data.GetHashCode();
      hash ^= playerIds_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      playerIds_.WriteTo(output, _repeated_playerIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Code != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Code);
      }
      if (Data.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(Data);
      }
      playerIds_.WriteTo(ref output, _repeated_playerIds_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Code != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code);
      }
      if (Data.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
      }
      size += playerIds_.CalculateSize(_repeated_playerIds_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RemoveCodedCacheRequest other) {
      if (other == null) {
        return;
      }
      if (other.Code != 0) {
        Code = other.Code;
      }
      if (other.Data.Length != 0) {
        Data = other.Data;
      }
      playerIds_.Add(other.playerIds_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
          case 26:
          case 24: {
            playerIds_.AddEntriesFrom(input, _repeated_playerIds_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Code = input.ReadUInt32();
            break;
          }
          case 18: {
            Data = input.ReadBytes();
            break;
          }
          case 26:
          case 24: {
            playerIds_.AddEntriesFrom(ref input, _repeated_playerIds_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class ClearInvalidCodedCacheRequest : pb::IMessage<ClearInvalidCodedCacheRequest>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<ClearInvalidCodedCacheRequest> _parser = new pb::MessageParser<ClearInvalidCodedCacheRequest>(() => new ClearInvalidCodedCacheRequest());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<ClearInvalidCodedCacheRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[58]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ClearInvalidCodedCacheRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ClearInvalidCodedCacheRequest(ClearInvalidCodedCacheRequest other) : this() {
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ClearInvalidCodedCacheRequest Clone() {
      return new ClearInvalidCodedCacheRequest(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as ClearInvalidCodedCacheRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ClearInvalidCodedCacheRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ClearInvalidCodedCacheRequest other) {
      if (other == null) {
        return;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
        }
      }
    }
    #endif

  }

  public sealed partial class CacheSliceChangedEvent : pb::IMessage<CacheSliceChangedEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<CacheSliceChangedEvent> _parser = new pb::MessageParser<CacheSliceChangedEvent>(() => new CacheSliceChangedEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<CacheSliceChangedEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[59]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public CacheSliceChangedEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public CacheSliceChangedEvent(CacheSliceChangedEvent other) : this() {
      senderId_ = other.senderId_;
      slice_ = other.slice_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public CacheSliceChangedEvent Clone() {
      return new CacheSliceChangedEvent(this);
    }

    /// <summary>Field number for the "senderId" field.</summary>
    public const int SenderIdFieldNumber = 1;
    private uint senderId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint SenderId {
      get { return senderId_; }
      set {
        senderId_ = value;
      }
    }

    /// <summary>Field number for the "slice" field.</summary>
    public const int SliceFieldNumber = 2;
    private int slice_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int Slice {
      get { return slice_; }
      set {
        slice_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as CacheSliceChangedEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(CacheSliceChangedEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (SenderId != other.SenderId) return false;
      if (Slice != other.Slice) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (SenderId != 0) hash ^= SenderId.GetHashCode();
      if (Slice != 0) hash ^= Slice.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      if (Slice != 0) {
        output.WriteRawTag(16);
        output.WriteSInt32(Slice);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (SenderId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(SenderId);
      }
      if (Slice != 0) {
        output.WriteRawTag(16);
        output.WriteSInt32(Slice);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (SenderId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SenderId);
      }
      if (Slice != 0) {
        size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Slice);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(CacheSliceChangedEvent other) {
      if (other == null) {
        return;
      }
      if (other.SenderId != 0) {
        SenderId = other.SenderId;
      }
      if (other.Slice != 0) {
        Slice = other.Slice;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 16: {
            Slice = input.ReadSInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            SenderId = input.ReadUInt32();
            break;
          }
          case 16: {
            Slice = input.ReadSInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  public sealed partial class MuninnEvent : pb::IMessage<MuninnEvent>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<MuninnEvent> _parser = new pb::MessageParser<MuninnEvent>(() => new MuninnEvent());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<MuninnEvent> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Unity.Muninn.Message.MsgReflection.Descriptor.MessageTypes[60]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnEvent() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnEvent(MuninnEvent other) : this() {
      switch (other.ContentCase) {
        case ContentOneofCase.SentMessage:
          SentMessage = other.SentMessage.Clone();
          break;
        case ContentOneofCase.ReceivedMessage:
          ReceivedMessage = other.ReceivedMessage.Clone();
          break;
        case ContentOneofCase.JoinRoomRequest:
          JoinRoomRequest = other.JoinRoomRequest.Clone();
          break;
        case ContentOneofCase.JoinRoomResponse:
          JoinRoomResponse = other.JoinRoomResponse.Clone();
          break;
        case ContentOneofCase.PlayerEnteredRoomEvent:
          PlayerEnteredRoomEvent = other.PlayerEnteredRoomEvent.Clone();
          break;
        case ContentOneofCase.LeaveRoomRequest:
          LeaveRoomRequest = other.LeaveRoomRequest.Clone();
          break;
        case ContentOneofCase.LeaveRoomResponse:
          LeaveRoomResponse = other.LeaveRoomResponse.Clone();
          break;
        case ContentOneofCase.PlayerLeftRoomEvent:
          PlayerLeftRoomEvent = other.PlayerLeftRoomEvent.Clone();
          break;
        case ContentOneofCase.SubscribeGroupsRequest:
          SubscribeGroupsRequest = other.SubscribeGroupsRequest.Clone();
          break;
        case ContentOneofCase.SubscribeGroupsResponse:
          SubscribeGroupsResponse = other.SubscribeGroupsResponse.Clone();
          break;
        case ContentOneofCase.UnsubscribeGroupsRequest:
          UnsubscribeGroupsRequest = other.UnsubscribeGroupsRequest.Clone();
          break;
        case ContentOneofCase.UnsubscribeGroupsResponse:
          UnsubscribeGroupsResponse = other.UnsubscribeGroupsResponse.Clone();
          break;
        case ContentOneofCase.AddCachedEventRequest:
          AddCachedEventRequest = other.AddCachedEventRequest.Clone();
          break;
        case ContentOneofCase.AddCachedEventResponse:
          AddCachedEventResponse = other.AddCachedEventResponse.Clone();
          break;
        case ContentOneofCase.RemoveCachedEventRequest:
          RemoveCachedEventRequest = other.RemoveCachedEventRequest.Clone();
          break;
        case ContentOneofCase.RemoveCachedEventResponse:
          RemoveCachedEventResponse = other.RemoveCachedEventResponse.Clone();
          break;
        case ContentOneofCase.SetStickyEventRequest:
          SetStickyEventRequest = other.SetStickyEventRequest.Clone();
          break;
        case ContentOneofCase.SetStickyEventResponse:
          SetStickyEventResponse = other.SetStickyEventResponse.Clone();
          break;
        case ContentOneofCase.RemoveStickyEventRequest:
          RemoveStickyEventRequest = other.RemoveStickyEventRequest.Clone();
          break;
        case ContentOneofCase.RemoveStickyEventResponse:
          RemoveStickyEventResponse = other.RemoveStickyEventResponse.Clone();
          break;
        case ContentOneofCase.PlayerKickedEvent:
          PlayerKickedEvent = other.PlayerKickedEvent.Clone();
          break;
        case ContentOneofCase.Ping:
          Ping = other.Ping.Clone();
          break;
        case ContentOneofCase.Pong:
          Pong = other.Pong.Clone();
          break;
        case ContentOneofCase.MigrateMasterClientEvent:
          MigrateMasterClientEvent = other.MigrateMasterClientEvent.Clone();
          break;
        case ContentOneofCase.TellRttRequest:
          TellRttRequest = other.TellRttRequest.Clone();
          break;
        case ContentOneofCase.TellRttResponse:
          TellRttResponse = other.TellRttResponse.Clone();
          break;
        case ContentOneofCase.QueryStickyEventRequest:
          QueryStickyEventRequest = other.QueryStickyEventRequest.Clone();
          break;
        case ContentOneofCase.QueryStickyEventResponse:
          QueryStickyEventResponse = other.QueryStickyEventResponse.Clone();
          break;
        case ContentOneofCase.KickPlayerRequest:
          KickPlayerRequest = other.KickPlayerRequest.Clone();
          break;
        case ContentOneofCase.KickPlayerResponse:
          KickPlayerResponse = other.KickPlayerResponse.Clone();
          break;
        case ContentOneofCase.UpdatePlayerRequest:
          UpdatePlayerRequest = other.UpdatePlayerRequest.Clone();
          break;
        case ContentOneofCase.UpdatePlayerResponse:
          UpdatePlayerResponse = other.UpdatePlayerResponse.Clone();
          break;
        case ContentOneofCase.PlayerUpdatedEvent:
          PlayerUpdatedEvent = other.PlayerUpdatedEvent.Clone();
          break;
        case ContentOneofCase.UpdateRoomCustomPropertiesRequest:
          UpdateRoomCustomPropertiesRequest = other.UpdateRoomCustomPropertiesRequest.Clone();
          break;
        case ContentOneofCase.UpdateRoomCustomPropertiesResponse:
          UpdateRoomCustomPropertiesResponse = other.UpdateRoomCustomPropertiesResponse.Clone();
          break;
        case ContentOneofCase.RoomCustomPropertiesUpdatedEvent:
          RoomCustomPropertiesUpdatedEvent = other.RoomCustomPropertiesUpdatedEvent.Clone();
          break;
        case ContentOneofCase.TellRttOnlyServerRequest:
          TellRttOnlyServerRequest = other.TellRttOnlyServerRequest.Clone();
          break;
        case ContentOneofCase.TellRttOnlyServerResponse:
          TellRttOnlyServerResponse = other.TellRttOnlyServerResponse.Clone();
          break;
        case ContentOneofCase.UnreliableReceivedMessage:
          UnreliableReceivedMessage = other.UnreliableReceivedMessage.Clone();
          break;
        case ContentOneofCase.UnreliableSentMessage:
          UnreliableSentMessage = other.UnreliableSentMessage.Clone();
          break;
        case ContentOneofCase.SetHeartbeatRequest:
          SetHeartbeatRequest = other.SetHeartbeatRequest.Clone();
          break;
        case ContentOneofCase.SetHeartbeatResponse:
          SetHeartbeatResponse = other.SetHeartbeatResponse.Clone();
          break;
        case ContentOneofCase.FetchTimestampRequest:
          FetchTimestampRequest = other.FetchTimestampRequest.Clone();
          break;
        case ContentOneofCase.FetchTimestampResponse:
          FetchTimestampResponse = other.FetchTimestampResponse.Clone();
          break;
        case ContentOneofCase.GetSlicedCacheRequest:
          GetSlicedCacheRequest = other.GetSlicedCacheRequest.Clone();
          break;
        case ContentOneofCase.GetSlicedCacheResponse:
          GetSlicedCacheResponse = other.GetSlicedCacheResponse.Clone();
          break;
        case ContentOneofCase.OperateSliceRequest:
          OperateSliceRequest = other.OperateSliceRequest.Clone();
          break;
        case ContentOneofCase.AddCodedCacheRequest:
          AddCodedCacheRequest = other.AddCodedCacheRequest.Clone();
          break;
        case ContentOneofCase.RemoveCodedCacheRequest:
          RemoveCodedCacheRequest = other.RemoveCodedCacheRequest.Clone();
          break;
        case ContentOneofCase.ClearInvalidCodedCacheRequest:
          ClearInvalidCodedCacheRequest = other.ClearInvalidCodedCacheRequest.Clone();
          break;
        case ContentOneofCase.CacheSliceChangedEvent:
          CacheSliceChangedEvent = other.CacheSliceChangedEvent.Clone();
          break;
      }

      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MuninnEvent Clone() {
      return new MuninnEvent(this);
    }

    /// <summary>Field number for the "sentMessage" field.</summary>
    public const int SentMessageFieldNumber = 2;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.SentMessage SentMessage {
      get { return contentCase_ == ContentOneofCase.SentMessage ? (global::Unity.Muninn.Message.SentMessage) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.SentMessage;
      }
    }

    /// <summary>Field number for the "receivedMessage" field.</summary>
    public const int ReceivedMessageFieldNumber = 3;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.ReceivedMessage ReceivedMessage {
      get { return contentCase_ == ContentOneofCase.ReceivedMessage ? (global::Unity.Muninn.Message.ReceivedMessage) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.ReceivedMessage;
      }
    }

    /// <summary>Field number for the "joinRoomRequest" field.</summary>
    public const int JoinRoomRequestFieldNumber = 4;
    /// <summary>
    /// 用户加入房间/离开房间相关的
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.JoinRoomRequest JoinRoomRequest {
      get { return contentCase_ == ContentOneofCase.JoinRoomRequest ? (global::Unity.Muninn.Message.JoinRoomRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.JoinRoomRequest;
      }
    }

    /// <summary>Field number for the "joinRoomResponse" field.</summary>
    public const int JoinRoomResponseFieldNumber = 5;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.JoinRoomResponse JoinRoomResponse {
      get { return contentCase_ == ContentOneofCase.JoinRoomResponse ? (global::Unity.Muninn.Message.JoinRoomResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.JoinRoomResponse;
      }
    }

    /// <summary>Field number for the "playerEnteredRoomEvent" field.</summary>
    public const int PlayerEnteredRoomEventFieldNumber = 6;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.PlayerEnteredRoomEvent PlayerEnteredRoomEvent {
      get { return contentCase_ == ContentOneofCase.PlayerEnteredRoomEvent ? (global::Unity.Muninn.Message.PlayerEnteredRoomEvent) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.PlayerEnteredRoomEvent;
      }
    }

    /// <summary>Field number for the "leaveRoomRequest" field.</summary>
    public const int LeaveRoomRequestFieldNumber = 7;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.LeaveRoomRequest LeaveRoomRequest {
      get { return contentCase_ == ContentOneofCase.LeaveRoomRequest ? (global::Unity.Muninn.Message.LeaveRoomRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.LeaveRoomRequest;
      }
    }

    /// <summary>Field number for the "leaveRoomResponse" field.</summary>
    public const int LeaveRoomResponseFieldNumber = 8;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.LeaveRoomResponse LeaveRoomResponse {
      get { return contentCase_ == ContentOneofCase.LeaveRoomResponse ? (global::Unity.Muninn.Message.LeaveRoomResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.LeaveRoomResponse;
      }
    }

    /// <summary>Field number for the "playerLeftRoomEvent" field.</summary>
    public const int PlayerLeftRoomEventFieldNumber = 9;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.PlayerLeftRoomEvent PlayerLeftRoomEvent {
      get { return contentCase_ == ContentOneofCase.PlayerLeftRoomEvent ? (global::Unity.Muninn.Message.PlayerLeftRoomEvent) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.PlayerLeftRoomEvent;
      }
    }

    /// <summary>Field number for the "subscribeGroupsRequest" field.</summary>
    public const int SubscribeGroupsRequestFieldNumber = 10;
    /// <summary>
    /// 订阅组相关
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.SubscribeGroupsRequest SubscribeGroupsRequest {
      get { return contentCase_ == ContentOneofCase.SubscribeGroupsRequest ? (global::Unity.Muninn.Message.SubscribeGroupsRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.SubscribeGroupsRequest;
      }
    }

    /// <summary>Field number for the "subscribeGroupsResponse" field.</summary>
    public const int SubscribeGroupsResponseFieldNumber = 11;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.SubscribeGroupsResponse SubscribeGroupsResponse {
      get { return contentCase_ == ContentOneofCase.SubscribeGroupsResponse ? (global::Unity.Muninn.Message.SubscribeGroupsResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.SubscribeGroupsResponse;
      }
    }

    /// <summary>Field number for the "unsubscribeGroupsRequest" field.</summary>
    public const int UnsubscribeGroupsRequestFieldNumber = 12;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.UnsubscribeGroupsRequest UnsubscribeGroupsRequest {
      get { return contentCase_ == ContentOneofCase.UnsubscribeGroupsRequest ? (global::Unity.Muninn.Message.UnsubscribeGroupsRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UnsubscribeGroupsRequest;
      }
    }

    /// <summary>Field number for the "unsubscribeGroupsResponse" field.</summary>
    public const int UnsubscribeGroupsResponseFieldNumber = 13;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.UnsubscribeGroupsResponse UnsubscribeGroupsResponse {
      get { return contentCase_ == ContentOneofCase.UnsubscribeGroupsResponse ? (global::Unity.Muninn.Message.UnsubscribeGroupsResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UnsubscribeGroupsResponse;
      }
    }

    /// <summary>Field number for the "addCachedEventRequest" field.</summary>
    public const int AddCachedEventRequestFieldNumber = 14;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.AddCachedEventRequest AddCachedEventRequest {
      get { return contentCase_ == ContentOneofCase.AddCachedEventRequest ? (global::Unity.Muninn.Message.AddCachedEventRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.AddCachedEventRequest;
      }
    }

    /// <summary>Field number for the "addCachedEventResponse" field.</summary>
    public const int AddCachedEventResponseFieldNumber = 15;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.AddCachedEventResponse AddCachedEventResponse {
      get { return contentCase_ == ContentOneofCase.AddCachedEventResponse ? (global::Unity.Muninn.Message.AddCachedEventResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.AddCachedEventResponse;
      }
    }

    /// <summary>Field number for the "removeCachedEventRequest" field.</summary>
    public const int RemoveCachedEventRequestFieldNumber = 16;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RemoveCachedEventRequest RemoveCachedEventRequest {
      get { return contentCase_ == ContentOneofCase.RemoveCachedEventRequest ? (global::Unity.Muninn.Message.RemoveCachedEventRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.RemoveCachedEventRequest;
      }
    }

    /// <summary>Field number for the "removeCachedEventResponse" field.</summary>
    public const int RemoveCachedEventResponseFieldNumber = 17;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RemoveCachedEventResponse RemoveCachedEventResponse {
      get { return contentCase_ == ContentOneofCase.RemoveCachedEventResponse ? (global::Unity.Muninn.Message.RemoveCachedEventResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.RemoveCachedEventResponse;
      }
    }

    /// <summary>Field number for the "setStickyEventRequest" field.</summary>
    public const int SetStickyEventRequestFieldNumber = 18;
    /// <summary>
    /// 处理Sticky Event相关
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.SetStickyEventRequest SetStickyEventRequest {
      get { return contentCase_ == ContentOneofCase.SetStickyEventRequest ? (global::Unity.Muninn.Message.SetStickyEventRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.SetStickyEventRequest;
      }
    }

    /// <summary>Field number for the "setStickyEventResponse" field.</summary>
    public const int SetStickyEventResponseFieldNumber = 19;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.SetStickyEventResponse SetStickyEventResponse {
      get { return contentCase_ == ContentOneofCase.SetStickyEventResponse ? (global::Unity.Muninn.Message.SetStickyEventResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.SetStickyEventResponse;
      }
    }

    /// <summary>Field number for the "removeStickyEventRequest" field.</summary>
    public const int RemoveStickyEventRequestFieldNumber = 20;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RemoveStickyEventRequest RemoveStickyEventRequest {
      get { return contentCase_ == ContentOneofCase.RemoveStickyEventRequest ? (global::Unity.Muninn.Message.RemoveStickyEventRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.RemoveStickyEventRequest;
      }
    }

    /// <summary>Field number for the "removeStickyEventResponse" field.</summary>
    public const int RemoveStickyEventResponseFieldNumber = 21;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RemoveStickyEventResponse RemoveStickyEventResponse {
      get { return contentCase_ == ContentOneofCase.RemoveStickyEventResponse ? (global::Unity.Muninn.Message.RemoveStickyEventResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.RemoveStickyEventResponse;
      }
    }

    /// <summary>Field number for the "playerKickedEvent" field.</summary>
    public const int PlayerKickedEventFieldNumber = 22;
    /// <summary>
    /// 账号被踢, 房间关闭
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.PlayerKickedEvent PlayerKickedEvent {
      get { return contentCase_ == ContentOneofCase.PlayerKickedEvent ? (global::Unity.Muninn.Message.PlayerKickedEvent) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.PlayerKickedEvent;
      }
    }

    /// <summary>Field number for the "ping" field.</summary>
    public const int PingFieldNumber = 23;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.MuninnPing Ping {
      get { return contentCase_ == ContentOneofCase.Ping ? (global::Unity.Muninn.Message.MuninnPing) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.Ping;
      }
    }

    /// <summary>Field number for the "pong" field.</summary>
    public const int PongFieldNumber = 24;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.MuninnPong Pong {
      get { return contentCase_ == ContentOneofCase.Pong ? (global::Unity.Muninn.Message.MuninnPong) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.Pong;
      }
    }

    /// <summary>Field number for the "migrateMasterClientEvent" field.</summary>
    public const int MigrateMasterClientEventFieldNumber = 25;
    /// <summary>
    /// 切换通知
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.MigrateMasterClientEvent MigrateMasterClientEvent {
      get { return contentCase_ == ContentOneofCase.MigrateMasterClientEvent ? (global::Unity.Muninn.Message.MigrateMasterClientEvent) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.MigrateMasterClientEvent;
      }
    }

    /// <summary>Field number for the "tellRttRequest" field.</summary>
    public const int TellRttRequestFieldNumber = 26;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.TellRttRequest TellRttRequest {
      get { return contentCase_ == ContentOneofCase.TellRttRequest ? (global::Unity.Muninn.Message.TellRttRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.TellRttRequest;
      }
    }

    /// <summary>Field number for the "tellRttResponse" field.</summary>
    public const int TellRttResponseFieldNumber = 27;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.TellRttResponse TellRttResponse {
      get { return contentCase_ == ContentOneofCase.TellRttResponse ? (global::Unity.Muninn.Message.TellRttResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.TellRttResponse;
      }
    }

    /// <summary>Field number for the "queryStickyEventRequest" field.</summary>
    public const int QueryStickyEventRequestFieldNumber = 28;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.QueryStickyEventRequest QueryStickyEventRequest {
      get { return contentCase_ == ContentOneofCase.QueryStickyEventRequest ? (global::Unity.Muninn.Message.QueryStickyEventRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.QueryStickyEventRequest;
      }
    }

    /// <summary>Field number for the "queryStickyEventResponse" field.</summary>
    public const int QueryStickyEventResponseFieldNumber = 29;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.QueryStickyEventResponse QueryStickyEventResponse {
      get { return contentCase_ == ContentOneofCase.QueryStickyEventResponse ? (global::Unity.Muninn.Message.QueryStickyEventResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.QueryStickyEventResponse;
      }
    }

    /// <summary>Field number for the "kickPlayerRequest" field.</summary>
    public const int KickPlayerRequestFieldNumber = 30;
    /// <summary>
    /// 支持踢人逻辑
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.KickPlayerRequest KickPlayerRequest {
      get { return contentCase_ == ContentOneofCase.KickPlayerRequest ? (global::Unity.Muninn.Message.KickPlayerRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.KickPlayerRequest;
      }
    }

    /// <summary>Field number for the "kickPlayerResponse" field.</summary>
    public const int KickPlayerResponseFieldNumber = 31;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.KickPlayerResponse KickPlayerResponse {
      get { return contentCase_ == ContentOneofCase.KickPlayerResponse ? (global::Unity.Muninn.Message.KickPlayerResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.KickPlayerResponse;
      }
    }

    /// <summary>Field number for the "updatePlayerRequest" field.</summary>
    public const int UpdatePlayerRequestFieldNumber = 32;
    /// <summary>
    /// 玩家属性更新
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.UpdatePlayerRequest UpdatePlayerRequest {
      get { return contentCase_ == ContentOneofCase.UpdatePlayerRequest ? (global::Unity.Muninn.Message.UpdatePlayerRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UpdatePlayerRequest;
      }
    }

    /// <summary>Field number for the "updatePlayerResponse" field.</summary>
    public const int UpdatePlayerResponseFieldNumber = 33;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.UpdatePlayerResponse UpdatePlayerResponse {
      get { return contentCase_ == ContentOneofCase.UpdatePlayerResponse ? (global::Unity.Muninn.Message.UpdatePlayerResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UpdatePlayerResponse;
      }
    }

    /// <summary>Field number for the "playerUpdatedEvent" field.</summary>
    public const int PlayerUpdatedEventFieldNumber = 34;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.PlayerUpdatedEvent PlayerUpdatedEvent {
      get { return contentCase_ == ContentOneofCase.PlayerUpdatedEvent ? (global::Unity.Muninn.Message.PlayerUpdatedEvent) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.PlayerUpdatedEvent;
      }
    }

    /// <summary>Field number for the "updateRoomCustomPropertiesRequest" field.</summary>
    public const int UpdateRoomCustomPropertiesRequestFieldNumber = 35;
    /// <summary>
    /// 房间属性更新
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.UpdateRoomCustomPropertiesRequest UpdateRoomCustomPropertiesRequest {
      get { return contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesRequest ? (global::Unity.Muninn.Message.UpdateRoomCustomPropertiesRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UpdateRoomCustomPropertiesRequest;
      }
    }

    /// <summary>Field number for the "updateRoomCustomPropertiesResponse" field.</summary>
    public const int UpdateRoomCustomPropertiesResponseFieldNumber = 36;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.UpdateRoomCustomPropertiesResponse UpdateRoomCustomPropertiesResponse {
      get { return contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesResponse ? (global::Unity.Muninn.Message.UpdateRoomCustomPropertiesResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UpdateRoomCustomPropertiesResponse;
      }
    }

    /// <summary>Field number for the "roomCustomPropertiesUpdatedEvent" field.</summary>
    public const int RoomCustomPropertiesUpdatedEventFieldNumber = 37;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RoomCustomPropertiesUpdatedEvent RoomCustomPropertiesUpdatedEvent {
      get { return contentCase_ == ContentOneofCase.RoomCustomPropertiesUpdatedEvent ? (global::Unity.Muninn.Message.RoomCustomPropertiesUpdatedEvent) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.RoomCustomPropertiesUpdatedEvent;
      }
    }

    /// <summary>Field number for the "tellRttOnlyServerRequest" field.</summary>
    public const int TellRttOnlyServerRequestFieldNumber = 38;
    /// <summary>
    /// support orbit
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.TellRttOnlyServerRequest TellRttOnlyServerRequest {
      get { return contentCase_ == ContentOneofCase.TellRttOnlyServerRequest ? (global::Unity.Muninn.Message.TellRttOnlyServerRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.TellRttOnlyServerRequest;
      }
    }

    /// <summary>Field number for the "tellRttOnlyServerResponse" field.</summary>
    public const int TellRttOnlyServerResponseFieldNumber = 39;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.TellRttOnlyServerResponse TellRttOnlyServerResponse {
      get { return contentCase_ == ContentOneofCase.TellRttOnlyServerResponse ? (global::Unity.Muninn.Message.TellRttOnlyServerResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.TellRttOnlyServerResponse;
      }
    }

    /// <summary>Field number for the "unreliableReceivedMessage" field.</summary>
    public const int UnreliableReceivedMessageFieldNumber = 40;
    /// <summary>
    /// support ecs &amp; fishnet
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.UnreliableReceivedMessage UnreliableReceivedMessage {
      get { return contentCase_ == ContentOneofCase.UnreliableReceivedMessage ? (global::Unity.Muninn.Message.UnreliableReceivedMessage) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UnreliableReceivedMessage;
      }
    }

    /// <summary>Field number for the "unreliableSentMessage" field.</summary>
    public const int UnreliableSentMessageFieldNumber = 41;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.UnreliableSentMessage UnreliableSentMessage {
      get { return contentCase_ == ContentOneofCase.UnreliableSentMessage ? (global::Unity.Muninn.Message.UnreliableSentMessage) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UnreliableSentMessage;
      }
    }

    /// <summary>Field number for the "setHeartbeatRequest" field.</summary>
    public const int SetHeartbeatRequestFieldNumber = 42;
    /// <summary>
    /// 支持客户端设定自己的心跳检测超时时间 for orbit 需求
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.SetHeartbeatRequest SetHeartbeatRequest {
      get { return contentCase_ == ContentOneofCase.SetHeartbeatRequest ? (global::Unity.Muninn.Message.SetHeartbeatRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.SetHeartbeatRequest;
      }
    }

    /// <summary>Field number for the "setHeartbeatResponse" field.</summary>
    public const int SetHeartbeatResponseFieldNumber = 43;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.SetHeartbeatResponse SetHeartbeatResponse {
      get { return contentCase_ == ContentOneofCase.SetHeartbeatResponse ? (global::Unity.Muninn.Message.SetHeartbeatResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.SetHeartbeatResponse;
      }
    }

    /// <summary>Field number for the "fetchTimestampRequest" field.</summary>
    public const int FetchTimestampRequestFieldNumber = 44;
    /// <summary>
    /// Photon所需
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.FetchTimestampRequest FetchTimestampRequest {
      get { return contentCase_ == ContentOneofCase.FetchTimestampRequest ? (global::Unity.Muninn.Message.FetchTimestampRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.FetchTimestampRequest;
      }
    }

    /// <summary>Field number for the "fetchTimestampResponse" field.</summary>
    public const int FetchTimestampResponseFieldNumber = 45;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.FetchTimestampResponse FetchTimestampResponse {
      get { return contentCase_ == ContentOneofCase.FetchTimestampResponse ? (global::Unity.Muninn.Message.FetchTimestampResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.FetchTimestampResponse;
      }
    }

    /// <summary>Field number for the "getSlicedCacheRequest" field.</summary>
    public const int GetSlicedCacheRequestFieldNumber = 46;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.GetSlicedCacheRequest GetSlicedCacheRequest {
      get { return contentCase_ == ContentOneofCase.GetSlicedCacheRequest ? (global::Unity.Muninn.Message.GetSlicedCacheRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.GetSlicedCacheRequest;
      }
    }

    /// <summary>Field number for the "getSlicedCacheResponse" field.</summary>
    public const int GetSlicedCacheResponseFieldNumber = 47;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.GetSlicedCacheResponse GetSlicedCacheResponse {
      get { return contentCase_ == ContentOneofCase.GetSlicedCacheResponse ? (global::Unity.Muninn.Message.GetSlicedCacheResponse) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.GetSlicedCacheResponse;
      }
    }

    /// <summary>Field number for the "operateSliceRequest" field.</summary>
    public const int OperateSliceRequestFieldNumber = 48;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.OperateSliceRequest OperateSliceRequest {
      get { return contentCase_ == ContentOneofCase.OperateSliceRequest ? (global::Unity.Muninn.Message.OperateSliceRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.OperateSliceRequest;
      }
    }

    /// <summary>Field number for the "addCodedCacheRequest" field.</summary>
    public const int AddCodedCacheRequestFieldNumber = 49;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.AddCodedCacheRequest AddCodedCacheRequest {
      get { return contentCase_ == ContentOneofCase.AddCodedCacheRequest ? (global::Unity.Muninn.Message.AddCodedCacheRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.AddCodedCacheRequest;
      }
    }

    /// <summary>Field number for the "removeCodedCacheRequest" field.</summary>
    public const int RemoveCodedCacheRequestFieldNumber = 50;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.RemoveCodedCacheRequest RemoveCodedCacheRequest {
      get { return contentCase_ == ContentOneofCase.RemoveCodedCacheRequest ? (global::Unity.Muninn.Message.RemoveCodedCacheRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.RemoveCodedCacheRequest;
      }
    }

    /// <summary>Field number for the "clearInvalidCodedCacheRequest" field.</summary>
    public const int ClearInvalidCodedCacheRequestFieldNumber = 51;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.ClearInvalidCodedCacheRequest ClearInvalidCodedCacheRequest {
      get { return contentCase_ == ContentOneofCase.ClearInvalidCodedCacheRequest ? (global::Unity.Muninn.Message.ClearInvalidCodedCacheRequest) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.ClearInvalidCodedCacheRequest;
      }
    }

    /// <summary>Field number for the "cacheSliceChangedEvent" field.</summary>
    public const int CacheSliceChangedEventFieldNumber = 52;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Unity.Muninn.Message.CacheSliceChangedEvent CacheSliceChangedEvent {
      get { return contentCase_ == ContentOneofCase.CacheSliceChangedEvent ? (global::Unity.Muninn.Message.CacheSliceChangedEvent) content_ : null; }
      set {
        content_ = value;
        contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.CacheSliceChangedEvent;
      }
    }

    private object content_;
    /// <summary>Enum of possible cases for the "content" oneof.</summary>
    public enum ContentOneofCase {
      None = 0,
      SentMessage = 2,
      ReceivedMessage = 3,
      JoinRoomRequest = 4,
      JoinRoomResponse = 5,
      PlayerEnteredRoomEvent = 6,
      LeaveRoomRequest = 7,
      LeaveRoomResponse = 8,
      PlayerLeftRoomEvent = 9,
      SubscribeGroupsRequest = 10,
      SubscribeGroupsResponse = 11,
      UnsubscribeGroupsRequest = 12,
      UnsubscribeGroupsResponse = 13,
      AddCachedEventRequest = 14,
      AddCachedEventResponse = 15,
      RemoveCachedEventRequest = 16,
      RemoveCachedEventResponse = 17,
      SetStickyEventRequest = 18,
      SetStickyEventResponse = 19,
      RemoveStickyEventRequest = 20,
      RemoveStickyEventResponse = 21,
      PlayerKickedEvent = 22,
      Ping = 23,
      Pong = 24,
      MigrateMasterClientEvent = 25,
      TellRttRequest = 26,
      TellRttResponse = 27,
      QueryStickyEventRequest = 28,
      QueryStickyEventResponse = 29,
      KickPlayerRequest = 30,
      KickPlayerResponse = 31,
      UpdatePlayerRequest = 32,
      UpdatePlayerResponse = 33,
      PlayerUpdatedEvent = 34,
      UpdateRoomCustomPropertiesRequest = 35,
      UpdateRoomCustomPropertiesResponse = 36,
      RoomCustomPropertiesUpdatedEvent = 37,
      TellRttOnlyServerRequest = 38,
      TellRttOnlyServerResponse = 39,
      UnreliableReceivedMessage = 40,
      UnreliableSentMessage = 41,
      SetHeartbeatRequest = 42,
      SetHeartbeatResponse = 43,
      FetchTimestampRequest = 44,
      FetchTimestampResponse = 45,
      GetSlicedCacheRequest = 46,
      GetSlicedCacheResponse = 47,
      OperateSliceRequest = 48,
      AddCodedCacheRequest = 49,
      RemoveCodedCacheRequest = 50,
      ClearInvalidCodedCacheRequest = 51,
      CacheSliceChangedEvent = 52,
    }
    private ContentOneofCase contentCase_ = ContentOneofCase.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ContentOneofCase ContentCase {
      get { return contentCase_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearContent() {
      contentCase_ = ContentOneofCase.None;
      content_ = null;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as MuninnEvent);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(MuninnEvent other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(SentMessage, other.SentMessage)) return false;
      if (!object.Equals(ReceivedMessage, other.ReceivedMessage)) return false;
      if (!object.Equals(JoinRoomRequest, other.JoinRoomRequest)) return false;
      if (!object.Equals(JoinRoomResponse, other.JoinRoomResponse)) return false;
      if (!object.Equals(PlayerEnteredRoomEvent, other.PlayerEnteredRoomEvent)) return false;
      if (!object.Equals(LeaveRoomRequest, other.LeaveRoomRequest)) return false;
      if (!object.Equals(LeaveRoomResponse, other.LeaveRoomResponse)) return false;
      if (!object.Equals(PlayerLeftRoomEvent, other.PlayerLeftRoomEvent)) return false;
      if (!object.Equals(SubscribeGroupsRequest, other.SubscribeGroupsRequest)) return false;
      if (!object.Equals(SubscribeGroupsResponse, other.SubscribeGroupsResponse)) return false;
      if (!object.Equals(UnsubscribeGroupsRequest, other.UnsubscribeGroupsRequest)) return false;
      if (!object.Equals(UnsubscribeGroupsResponse, other.UnsubscribeGroupsResponse)) return false;
      if (!object.Equals(AddCachedEventRequest, other.AddCachedEventRequest)) return false;
      if (!object.Equals(AddCachedEventResponse, other.AddCachedEventResponse)) return false;
      if (!object.Equals(RemoveCachedEventRequest, other.RemoveCachedEventRequest)) return false;
      if (!object.Equals(RemoveCachedEventResponse, other.RemoveCachedEventResponse)) return false;
      if (!object.Equals(SetStickyEventRequest, other.SetStickyEventRequest)) return false;
      if (!object.Equals(SetStickyEventResponse, other.SetStickyEventResponse)) return false;
      if (!object.Equals(RemoveStickyEventRequest, other.RemoveStickyEventRequest)) return false;
      if (!object.Equals(RemoveStickyEventResponse, other.RemoveStickyEventResponse)) return false;
      if (!object.Equals(PlayerKickedEvent, other.PlayerKickedEvent)) return false;
      if (!object.Equals(Ping, other.Ping)) return false;
      if (!object.Equals(Pong, other.Pong)) return false;
      if (!object.Equals(MigrateMasterClientEvent, other.MigrateMasterClientEvent)) return false;
      if (!object.Equals(TellRttRequest, other.TellRttRequest)) return false;
      if (!object.Equals(TellRttResponse, other.TellRttResponse)) return false;
      if (!object.Equals(QueryStickyEventRequest, other.QueryStickyEventRequest)) return false;
      if (!object.Equals(QueryStickyEventResponse, other.QueryStickyEventResponse)) return false;
      if (!object.Equals(KickPlayerRequest, other.KickPlayerRequest)) return false;
      if (!object.Equals(KickPlayerResponse, other.KickPlayerResponse)) return false;
      if (!object.Equals(UpdatePlayerRequest, other.UpdatePlayerRequest)) return false;
      if (!object.Equals(UpdatePlayerResponse, other.UpdatePlayerResponse)) return false;
      if (!object.Equals(PlayerUpdatedEvent, other.PlayerUpdatedEvent)) return false;
      if (!object.Equals(UpdateRoomCustomPropertiesRequest, other.UpdateRoomCustomPropertiesRequest)) return false;
      if (!object.Equals(UpdateRoomCustomPropertiesResponse, other.UpdateRoomCustomPropertiesResponse)) return false;
      if (!object.Equals(RoomCustomPropertiesUpdatedEvent, other.RoomCustomPropertiesUpdatedEvent)) return false;
      if (!object.Equals(TellRttOnlyServerRequest, other.TellRttOnlyServerRequest)) return false;
      if (!object.Equals(TellRttOnlyServerResponse, other.TellRttOnlyServerResponse)) return false;
      if (!object.Equals(UnreliableReceivedMessage, other.UnreliableReceivedMessage)) return false;
      if (!object.Equals(UnreliableSentMessage, other.UnreliableSentMessage)) return false;
      if (!object.Equals(SetHeartbeatRequest, other.SetHeartbeatRequest)) return false;
      if (!object.Equals(SetHeartbeatResponse, other.SetHeartbeatResponse)) return false;
      if (!object.Equals(FetchTimestampRequest, other.FetchTimestampRequest)) return false;
      if (!object.Equals(FetchTimestampResponse, other.FetchTimestampResponse)) return false;
      if (!object.Equals(GetSlicedCacheRequest, other.GetSlicedCacheRequest)) return false;
      if (!object.Equals(GetSlicedCacheResponse, other.GetSlicedCacheResponse)) return false;
      if (!object.Equals(OperateSliceRequest, other.OperateSliceRequest)) return false;
      if (!object.Equals(AddCodedCacheRequest, other.AddCodedCacheRequest)) return false;
      if (!object.Equals(RemoveCodedCacheRequest, other.RemoveCodedCacheRequest)) return false;
      if (!object.Equals(ClearInvalidCodedCacheRequest, other.ClearInvalidCodedCacheRequest)) return false;
      if (!object.Equals(CacheSliceChangedEvent, other.CacheSliceChangedEvent)) return false;
      if (ContentCase != other.ContentCase) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (contentCase_ == ContentOneofCase.SentMessage) hash ^= SentMessage.GetHashCode();
      if (contentCase_ == ContentOneofCase.ReceivedMessage) hash ^= ReceivedMessage.GetHashCode();
      if (contentCase_ == ContentOneofCase.JoinRoomRequest) hash ^= JoinRoomRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.JoinRoomResponse) hash ^= JoinRoomResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.PlayerEnteredRoomEvent) hash ^= PlayerEnteredRoomEvent.GetHashCode();
      if (contentCase_ == ContentOneofCase.LeaveRoomRequest) hash ^= LeaveRoomRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.LeaveRoomResponse) hash ^= LeaveRoomResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.PlayerLeftRoomEvent) hash ^= PlayerLeftRoomEvent.GetHashCode();
      if (contentCase_ == ContentOneofCase.SubscribeGroupsRequest) hash ^= SubscribeGroupsRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.SubscribeGroupsResponse) hash ^= SubscribeGroupsResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.UnsubscribeGroupsRequest) hash ^= UnsubscribeGroupsRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.UnsubscribeGroupsResponse) hash ^= UnsubscribeGroupsResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.AddCachedEventRequest) hash ^= AddCachedEventRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.AddCachedEventResponse) hash ^= AddCachedEventResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.RemoveCachedEventRequest) hash ^= RemoveCachedEventRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.RemoveCachedEventResponse) hash ^= RemoveCachedEventResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.SetStickyEventRequest) hash ^= SetStickyEventRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.SetStickyEventResponse) hash ^= SetStickyEventResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.RemoveStickyEventRequest) hash ^= RemoveStickyEventRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.RemoveStickyEventResponse) hash ^= RemoveStickyEventResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.PlayerKickedEvent) hash ^= PlayerKickedEvent.GetHashCode();
      if (contentCase_ == ContentOneofCase.Ping) hash ^= Ping.GetHashCode();
      if (contentCase_ == ContentOneofCase.Pong) hash ^= Pong.GetHashCode();
      if (contentCase_ == ContentOneofCase.MigrateMasterClientEvent) hash ^= MigrateMasterClientEvent.GetHashCode();
      if (contentCase_ == ContentOneofCase.TellRttRequest) hash ^= TellRttRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.TellRttResponse) hash ^= TellRttResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.QueryStickyEventRequest) hash ^= QueryStickyEventRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.QueryStickyEventResponse) hash ^= QueryStickyEventResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.KickPlayerRequest) hash ^= KickPlayerRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.KickPlayerResponse) hash ^= KickPlayerResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.UpdatePlayerRequest) hash ^= UpdatePlayerRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.UpdatePlayerResponse) hash ^= UpdatePlayerResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.PlayerUpdatedEvent) hash ^= PlayerUpdatedEvent.GetHashCode();
      if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesRequest) hash ^= UpdateRoomCustomPropertiesRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesResponse) hash ^= UpdateRoomCustomPropertiesResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.RoomCustomPropertiesUpdatedEvent) hash ^= RoomCustomPropertiesUpdatedEvent.GetHashCode();
      if (contentCase_ == ContentOneofCase.TellRttOnlyServerRequest) hash ^= TellRttOnlyServerRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.TellRttOnlyServerResponse) hash ^= TellRttOnlyServerResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.UnreliableReceivedMessage) hash ^= UnreliableReceivedMessage.GetHashCode();
      if (contentCase_ == ContentOneofCase.UnreliableSentMessage) hash ^= UnreliableSentMessage.GetHashCode();
      if (contentCase_ == ContentOneofCase.SetHeartbeatRequest) hash ^= SetHeartbeatRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.SetHeartbeatResponse) hash ^= SetHeartbeatResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.FetchTimestampRequest) hash ^= FetchTimestampRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.FetchTimestampResponse) hash ^= FetchTimestampResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.GetSlicedCacheRequest) hash ^= GetSlicedCacheRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.GetSlicedCacheResponse) hash ^= GetSlicedCacheResponse.GetHashCode();
      if (contentCase_ == ContentOneofCase.OperateSliceRequest) hash ^= OperateSliceRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.AddCodedCacheRequest) hash ^= AddCodedCacheRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.RemoveCodedCacheRequest) hash ^= RemoveCodedCacheRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.ClearInvalidCodedCacheRequest) hash ^= ClearInvalidCodedCacheRequest.GetHashCode();
      if (contentCase_ == ContentOneofCase.CacheSliceChangedEvent) hash ^= CacheSliceChangedEvent.GetHashCode();
      hash ^= (int) contentCase_;
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (contentCase_ == ContentOneofCase.SentMessage) {
        output.WriteRawTag(18);
        output.WriteMessage(SentMessage);
      }
      if (contentCase_ == ContentOneofCase.ReceivedMessage) {
        output.WriteRawTag(26);
        output.WriteMessage(ReceivedMessage);
      }
      if (contentCase_ == ContentOneofCase.JoinRoomRequest) {
        output.WriteRawTag(34);
        output.WriteMessage(JoinRoomRequest);
      }
      if (contentCase_ == ContentOneofCase.JoinRoomResponse) {
        output.WriteRawTag(42);
        output.WriteMessage(JoinRoomResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerEnteredRoomEvent) {
        output.WriteRawTag(50);
        output.WriteMessage(PlayerEnteredRoomEvent);
      }
      if (contentCase_ == ContentOneofCase.LeaveRoomRequest) {
        output.WriteRawTag(58);
        output.WriteMessage(LeaveRoomRequest);
      }
      if (contentCase_ == ContentOneofCase.LeaveRoomResponse) {
        output.WriteRawTag(66);
        output.WriteMessage(LeaveRoomResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerLeftRoomEvent) {
        output.WriteRawTag(74);
        output.WriteMessage(PlayerLeftRoomEvent);
      }
      if (contentCase_ == ContentOneofCase.SubscribeGroupsRequest) {
        output.WriteRawTag(82);
        output.WriteMessage(SubscribeGroupsRequest);
      }
      if (contentCase_ == ContentOneofCase.SubscribeGroupsResponse) {
        output.WriteRawTag(90);
        output.WriteMessage(SubscribeGroupsResponse);
      }
      if (contentCase_ == ContentOneofCase.UnsubscribeGroupsRequest) {
        output.WriteRawTag(98);
        output.WriteMessage(UnsubscribeGroupsRequest);
      }
      if (contentCase_ == ContentOneofCase.UnsubscribeGroupsResponse) {
        output.WriteRawTag(106);
        output.WriteMessage(UnsubscribeGroupsResponse);
      }
      if (contentCase_ == ContentOneofCase.AddCachedEventRequest) {
        output.WriteRawTag(114);
        output.WriteMessage(AddCachedEventRequest);
      }
      if (contentCase_ == ContentOneofCase.AddCachedEventResponse) {
        output.WriteRawTag(122);
        output.WriteMessage(AddCachedEventResponse);
      }
      if (contentCase_ == ContentOneofCase.RemoveCachedEventRequest) {
        output.WriteRawTag(130, 1);
        output.WriteMessage(RemoveCachedEventRequest);
      }
      if (contentCase_ == ContentOneofCase.RemoveCachedEventResponse) {
        output.WriteRawTag(138, 1);
        output.WriteMessage(RemoveCachedEventResponse);
      }
      if (contentCase_ == ContentOneofCase.SetStickyEventRequest) {
        output.WriteRawTag(146, 1);
        output.WriteMessage(SetStickyEventRequest);
      }
      if (contentCase_ == ContentOneofCase.SetStickyEventResponse) {
        output.WriteRawTag(154, 1);
        output.WriteMessage(SetStickyEventResponse);
      }
      if (contentCase_ == ContentOneofCase.RemoveStickyEventRequest) {
        output.WriteRawTag(162, 1);
        output.WriteMessage(RemoveStickyEventRequest);
      }
      if (contentCase_ == ContentOneofCase.RemoveStickyEventResponse) {
        output.WriteRawTag(170, 1);
        output.WriteMessage(RemoveStickyEventResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerKickedEvent) {
        output.WriteRawTag(178, 1);
        output.WriteMessage(PlayerKickedEvent);
      }
      if (contentCase_ == ContentOneofCase.Ping) {
        output.WriteRawTag(186, 1);
        output.WriteMessage(Ping);
      }
      if (contentCase_ == ContentOneofCase.Pong) {
        output.WriteRawTag(194, 1);
        output.WriteMessage(Pong);
      }
      if (contentCase_ == ContentOneofCase.MigrateMasterClientEvent) {
        output.WriteRawTag(202, 1);
        output.WriteMessage(MigrateMasterClientEvent);
      }
      if (contentCase_ == ContentOneofCase.TellRttRequest) {
        output.WriteRawTag(210, 1);
        output.WriteMessage(TellRttRequest);
      }
      if (contentCase_ == ContentOneofCase.TellRttResponse) {
        output.WriteRawTag(218, 1);
        output.WriteMessage(TellRttResponse);
      }
      if (contentCase_ == ContentOneofCase.QueryStickyEventRequest) {
        output.WriteRawTag(226, 1);
        output.WriteMessage(QueryStickyEventRequest);
      }
      if (contentCase_ == ContentOneofCase.QueryStickyEventResponse) {
        output.WriteRawTag(234, 1);
        output.WriteMessage(QueryStickyEventResponse);
      }
      if (contentCase_ == ContentOneofCase.KickPlayerRequest) {
        output.WriteRawTag(242, 1);
        output.WriteMessage(KickPlayerRequest);
      }
      if (contentCase_ == ContentOneofCase.KickPlayerResponse) {
        output.WriteRawTag(250, 1);
        output.WriteMessage(KickPlayerResponse);
      }
      if (contentCase_ == ContentOneofCase.UpdatePlayerRequest) {
        output.WriteRawTag(130, 2);
        output.WriteMessage(UpdatePlayerRequest);
      }
      if (contentCase_ == ContentOneofCase.UpdatePlayerResponse) {
        output.WriteRawTag(138, 2);
        output.WriteMessage(UpdatePlayerResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerUpdatedEvent) {
        output.WriteRawTag(146, 2);
        output.WriteMessage(PlayerUpdatedEvent);
      }
      if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesRequest) {
        output.WriteRawTag(154, 2);
        output.WriteMessage(UpdateRoomCustomPropertiesRequest);
      }
      if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesResponse) {
        output.WriteRawTag(162, 2);
        output.WriteMessage(UpdateRoomCustomPropertiesResponse);
      }
      if (contentCase_ == ContentOneofCase.RoomCustomPropertiesUpdatedEvent) {
        output.WriteRawTag(170, 2);
        output.WriteMessage(RoomCustomPropertiesUpdatedEvent);
      }
      if (contentCase_ == ContentOneofCase.TellRttOnlyServerRequest) {
        output.WriteRawTag(178, 2);
        output.WriteMessage(TellRttOnlyServerRequest);
      }
      if (contentCase_ == ContentOneofCase.TellRttOnlyServerResponse) {
        output.WriteRawTag(186, 2);
        output.WriteMessage(TellRttOnlyServerResponse);
      }
      if (contentCase_ == ContentOneofCase.UnreliableReceivedMessage) {
        output.WriteRawTag(194, 2);
        output.WriteMessage(UnreliableReceivedMessage);
      }
      if (contentCase_ == ContentOneofCase.UnreliableSentMessage) {
        output.WriteRawTag(202, 2);
        output.WriteMessage(UnreliableSentMessage);
      }
      if (contentCase_ == ContentOneofCase.SetHeartbeatRequest) {
        output.WriteRawTag(210, 2);
        output.WriteMessage(SetHeartbeatRequest);
      }
      if (contentCase_ == ContentOneofCase.SetHeartbeatResponse) {
        output.WriteRawTag(218, 2);
        output.WriteMessage(SetHeartbeatResponse);
      }
      if (contentCase_ == ContentOneofCase.FetchTimestampRequest) {
        output.WriteRawTag(226, 2);
        output.WriteMessage(FetchTimestampRequest);
      }
      if (contentCase_ == ContentOneofCase.FetchTimestampResponse) {
        output.WriteRawTag(234, 2);
        output.WriteMessage(FetchTimestampResponse);
      }
      if (contentCase_ == ContentOneofCase.GetSlicedCacheRequest) {
        output.WriteRawTag(242, 2);
        output.WriteMessage(GetSlicedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.GetSlicedCacheResponse) {
        output.WriteRawTag(250, 2);
        output.WriteMessage(GetSlicedCacheResponse);
      }
      if (contentCase_ == ContentOneofCase.OperateSliceRequest) {
        output.WriteRawTag(130, 3);
        output.WriteMessage(OperateSliceRequest);
      }
      if (contentCase_ == ContentOneofCase.AddCodedCacheRequest) {
        output.WriteRawTag(138, 3);
        output.WriteMessage(AddCodedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.RemoveCodedCacheRequest) {
        output.WriteRawTag(146, 3);
        output.WriteMessage(RemoveCodedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.ClearInvalidCodedCacheRequest) {
        output.WriteRawTag(154, 3);
        output.WriteMessage(ClearInvalidCodedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.CacheSliceChangedEvent) {
        output.WriteRawTag(162, 3);
        output.WriteMessage(CacheSliceChangedEvent);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (contentCase_ == ContentOneofCase.SentMessage) {
        output.WriteRawTag(18);
        output.WriteMessage(SentMessage);
      }
      if (contentCase_ == ContentOneofCase.ReceivedMessage) {
        output.WriteRawTag(26);
        output.WriteMessage(ReceivedMessage);
      }
      if (contentCase_ == ContentOneofCase.JoinRoomRequest) {
        output.WriteRawTag(34);
        output.WriteMessage(JoinRoomRequest);
      }
      if (contentCase_ == ContentOneofCase.JoinRoomResponse) {
        output.WriteRawTag(42);
        output.WriteMessage(JoinRoomResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerEnteredRoomEvent) {
        output.WriteRawTag(50);
        output.WriteMessage(PlayerEnteredRoomEvent);
      }
      if (contentCase_ == ContentOneofCase.LeaveRoomRequest) {
        output.WriteRawTag(58);
        output.WriteMessage(LeaveRoomRequest);
      }
      if (contentCase_ == ContentOneofCase.LeaveRoomResponse) {
        output.WriteRawTag(66);
        output.WriteMessage(LeaveRoomResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerLeftRoomEvent) {
        output.WriteRawTag(74);
        output.WriteMessage(PlayerLeftRoomEvent);
      }
      if (contentCase_ == ContentOneofCase.SubscribeGroupsRequest) {
        output.WriteRawTag(82);
        output.WriteMessage(SubscribeGroupsRequest);
      }
      if (contentCase_ == ContentOneofCase.SubscribeGroupsResponse) {
        output.WriteRawTag(90);
        output.WriteMessage(SubscribeGroupsResponse);
      }
      if (contentCase_ == ContentOneofCase.UnsubscribeGroupsRequest) {
        output.WriteRawTag(98);
        output.WriteMessage(UnsubscribeGroupsRequest);
      }
      if (contentCase_ == ContentOneofCase.UnsubscribeGroupsResponse) {
        output.WriteRawTag(106);
        output.WriteMessage(UnsubscribeGroupsResponse);
      }
      if (contentCase_ == ContentOneofCase.AddCachedEventRequest) {
        output.WriteRawTag(114);
        output.WriteMessage(AddCachedEventRequest);
      }
      if (contentCase_ == ContentOneofCase.AddCachedEventResponse) {
        output.WriteRawTag(122);
        output.WriteMessage(AddCachedEventResponse);
      }
      if (contentCase_ == ContentOneofCase.RemoveCachedEventRequest) {
        output.WriteRawTag(130, 1);
        output.WriteMessage(RemoveCachedEventRequest);
      }
      if (contentCase_ == ContentOneofCase.RemoveCachedEventResponse) {
        output.WriteRawTag(138, 1);
        output.WriteMessage(RemoveCachedEventResponse);
      }
      if (contentCase_ == ContentOneofCase.SetStickyEventRequest) {
        output.WriteRawTag(146, 1);
        output.WriteMessage(SetStickyEventRequest);
      }
      if (contentCase_ == ContentOneofCase.SetStickyEventResponse) {
        output.WriteRawTag(154, 1);
        output.WriteMessage(SetStickyEventResponse);
      }
      if (contentCase_ == ContentOneofCase.RemoveStickyEventRequest) {
        output.WriteRawTag(162, 1);
        output.WriteMessage(RemoveStickyEventRequest);
      }
      if (contentCase_ == ContentOneofCase.RemoveStickyEventResponse) {
        output.WriteRawTag(170, 1);
        output.WriteMessage(RemoveStickyEventResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerKickedEvent) {
        output.WriteRawTag(178, 1);
        output.WriteMessage(PlayerKickedEvent);
      }
      if (contentCase_ == ContentOneofCase.Ping) {
        output.WriteRawTag(186, 1);
        output.WriteMessage(Ping);
      }
      if (contentCase_ == ContentOneofCase.Pong) {
        output.WriteRawTag(194, 1);
        output.WriteMessage(Pong);
      }
      if (contentCase_ == ContentOneofCase.MigrateMasterClientEvent) {
        output.WriteRawTag(202, 1);
        output.WriteMessage(MigrateMasterClientEvent);
      }
      if (contentCase_ == ContentOneofCase.TellRttRequest) {
        output.WriteRawTag(210, 1);
        output.WriteMessage(TellRttRequest);
      }
      if (contentCase_ == ContentOneofCase.TellRttResponse) {
        output.WriteRawTag(218, 1);
        output.WriteMessage(TellRttResponse);
      }
      if (contentCase_ == ContentOneofCase.QueryStickyEventRequest) {
        output.WriteRawTag(226, 1);
        output.WriteMessage(QueryStickyEventRequest);
      }
      if (contentCase_ == ContentOneofCase.QueryStickyEventResponse) {
        output.WriteRawTag(234, 1);
        output.WriteMessage(QueryStickyEventResponse);
      }
      if (contentCase_ == ContentOneofCase.KickPlayerRequest) {
        output.WriteRawTag(242, 1);
        output.WriteMessage(KickPlayerRequest);
      }
      if (contentCase_ == ContentOneofCase.KickPlayerResponse) {
        output.WriteRawTag(250, 1);
        output.WriteMessage(KickPlayerResponse);
      }
      if (contentCase_ == ContentOneofCase.UpdatePlayerRequest) {
        output.WriteRawTag(130, 2);
        output.WriteMessage(UpdatePlayerRequest);
      }
      if (contentCase_ == ContentOneofCase.UpdatePlayerResponse) {
        output.WriteRawTag(138, 2);
        output.WriteMessage(UpdatePlayerResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerUpdatedEvent) {
        output.WriteRawTag(146, 2);
        output.WriteMessage(PlayerUpdatedEvent);
      }
      if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesRequest) {
        output.WriteRawTag(154, 2);
        output.WriteMessage(UpdateRoomCustomPropertiesRequest);
      }
      if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesResponse) {
        output.WriteRawTag(162, 2);
        output.WriteMessage(UpdateRoomCustomPropertiesResponse);
      }
      if (contentCase_ == ContentOneofCase.RoomCustomPropertiesUpdatedEvent) {
        output.WriteRawTag(170, 2);
        output.WriteMessage(RoomCustomPropertiesUpdatedEvent);
      }
      if (contentCase_ == ContentOneofCase.TellRttOnlyServerRequest) {
        output.WriteRawTag(178, 2);
        output.WriteMessage(TellRttOnlyServerRequest);
      }
      if (contentCase_ == ContentOneofCase.TellRttOnlyServerResponse) {
        output.WriteRawTag(186, 2);
        output.WriteMessage(TellRttOnlyServerResponse);
      }
      if (contentCase_ == ContentOneofCase.UnreliableReceivedMessage) {
        output.WriteRawTag(194, 2);
        output.WriteMessage(UnreliableReceivedMessage);
      }
      if (contentCase_ == ContentOneofCase.UnreliableSentMessage) {
        output.WriteRawTag(202, 2);
        output.WriteMessage(UnreliableSentMessage);
      }
      if (contentCase_ == ContentOneofCase.SetHeartbeatRequest) {
        output.WriteRawTag(210, 2);
        output.WriteMessage(SetHeartbeatRequest);
      }
      if (contentCase_ == ContentOneofCase.SetHeartbeatResponse) {
        output.WriteRawTag(218, 2);
        output.WriteMessage(SetHeartbeatResponse);
      }
      if (contentCase_ == ContentOneofCase.FetchTimestampRequest) {
        output.WriteRawTag(226, 2);
        output.WriteMessage(FetchTimestampRequest);
      }
      if (contentCase_ == ContentOneofCase.FetchTimestampResponse) {
        output.WriteRawTag(234, 2);
        output.WriteMessage(FetchTimestampResponse);
      }
      if (contentCase_ == ContentOneofCase.GetSlicedCacheRequest) {
        output.WriteRawTag(242, 2);
        output.WriteMessage(GetSlicedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.GetSlicedCacheResponse) {
        output.WriteRawTag(250, 2);
        output.WriteMessage(GetSlicedCacheResponse);
      }
      if (contentCase_ == ContentOneofCase.OperateSliceRequest) {
        output.WriteRawTag(130, 3);
        output.WriteMessage(OperateSliceRequest);
      }
      if (contentCase_ == ContentOneofCase.AddCodedCacheRequest) {
        output.WriteRawTag(138, 3);
        output.WriteMessage(AddCodedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.RemoveCodedCacheRequest) {
        output.WriteRawTag(146, 3);
        output.WriteMessage(RemoveCodedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.ClearInvalidCodedCacheRequest) {
        output.WriteRawTag(154, 3);
        output.WriteMessage(ClearInvalidCodedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.CacheSliceChangedEvent) {
        output.WriteRawTag(162, 3);
        output.WriteMessage(CacheSliceChangedEvent);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (contentCase_ == ContentOneofCase.SentMessage) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(SentMessage);
      }
      if (contentCase_ == ContentOneofCase.ReceivedMessage) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReceivedMessage);
      }
      if (contentCase_ == ContentOneofCase.JoinRoomRequest) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(JoinRoomRequest);
      }
      if (contentCase_ == ContentOneofCase.JoinRoomResponse) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(JoinRoomResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerEnteredRoomEvent) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerEnteredRoomEvent);
      }
      if (contentCase_ == ContentOneofCase.LeaveRoomRequest) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(LeaveRoomRequest);
      }
      if (contentCase_ == ContentOneofCase.LeaveRoomResponse) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(LeaveRoomResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerLeftRoomEvent) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerLeftRoomEvent);
      }
      if (contentCase_ == ContentOneofCase.SubscribeGroupsRequest) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(SubscribeGroupsRequest);
      }
      if (contentCase_ == ContentOneofCase.SubscribeGroupsResponse) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(SubscribeGroupsResponse);
      }
      if (contentCase_ == ContentOneofCase.UnsubscribeGroupsRequest) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnsubscribeGroupsRequest);
      }
      if (contentCase_ == ContentOneofCase.UnsubscribeGroupsResponse) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnsubscribeGroupsResponse);
      }
      if (contentCase_ == ContentOneofCase.AddCachedEventRequest) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AddCachedEventRequest);
      }
      if (contentCase_ == ContentOneofCase.AddCachedEventResponse) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AddCachedEventResponse);
      }
      if (contentCase_ == ContentOneofCase.RemoveCachedEventRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(RemoveCachedEventRequest);
      }
      if (contentCase_ == ContentOneofCase.RemoveCachedEventResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(RemoveCachedEventResponse);
      }
      if (contentCase_ == ContentOneofCase.SetStickyEventRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(SetStickyEventRequest);
      }
      if (contentCase_ == ContentOneofCase.SetStickyEventResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(SetStickyEventResponse);
      }
      if (contentCase_ == ContentOneofCase.RemoveStickyEventRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(RemoveStickyEventRequest);
      }
      if (contentCase_ == ContentOneofCase.RemoveStickyEventResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(RemoveStickyEventResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerKickedEvent) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(PlayerKickedEvent);
      }
      if (contentCase_ == ContentOneofCase.Ping) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ping);
      }
      if (contentCase_ == ContentOneofCase.Pong) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(Pong);
      }
      if (contentCase_ == ContentOneofCase.MigrateMasterClientEvent) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(MigrateMasterClientEvent);
      }
      if (contentCase_ == ContentOneofCase.TellRttRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TellRttRequest);
      }
      if (contentCase_ == ContentOneofCase.TellRttResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TellRttResponse);
      }
      if (contentCase_ == ContentOneofCase.QueryStickyEventRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(QueryStickyEventRequest);
      }
      if (contentCase_ == ContentOneofCase.QueryStickyEventResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(QueryStickyEventResponse);
      }
      if (contentCase_ == ContentOneofCase.KickPlayerRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(KickPlayerRequest);
      }
      if (contentCase_ == ContentOneofCase.KickPlayerResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(KickPlayerResponse);
      }
      if (contentCase_ == ContentOneofCase.UpdatePlayerRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UpdatePlayerRequest);
      }
      if (contentCase_ == ContentOneofCase.UpdatePlayerResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UpdatePlayerResponse);
      }
      if (contentCase_ == ContentOneofCase.PlayerUpdatedEvent) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(PlayerUpdatedEvent);
      }
      if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UpdateRoomCustomPropertiesRequest);
      }
      if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UpdateRoomCustomPropertiesResponse);
      }
      if (contentCase_ == ContentOneofCase.RoomCustomPropertiesUpdatedEvent) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(RoomCustomPropertiesUpdatedEvent);
      }
      if (contentCase_ == ContentOneofCase.TellRttOnlyServerRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TellRttOnlyServerRequest);
      }
      if (contentCase_ == ContentOneofCase.TellRttOnlyServerResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TellRttOnlyServerResponse);
      }
      if (contentCase_ == ContentOneofCase.UnreliableReceivedMessage) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnreliableReceivedMessage);
      }
      if (contentCase_ == ContentOneofCase.UnreliableSentMessage) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnreliableSentMessage);
      }
      if (contentCase_ == ContentOneofCase.SetHeartbeatRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(SetHeartbeatRequest);
      }
      if (contentCase_ == ContentOneofCase.SetHeartbeatResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(SetHeartbeatResponse);
      }
      if (contentCase_ == ContentOneofCase.FetchTimestampRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(FetchTimestampRequest);
      }
      if (contentCase_ == ContentOneofCase.FetchTimestampResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(FetchTimestampResponse);
      }
      if (contentCase_ == ContentOneofCase.GetSlicedCacheRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSlicedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.GetSlicedCacheResponse) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSlicedCacheResponse);
      }
      if (contentCase_ == ContentOneofCase.OperateSliceRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OperateSliceRequest);
      }
      if (contentCase_ == ContentOneofCase.AddCodedCacheRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddCodedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.RemoveCodedCacheRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(RemoveCodedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.ClearInvalidCodedCacheRequest) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(ClearInvalidCodedCacheRequest);
      }
      if (contentCase_ == ContentOneofCase.CacheSliceChangedEvent) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CacheSliceChangedEvent);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(MuninnEvent other) {
      if (other == null) {
        return;
      }
      switch (other.ContentCase) {
        case ContentOneofCase.SentMessage:
          if (SentMessage == null) {
            SentMessage = new global::Unity.Muninn.Message.SentMessage();
          }
          SentMessage.MergeFrom(other.SentMessage);
          break;
        case ContentOneofCase.ReceivedMessage:
          if (ReceivedMessage == null) {
            ReceivedMessage = new global::Unity.Muninn.Message.ReceivedMessage();
          }
          ReceivedMessage.MergeFrom(other.ReceivedMessage);
          break;
        case ContentOneofCase.JoinRoomRequest:
          if (JoinRoomRequest == null) {
            JoinRoomRequest = new global::Unity.Muninn.Message.JoinRoomRequest();
          }
          JoinRoomRequest.MergeFrom(other.JoinRoomRequest);
          break;
        case ContentOneofCase.JoinRoomResponse:
          if (JoinRoomResponse == null) {
            JoinRoomResponse = new global::Unity.Muninn.Message.JoinRoomResponse();
          }
          JoinRoomResponse.MergeFrom(other.JoinRoomResponse);
          break;
        case ContentOneofCase.PlayerEnteredRoomEvent:
          if (PlayerEnteredRoomEvent == null) {
            PlayerEnteredRoomEvent = new global::Unity.Muninn.Message.PlayerEnteredRoomEvent();
          }
          PlayerEnteredRoomEvent.MergeFrom(other.PlayerEnteredRoomEvent);
          break;
        case ContentOneofCase.LeaveRoomRequest:
          if (LeaveRoomRequest == null) {
            LeaveRoomRequest = new global::Unity.Muninn.Message.LeaveRoomRequest();
          }
          LeaveRoomRequest.MergeFrom(other.LeaveRoomRequest);
          break;
        case ContentOneofCase.LeaveRoomResponse:
          if (LeaveRoomResponse == null) {
            LeaveRoomResponse = new global::Unity.Muninn.Message.LeaveRoomResponse();
          }
          LeaveRoomResponse.MergeFrom(other.LeaveRoomResponse);
          break;
        case ContentOneofCase.PlayerLeftRoomEvent:
          if (PlayerLeftRoomEvent == null) {
            PlayerLeftRoomEvent = new global::Unity.Muninn.Message.PlayerLeftRoomEvent();
          }
          PlayerLeftRoomEvent.MergeFrom(other.PlayerLeftRoomEvent);
          break;
        case ContentOneofCase.SubscribeGroupsRequest:
          if (SubscribeGroupsRequest == null) {
            SubscribeGroupsRequest = new global::Unity.Muninn.Message.SubscribeGroupsRequest();
          }
          SubscribeGroupsRequest.MergeFrom(other.SubscribeGroupsRequest);
          break;
        case ContentOneofCase.SubscribeGroupsResponse:
          if (SubscribeGroupsResponse == null) {
            SubscribeGroupsResponse = new global::Unity.Muninn.Message.SubscribeGroupsResponse();
          }
          SubscribeGroupsResponse.MergeFrom(other.SubscribeGroupsResponse);
          break;
        case ContentOneofCase.UnsubscribeGroupsRequest:
          if (UnsubscribeGroupsRequest == null) {
            UnsubscribeGroupsRequest = new global::Unity.Muninn.Message.UnsubscribeGroupsRequest();
          }
          UnsubscribeGroupsRequest.MergeFrom(other.UnsubscribeGroupsRequest);
          break;
        case ContentOneofCase.UnsubscribeGroupsResponse:
          if (UnsubscribeGroupsResponse == null) {
            UnsubscribeGroupsResponse = new global::Unity.Muninn.Message.UnsubscribeGroupsResponse();
          }
          UnsubscribeGroupsResponse.MergeFrom(other.UnsubscribeGroupsResponse);
          break;
        case ContentOneofCase.AddCachedEventRequest:
          if (AddCachedEventRequest == null) {
            AddCachedEventRequest = new global::Unity.Muninn.Message.AddCachedEventRequest();
          }
          AddCachedEventRequest.MergeFrom(other.AddCachedEventRequest);
          break;
        case ContentOneofCase.AddCachedEventResponse:
          if (AddCachedEventResponse == null) {
            AddCachedEventResponse = new global::Unity.Muninn.Message.AddCachedEventResponse();
          }
          AddCachedEventResponse.MergeFrom(other.AddCachedEventResponse);
          break;
        case ContentOneofCase.RemoveCachedEventRequest:
          if (RemoveCachedEventRequest == null) {
            RemoveCachedEventRequest = new global::Unity.Muninn.Message.RemoveCachedEventRequest();
          }
          RemoveCachedEventRequest.MergeFrom(other.RemoveCachedEventRequest);
          break;
        case ContentOneofCase.RemoveCachedEventResponse:
          if (RemoveCachedEventResponse == null) {
            RemoveCachedEventResponse = new global::Unity.Muninn.Message.RemoveCachedEventResponse();
          }
          RemoveCachedEventResponse.MergeFrom(other.RemoveCachedEventResponse);
          break;
        case ContentOneofCase.SetStickyEventRequest:
          if (SetStickyEventRequest == null) {
            SetStickyEventRequest = new global::Unity.Muninn.Message.SetStickyEventRequest();
          }
          SetStickyEventRequest.MergeFrom(other.SetStickyEventRequest);
          break;
        case ContentOneofCase.SetStickyEventResponse:
          if (SetStickyEventResponse == null) {
            SetStickyEventResponse = new global::Unity.Muninn.Message.SetStickyEventResponse();
          }
          SetStickyEventResponse.MergeFrom(other.SetStickyEventResponse);
          break;
        case ContentOneofCase.RemoveStickyEventRequest:
          if (RemoveStickyEventRequest == null) {
            RemoveStickyEventRequest = new global::Unity.Muninn.Message.RemoveStickyEventRequest();
          }
          RemoveStickyEventRequest.MergeFrom(other.RemoveStickyEventRequest);
          break;
        case ContentOneofCase.RemoveStickyEventResponse:
          if (RemoveStickyEventResponse == null) {
            RemoveStickyEventResponse = new global::Unity.Muninn.Message.RemoveStickyEventResponse();
          }
          RemoveStickyEventResponse.MergeFrom(other.RemoveStickyEventResponse);
          break;
        case ContentOneofCase.PlayerKickedEvent:
          if (PlayerKickedEvent == null) {
            PlayerKickedEvent = new global::Unity.Muninn.Message.PlayerKickedEvent();
          }
          PlayerKickedEvent.MergeFrom(other.PlayerKickedEvent);
          break;
        case ContentOneofCase.Ping:
          if (Ping == null) {
            Ping = new global::Unity.Muninn.Message.MuninnPing();
          }
          Ping.MergeFrom(other.Ping);
          break;
        case ContentOneofCase.Pong:
          if (Pong == null) {
            Pong = new global::Unity.Muninn.Message.MuninnPong();
          }
          Pong.MergeFrom(other.Pong);
          break;
        case ContentOneofCase.MigrateMasterClientEvent:
          if (MigrateMasterClientEvent == null) {
            MigrateMasterClientEvent = new global::Unity.Muninn.Message.MigrateMasterClientEvent();
          }
          MigrateMasterClientEvent.MergeFrom(other.MigrateMasterClientEvent);
          break;
        case ContentOneofCase.TellRttRequest:
          if (TellRttRequest == null) {
            TellRttRequest = new global::Unity.Muninn.Message.TellRttRequest();
          }
          TellRttRequest.MergeFrom(other.TellRttRequest);
          break;
        case ContentOneofCase.TellRttResponse:
          if (TellRttResponse == null) {
            TellRttResponse = new global::Unity.Muninn.Message.TellRttResponse();
          }
          TellRttResponse.MergeFrom(other.TellRttResponse);
          break;
        case ContentOneofCase.QueryStickyEventRequest:
          if (QueryStickyEventRequest == null) {
            QueryStickyEventRequest = new global::Unity.Muninn.Message.QueryStickyEventRequest();
          }
          QueryStickyEventRequest.MergeFrom(other.QueryStickyEventRequest);
          break;
        case ContentOneofCase.QueryStickyEventResponse:
          if (QueryStickyEventResponse == null) {
            QueryStickyEventResponse = new global::Unity.Muninn.Message.QueryStickyEventResponse();
          }
          QueryStickyEventResponse.MergeFrom(other.QueryStickyEventResponse);
          break;
        case ContentOneofCase.KickPlayerRequest:
          if (KickPlayerRequest == null) {
            KickPlayerRequest = new global::Unity.Muninn.Message.KickPlayerRequest();
          }
          KickPlayerRequest.MergeFrom(other.KickPlayerRequest);
          break;
        case ContentOneofCase.KickPlayerResponse:
          if (KickPlayerResponse == null) {
            KickPlayerResponse = new global::Unity.Muninn.Message.KickPlayerResponse();
          }
          KickPlayerResponse.MergeFrom(other.KickPlayerResponse);
          break;
        case ContentOneofCase.UpdatePlayerRequest:
          if (UpdatePlayerRequest == null) {
            UpdatePlayerRequest = new global::Unity.Muninn.Message.UpdatePlayerRequest();
          }
          UpdatePlayerRequest.MergeFrom(other.UpdatePlayerRequest);
          break;
        case ContentOneofCase.UpdatePlayerResponse:
          if (UpdatePlayerResponse == null) {
            UpdatePlayerResponse = new global::Unity.Muninn.Message.UpdatePlayerResponse();
          }
          UpdatePlayerResponse.MergeFrom(other.UpdatePlayerResponse);
          break;
        case ContentOneofCase.PlayerUpdatedEvent:
          if (PlayerUpdatedEvent == null) {
            PlayerUpdatedEvent = new global::Unity.Muninn.Message.PlayerUpdatedEvent();
          }
          PlayerUpdatedEvent.MergeFrom(other.PlayerUpdatedEvent);
          break;
        case ContentOneofCase.UpdateRoomCustomPropertiesRequest:
          if (UpdateRoomCustomPropertiesRequest == null) {
            UpdateRoomCustomPropertiesRequest = new global::Unity.Muninn.Message.UpdateRoomCustomPropertiesRequest();
          }
          UpdateRoomCustomPropertiesRequest.MergeFrom(other.UpdateRoomCustomPropertiesRequest);
          break;
        case ContentOneofCase.UpdateRoomCustomPropertiesResponse:
          if (UpdateRoomCustomPropertiesResponse == null) {
            UpdateRoomCustomPropertiesResponse = new global::Unity.Muninn.Message.UpdateRoomCustomPropertiesResponse();
          }
          UpdateRoomCustomPropertiesResponse.MergeFrom(other.UpdateRoomCustomPropertiesResponse);
          break;
        case ContentOneofCase.RoomCustomPropertiesUpdatedEvent:
          if (RoomCustomPropertiesUpdatedEvent == null) {
            RoomCustomPropertiesUpdatedEvent = new global::Unity.Muninn.Message.RoomCustomPropertiesUpdatedEvent();
          }
          RoomCustomPropertiesUpdatedEvent.MergeFrom(other.RoomCustomPropertiesUpdatedEvent);
          break;
        case ContentOneofCase.TellRttOnlyServerRequest:
          if (TellRttOnlyServerRequest == null) {
            TellRttOnlyServerRequest = new global::Unity.Muninn.Message.TellRttOnlyServerRequest();
          }
          TellRttOnlyServerRequest.MergeFrom(other.TellRttOnlyServerRequest);
          break;
        case ContentOneofCase.TellRttOnlyServerResponse:
          if (TellRttOnlyServerResponse == null) {
            TellRttOnlyServerResponse = new global::Unity.Muninn.Message.TellRttOnlyServerResponse();
          }
          TellRttOnlyServerResponse.MergeFrom(other.TellRttOnlyServerResponse);
          break;
        case ContentOneofCase.UnreliableReceivedMessage:
          if (UnreliableReceivedMessage == null) {
            UnreliableReceivedMessage = new global::Unity.Muninn.Message.UnreliableReceivedMessage();
          }
          UnreliableReceivedMessage.MergeFrom(other.UnreliableReceivedMessage);
          break;
        case ContentOneofCase.UnreliableSentMessage:
          if (UnreliableSentMessage == null) {
            UnreliableSentMessage = new global::Unity.Muninn.Message.UnreliableSentMessage();
          }
          UnreliableSentMessage.MergeFrom(other.UnreliableSentMessage);
          break;
        case ContentOneofCase.SetHeartbeatRequest:
          if (SetHeartbeatRequest == null) {
            SetHeartbeatRequest = new global::Unity.Muninn.Message.SetHeartbeatRequest();
          }
          SetHeartbeatRequest.MergeFrom(other.SetHeartbeatRequest);
          break;
        case ContentOneofCase.SetHeartbeatResponse:
          if (SetHeartbeatResponse == null) {
            SetHeartbeatResponse = new global::Unity.Muninn.Message.SetHeartbeatResponse();
          }
          SetHeartbeatResponse.MergeFrom(other.SetHeartbeatResponse);
          break;
        case ContentOneofCase.FetchTimestampRequest:
          if (FetchTimestampRequest == null) {
            FetchTimestampRequest = new global::Unity.Muninn.Message.FetchTimestampRequest();
          }
          FetchTimestampRequest.MergeFrom(other.FetchTimestampRequest);
          break;
        case ContentOneofCase.FetchTimestampResponse:
          if (FetchTimestampResponse == null) {
            FetchTimestampResponse = new global::Unity.Muninn.Message.FetchTimestampResponse();
          }
          FetchTimestampResponse.MergeFrom(other.FetchTimestampResponse);
          break;
        case ContentOneofCase.GetSlicedCacheRequest:
          if (GetSlicedCacheRequest == null) {
            GetSlicedCacheRequest = new global::Unity.Muninn.Message.GetSlicedCacheRequest();
          }
          GetSlicedCacheRequest.MergeFrom(other.GetSlicedCacheRequest);
          break;
        case ContentOneofCase.GetSlicedCacheResponse:
          if (GetSlicedCacheResponse == null) {
            GetSlicedCacheResponse = new global::Unity.Muninn.Message.GetSlicedCacheResponse();
          }
          GetSlicedCacheResponse.MergeFrom(other.GetSlicedCacheResponse);
          break;
        case ContentOneofCase.OperateSliceRequest:
          if (OperateSliceRequest == null) {
            OperateSliceRequest = new global::Unity.Muninn.Message.OperateSliceRequest();
          }
          OperateSliceRequest.MergeFrom(other.OperateSliceRequest);
          break;
        case ContentOneofCase.AddCodedCacheRequest:
          if (AddCodedCacheRequest == null) {
            AddCodedCacheRequest = new global::Unity.Muninn.Message.AddCodedCacheRequest();
          }
          AddCodedCacheRequest.MergeFrom(other.AddCodedCacheRequest);
          break;
        case ContentOneofCase.RemoveCodedCacheRequest:
          if (RemoveCodedCacheRequest == null) {
            RemoveCodedCacheRequest = new global::Unity.Muninn.Message.RemoveCodedCacheRequest();
          }
          RemoveCodedCacheRequest.MergeFrom(other.RemoveCodedCacheRequest);
          break;
        case ContentOneofCase.ClearInvalidCodedCacheRequest:
          if (ClearInvalidCodedCacheRequest == null) {
            ClearInvalidCodedCacheRequest = new global::Unity.Muninn.Message.ClearInvalidCodedCacheRequest();
          }
          ClearInvalidCodedCacheRequest.MergeFrom(other.ClearInvalidCodedCacheRequest);
          break;
        case ContentOneofCase.CacheSliceChangedEvent:
          if (CacheSliceChangedEvent == null) {
            CacheSliceChangedEvent = new global::Unity.Muninn.Message.CacheSliceChangedEvent();
          }
          CacheSliceChangedEvent.MergeFrom(other.CacheSliceChangedEvent);
          break;
      }

      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 18: {
            global::Unity.Muninn.Message.SentMessage subBuilder = new global::Unity.Muninn.Message.SentMessage();
            if (contentCase_ == ContentOneofCase.SentMessage) {
              subBuilder.MergeFrom(SentMessage);
            }
            input.ReadMessage(subBuilder);
            SentMessage = subBuilder;
            break;
          }
          case 26: {
            global::Unity.Muninn.Message.ReceivedMessage subBuilder = new global::Unity.Muninn.Message.ReceivedMessage();
            if (contentCase_ == ContentOneofCase.ReceivedMessage) {
              subBuilder.MergeFrom(ReceivedMessage);
            }
            input.ReadMessage(subBuilder);
            ReceivedMessage = subBuilder;
            break;
          }
          case 34: {
            global::Unity.Muninn.Message.JoinRoomRequest subBuilder = new global::Unity.Muninn.Message.JoinRoomRequest();
            if (contentCase_ == ContentOneofCase.JoinRoomRequest) {
              subBuilder.MergeFrom(JoinRoomRequest);
            }
            input.ReadMessage(subBuilder);
            JoinRoomRequest = subBuilder;
            break;
          }
          case 42: {
            global::Unity.Muninn.Message.JoinRoomResponse subBuilder = new global::Unity.Muninn.Message.JoinRoomResponse();
            if (contentCase_ == ContentOneofCase.JoinRoomResponse) {
              subBuilder.MergeFrom(JoinRoomResponse);
            }
            input.ReadMessage(subBuilder);
            JoinRoomResponse = subBuilder;
            break;
          }
          case 50: {
            global::Unity.Muninn.Message.PlayerEnteredRoomEvent subBuilder = new global::Unity.Muninn.Message.PlayerEnteredRoomEvent();
            if (contentCase_ == ContentOneofCase.PlayerEnteredRoomEvent) {
              subBuilder.MergeFrom(PlayerEnteredRoomEvent);
            }
            input.ReadMessage(subBuilder);
            PlayerEnteredRoomEvent = subBuilder;
            break;
          }
          case 58: {
            global::Unity.Muninn.Message.LeaveRoomRequest subBuilder = new global::Unity.Muninn.Message.LeaveRoomRequest();
            if (contentCase_ == ContentOneofCase.LeaveRoomRequest) {
              subBuilder.MergeFrom(LeaveRoomRequest);
            }
            input.ReadMessage(subBuilder);
            LeaveRoomRequest = subBuilder;
            break;
          }
          case 66: {
            global::Unity.Muninn.Message.LeaveRoomResponse subBuilder = new global::Unity.Muninn.Message.LeaveRoomResponse();
            if (contentCase_ == ContentOneofCase.LeaveRoomResponse) {
              subBuilder.MergeFrom(LeaveRoomResponse);
            }
            input.ReadMessage(subBuilder);
            LeaveRoomResponse = subBuilder;
            break;
          }
          case 74: {
            global::Unity.Muninn.Message.PlayerLeftRoomEvent subBuilder = new global::Unity.Muninn.Message.PlayerLeftRoomEvent();
            if (contentCase_ == ContentOneofCase.PlayerLeftRoomEvent) {
              subBuilder.MergeFrom(PlayerLeftRoomEvent);
            }
            input.ReadMessage(subBuilder);
            PlayerLeftRoomEvent = subBuilder;
            break;
          }
          case 82: {
            global::Unity.Muninn.Message.SubscribeGroupsRequest subBuilder = new global::Unity.Muninn.Message.SubscribeGroupsRequest();
            if (contentCase_ == ContentOneofCase.SubscribeGroupsRequest) {
              subBuilder.MergeFrom(SubscribeGroupsRequest);
            }
            input.ReadMessage(subBuilder);
            SubscribeGroupsRequest = subBuilder;
            break;
          }
          case 90: {
            global::Unity.Muninn.Message.SubscribeGroupsResponse subBuilder = new global::Unity.Muninn.Message.SubscribeGroupsResponse();
            if (contentCase_ == ContentOneofCase.SubscribeGroupsResponse) {
              subBuilder.MergeFrom(SubscribeGroupsResponse);
            }
            input.ReadMessage(subBuilder);
            SubscribeGroupsResponse = subBuilder;
            break;
          }
          case 98: {
            global::Unity.Muninn.Message.UnsubscribeGroupsRequest subBuilder = new global::Unity.Muninn.Message.UnsubscribeGroupsRequest();
            if (contentCase_ == ContentOneofCase.UnsubscribeGroupsRequest) {
              subBuilder.MergeFrom(UnsubscribeGroupsRequest);
            }
            input.ReadMessage(subBuilder);
            UnsubscribeGroupsRequest = subBuilder;
            break;
          }
          case 106: {
            global::Unity.Muninn.Message.UnsubscribeGroupsResponse subBuilder = new global::Unity.Muninn.Message.UnsubscribeGroupsResponse();
            if (contentCase_ == ContentOneofCase.UnsubscribeGroupsResponse) {
              subBuilder.MergeFrom(UnsubscribeGroupsResponse);
            }
            input.ReadMessage(subBuilder);
            UnsubscribeGroupsResponse = subBuilder;
            break;
          }
          case 114: {
            global::Unity.Muninn.Message.AddCachedEventRequest subBuilder = new global::Unity.Muninn.Message.AddCachedEventRequest();
            if (contentCase_ == ContentOneofCase.AddCachedEventRequest) {
              subBuilder.MergeFrom(AddCachedEventRequest);
            }
            input.ReadMessage(subBuilder);
            AddCachedEventRequest = subBuilder;
            break;
          }
          case 122: {
            global::Unity.Muninn.Message.AddCachedEventResponse subBuilder = new global::Unity.Muninn.Message.AddCachedEventResponse();
            if (contentCase_ == ContentOneofCase.AddCachedEventResponse) {
              subBuilder.MergeFrom(AddCachedEventResponse);
            }
            input.ReadMessage(subBuilder);
            AddCachedEventResponse = subBuilder;
            break;
          }
          case 130: {
            global::Unity.Muninn.Message.RemoveCachedEventRequest subBuilder = new global::Unity.Muninn.Message.RemoveCachedEventRequest();
            if (contentCase_ == ContentOneofCase.RemoveCachedEventRequest) {
              subBuilder.MergeFrom(RemoveCachedEventRequest);
            }
            input.ReadMessage(subBuilder);
            RemoveCachedEventRequest = subBuilder;
            break;
          }
          case 138: {
            global::Unity.Muninn.Message.RemoveCachedEventResponse subBuilder = new global::Unity.Muninn.Message.RemoveCachedEventResponse();
            if (contentCase_ == ContentOneofCase.RemoveCachedEventResponse) {
              subBuilder.MergeFrom(RemoveCachedEventResponse);
            }
            input.ReadMessage(subBuilder);
            RemoveCachedEventResponse = subBuilder;
            break;
          }
          case 146: {
            global::Unity.Muninn.Message.SetStickyEventRequest subBuilder = new global::Unity.Muninn.Message.SetStickyEventRequest();
            if (contentCase_ == ContentOneofCase.SetStickyEventRequest) {
              subBuilder.MergeFrom(SetStickyEventRequest);
            }
            input.ReadMessage(subBuilder);
            SetStickyEventRequest = subBuilder;
            break;
          }
          case 154: {
            global::Unity.Muninn.Message.SetStickyEventResponse subBuilder = new global::Unity.Muninn.Message.SetStickyEventResponse();
            if (contentCase_ == ContentOneofCase.SetStickyEventResponse) {
              subBuilder.MergeFrom(SetStickyEventResponse);
            }
            input.ReadMessage(subBuilder);
            SetStickyEventResponse = subBuilder;
            break;
          }
          case 162: {
            global::Unity.Muninn.Message.RemoveStickyEventRequest subBuilder = new global::Unity.Muninn.Message.RemoveStickyEventRequest();
            if (contentCase_ == ContentOneofCase.RemoveStickyEventRequest) {
              subBuilder.MergeFrom(RemoveStickyEventRequest);
            }
            input.ReadMessage(subBuilder);
            RemoveStickyEventRequest = subBuilder;
            break;
          }
          case 170: {
            global::Unity.Muninn.Message.RemoveStickyEventResponse subBuilder = new global::Unity.Muninn.Message.RemoveStickyEventResponse();
            if (contentCase_ == ContentOneofCase.RemoveStickyEventResponse) {
              subBuilder.MergeFrom(RemoveStickyEventResponse);
            }
            input.ReadMessage(subBuilder);
            RemoveStickyEventResponse = subBuilder;
            break;
          }
          case 178: {
            global::Unity.Muninn.Message.PlayerKickedEvent subBuilder = new global::Unity.Muninn.Message.PlayerKickedEvent();
            if (contentCase_ == ContentOneofCase.PlayerKickedEvent) {
              subBuilder.MergeFrom(PlayerKickedEvent);
            }
            input.ReadMessage(subBuilder);
            PlayerKickedEvent = subBuilder;
            break;
          }
          case 186: {
            global::Unity.Muninn.Message.MuninnPing subBuilder = new global::Unity.Muninn.Message.MuninnPing();
            if (contentCase_ == ContentOneofCase.Ping) {
              subBuilder.MergeFrom(Ping);
            }
            input.ReadMessage(subBuilder);
            Ping = subBuilder;
            break;
          }
          case 194: {
            global::Unity.Muninn.Message.MuninnPong subBuilder = new global::Unity.Muninn.Message.MuninnPong();
            if (contentCase_ == ContentOneofCase.Pong) {
              subBuilder.MergeFrom(Pong);
            }
            input.ReadMessage(subBuilder);
            Pong = subBuilder;
            break;
          }
          case 202: {
            global::Unity.Muninn.Message.MigrateMasterClientEvent subBuilder = new global::Unity.Muninn.Message.MigrateMasterClientEvent();
            if (contentCase_ == ContentOneofCase.MigrateMasterClientEvent) {
              subBuilder.MergeFrom(MigrateMasterClientEvent);
            }
            input.ReadMessage(subBuilder);
            MigrateMasterClientEvent = subBuilder;
            break;
          }
          case 210: {
            global::Unity.Muninn.Message.TellRttRequest subBuilder = new global::Unity.Muninn.Message.TellRttRequest();
            if (contentCase_ == ContentOneofCase.TellRttRequest) {
              subBuilder.MergeFrom(TellRttRequest);
            }
            input.ReadMessage(subBuilder);
            TellRttRequest = subBuilder;
            break;
          }
          case 218: {
            global::Unity.Muninn.Message.TellRttResponse subBuilder = new global::Unity.Muninn.Message.TellRttResponse();
            if (contentCase_ == ContentOneofCase.TellRttResponse) {
              subBuilder.MergeFrom(TellRttResponse);
            }
            input.ReadMessage(subBuilder);
            TellRttResponse = subBuilder;
            break;
          }
          case 226: {
            global::Unity.Muninn.Message.QueryStickyEventRequest subBuilder = new global::Unity.Muninn.Message.QueryStickyEventRequest();
            if (contentCase_ == ContentOneofCase.QueryStickyEventRequest) {
              subBuilder.MergeFrom(QueryStickyEventRequest);
            }
            input.ReadMessage(subBuilder);
            QueryStickyEventRequest = subBuilder;
            break;
          }
          case 234: {
            global::Unity.Muninn.Message.QueryStickyEventResponse subBuilder = new global::Unity.Muninn.Message.QueryStickyEventResponse();
            if (contentCase_ == ContentOneofCase.QueryStickyEventResponse) {
              subBuilder.MergeFrom(QueryStickyEventResponse);
            }
            input.ReadMessage(subBuilder);
            QueryStickyEventResponse = subBuilder;
            break;
          }
          case 242: {
            global::Unity.Muninn.Message.KickPlayerRequest subBuilder = new global::Unity.Muninn.Message.KickPlayerRequest();
            if (contentCase_ == ContentOneofCase.KickPlayerRequest) {
              subBuilder.MergeFrom(KickPlayerRequest);
            }
            input.ReadMessage(subBuilder);
            KickPlayerRequest = subBuilder;
            break;
          }
          case 250: {
            global::Unity.Muninn.Message.KickPlayerResponse subBuilder = new global::Unity.Muninn.Message.KickPlayerResponse();
            if (contentCase_ == ContentOneofCase.KickPlayerResponse) {
              subBuilder.MergeFrom(KickPlayerResponse);
            }
            input.ReadMessage(subBuilder);
            KickPlayerResponse = subBuilder;
            break;
          }
          case 258: {
            global::Unity.Muninn.Message.UpdatePlayerRequest subBuilder = new global::Unity.Muninn.Message.UpdatePlayerRequest();
            if (contentCase_ == ContentOneofCase.UpdatePlayerRequest) {
              subBuilder.MergeFrom(UpdatePlayerRequest);
            }
            input.ReadMessage(subBuilder);
            UpdatePlayerRequest = subBuilder;
            break;
          }
          case 266: {
            global::Unity.Muninn.Message.UpdatePlayerResponse subBuilder = new global::Unity.Muninn.Message.UpdatePlayerResponse();
            if (contentCase_ == ContentOneofCase.UpdatePlayerResponse) {
              subBuilder.MergeFrom(UpdatePlayerResponse);
            }
            input.ReadMessage(subBuilder);
            UpdatePlayerResponse = subBuilder;
            break;
          }
          case 274: {
            global::Unity.Muninn.Message.PlayerUpdatedEvent subBuilder = new global::Unity.Muninn.Message.PlayerUpdatedEvent();
            if (contentCase_ == ContentOneofCase.PlayerUpdatedEvent) {
              subBuilder.MergeFrom(PlayerUpdatedEvent);
            }
            input.ReadMessage(subBuilder);
            PlayerUpdatedEvent = subBuilder;
            break;
          }
          case 282: {
            global::Unity.Muninn.Message.UpdateRoomCustomPropertiesRequest subBuilder = new global::Unity.Muninn.Message.UpdateRoomCustomPropertiesRequest();
            if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesRequest) {
              subBuilder.MergeFrom(UpdateRoomCustomPropertiesRequest);
            }
            input.ReadMessage(subBuilder);
            UpdateRoomCustomPropertiesRequest = subBuilder;
            break;
          }
          case 290: {
            global::Unity.Muninn.Message.UpdateRoomCustomPropertiesResponse subBuilder = new global::Unity.Muninn.Message.UpdateRoomCustomPropertiesResponse();
            if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesResponse) {
              subBuilder.MergeFrom(UpdateRoomCustomPropertiesResponse);
            }
            input.ReadMessage(subBuilder);
            UpdateRoomCustomPropertiesResponse = subBuilder;
            break;
          }
          case 298: {
            global::Unity.Muninn.Message.RoomCustomPropertiesUpdatedEvent subBuilder = new global::Unity.Muninn.Message.RoomCustomPropertiesUpdatedEvent();
            if (contentCase_ == ContentOneofCase.RoomCustomPropertiesUpdatedEvent) {
              subBuilder.MergeFrom(RoomCustomPropertiesUpdatedEvent);
            }
            input.ReadMessage(subBuilder);
            RoomCustomPropertiesUpdatedEvent = subBuilder;
            break;
          }
          case 306: {
            global::Unity.Muninn.Message.TellRttOnlyServerRequest subBuilder = new global::Unity.Muninn.Message.TellRttOnlyServerRequest();
            if (contentCase_ == ContentOneofCase.TellRttOnlyServerRequest) {
              subBuilder.MergeFrom(TellRttOnlyServerRequest);
            }
            input.ReadMessage(subBuilder);
            TellRttOnlyServerRequest = subBuilder;
            break;
          }
          case 314: {
            global::Unity.Muninn.Message.TellRttOnlyServerResponse subBuilder = new global::Unity.Muninn.Message.TellRttOnlyServerResponse();
            if (contentCase_ == ContentOneofCase.TellRttOnlyServerResponse) {
              subBuilder.MergeFrom(TellRttOnlyServerResponse);
            }
            input.ReadMessage(subBuilder);
            TellRttOnlyServerResponse = subBuilder;
            break;
          }
          case 322: {
            global::Unity.Muninn.Message.UnreliableReceivedMessage subBuilder = new global::Unity.Muninn.Message.UnreliableReceivedMessage();
            if (contentCase_ == ContentOneofCase.UnreliableReceivedMessage) {
              subBuilder.MergeFrom(UnreliableReceivedMessage);
            }
            input.ReadMessage(subBuilder);
            UnreliableReceivedMessage = subBuilder;
            break;
          }
          case 330: {
            global::Unity.Muninn.Message.UnreliableSentMessage subBuilder = new global::Unity.Muninn.Message.UnreliableSentMessage();
            if (contentCase_ == ContentOneofCase.UnreliableSentMessage) {
              subBuilder.MergeFrom(UnreliableSentMessage);
            }
            input.ReadMessage(subBuilder);
            UnreliableSentMessage = subBuilder;
            break;
          }
          case 338: {
            global::Unity.Muninn.Message.SetHeartbeatRequest subBuilder = new global::Unity.Muninn.Message.SetHeartbeatRequest();
            if (contentCase_ == ContentOneofCase.SetHeartbeatRequest) {
              subBuilder.MergeFrom(SetHeartbeatRequest);
            }
            input.ReadMessage(subBuilder);
            SetHeartbeatRequest = subBuilder;
            break;
          }
          case 346: {
            global::Unity.Muninn.Message.SetHeartbeatResponse subBuilder = new global::Unity.Muninn.Message.SetHeartbeatResponse();
            if (contentCase_ == ContentOneofCase.SetHeartbeatResponse) {
              subBuilder.MergeFrom(SetHeartbeatResponse);
            }
            input.ReadMessage(subBuilder);
            SetHeartbeatResponse = subBuilder;
            break;
          }
          case 354: {
            global::Unity.Muninn.Message.FetchTimestampRequest subBuilder = new global::Unity.Muninn.Message.FetchTimestampRequest();
            if (contentCase_ == ContentOneofCase.FetchTimestampRequest) {
              subBuilder.MergeFrom(FetchTimestampRequest);
            }
            input.ReadMessage(subBuilder);
            FetchTimestampRequest = subBuilder;
            break;
          }
          case 362: {
            global::Unity.Muninn.Message.FetchTimestampResponse subBuilder = new global::Unity.Muninn.Message.FetchTimestampResponse();
            if (contentCase_ == ContentOneofCase.FetchTimestampResponse) {
              subBuilder.MergeFrom(FetchTimestampResponse);
            }
            input.ReadMessage(subBuilder);
            FetchTimestampResponse = subBuilder;
            break;
          }
          case 370: {
            global::Unity.Muninn.Message.GetSlicedCacheRequest subBuilder = new global::Unity.Muninn.Message.GetSlicedCacheRequest();
            if (contentCase_ == ContentOneofCase.GetSlicedCacheRequest) {
              subBuilder.MergeFrom(GetSlicedCacheRequest);
            }
            input.ReadMessage(subBuilder);
            GetSlicedCacheRequest = subBuilder;
            break;
          }
          case 378: {
            global::Unity.Muninn.Message.GetSlicedCacheResponse subBuilder = new global::Unity.Muninn.Message.GetSlicedCacheResponse();
            if (contentCase_ == ContentOneofCase.GetSlicedCacheResponse) {
              subBuilder.MergeFrom(GetSlicedCacheResponse);
            }
            input.ReadMessage(subBuilder);
            GetSlicedCacheResponse = subBuilder;
            break;
          }
          case 386: {
            global::Unity.Muninn.Message.OperateSliceRequest subBuilder = new global::Unity.Muninn.Message.OperateSliceRequest();
            if (contentCase_ == ContentOneofCase.OperateSliceRequest) {
              subBuilder.MergeFrom(OperateSliceRequest);
            }
            input.ReadMessage(subBuilder);
            OperateSliceRequest = subBuilder;
            break;
          }
          case 394: {
            global::Unity.Muninn.Message.AddCodedCacheRequest subBuilder = new global::Unity.Muninn.Message.AddCodedCacheRequest();
            if (contentCase_ == ContentOneofCase.AddCodedCacheRequest) {
              subBuilder.MergeFrom(AddCodedCacheRequest);
            }
            input.ReadMessage(subBuilder);
            AddCodedCacheRequest = subBuilder;
            break;
          }
          case 402: {
            global::Unity.Muninn.Message.RemoveCodedCacheRequest subBuilder = new global::Unity.Muninn.Message.RemoveCodedCacheRequest();
            if (contentCase_ == ContentOneofCase.RemoveCodedCacheRequest) {
              subBuilder.MergeFrom(RemoveCodedCacheRequest);
            }
            input.ReadMessage(subBuilder);
            RemoveCodedCacheRequest = subBuilder;
            break;
          }
          case 410: {
            global::Unity.Muninn.Message.ClearInvalidCodedCacheRequest subBuilder = new global::Unity.Muninn.Message.ClearInvalidCodedCacheRequest();
            if (contentCase_ == ContentOneofCase.ClearInvalidCodedCacheRequest) {
              subBuilder.MergeFrom(ClearInvalidCodedCacheRequest);
            }
            input.ReadMessage(subBuilder);
            ClearInvalidCodedCacheRequest = subBuilder;
            break;
          }
          case 418: {
            global::Unity.Muninn.Message.CacheSliceChangedEvent subBuilder = new global::Unity.Muninn.Message.CacheSliceChangedEvent();
            if (contentCase_ == ContentOneofCase.CacheSliceChangedEvent) {
              subBuilder.MergeFrom(CacheSliceChangedEvent);
            }
            input.ReadMessage(subBuilder);
            CacheSliceChangedEvent = subBuilder;
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 18: {
            global::Unity.Muninn.Message.SentMessage subBuilder = new global::Unity.Muninn.Message.SentMessage();
            if (contentCase_ == ContentOneofCase.SentMessage) {
              subBuilder.MergeFrom(SentMessage);
            }
            input.ReadMessage(subBuilder);
            SentMessage = subBuilder;
            break;
          }
          case 26: {
            global::Unity.Muninn.Message.ReceivedMessage subBuilder = new global::Unity.Muninn.Message.ReceivedMessage();
            if (contentCase_ == ContentOneofCase.ReceivedMessage) {
              subBuilder.MergeFrom(ReceivedMessage);
            }
            input.ReadMessage(subBuilder);
            ReceivedMessage = subBuilder;
            break;
          }
          case 34: {
            global::Unity.Muninn.Message.JoinRoomRequest subBuilder = new global::Unity.Muninn.Message.JoinRoomRequest();
            if (contentCase_ == ContentOneofCase.JoinRoomRequest) {
              subBuilder.MergeFrom(JoinRoomRequest);
            }
            input.ReadMessage(subBuilder);
            JoinRoomRequest = subBuilder;
            break;
          }
          case 42: {
            global::Unity.Muninn.Message.JoinRoomResponse subBuilder = new global::Unity.Muninn.Message.JoinRoomResponse();
            if (contentCase_ == ContentOneofCase.JoinRoomResponse) {
              subBuilder.MergeFrom(JoinRoomResponse);
            }
            input.ReadMessage(subBuilder);
            JoinRoomResponse = subBuilder;
            break;
          }
          case 50: {
            global::Unity.Muninn.Message.PlayerEnteredRoomEvent subBuilder = new global::Unity.Muninn.Message.PlayerEnteredRoomEvent();
            if (contentCase_ == ContentOneofCase.PlayerEnteredRoomEvent) {
              subBuilder.MergeFrom(PlayerEnteredRoomEvent);
            }
            input.ReadMessage(subBuilder);
            PlayerEnteredRoomEvent = subBuilder;
            break;
          }
          case 58: {
            global::Unity.Muninn.Message.LeaveRoomRequest subBuilder = new global::Unity.Muninn.Message.LeaveRoomRequest();
            if (contentCase_ == ContentOneofCase.LeaveRoomRequest) {
              subBuilder.MergeFrom(LeaveRoomRequest);
            }
            input.ReadMessage(subBuilder);
            LeaveRoomRequest = subBuilder;
            break;
          }
          case 66: {
            global::Unity.Muninn.Message.LeaveRoomResponse subBuilder = new global::Unity.Muninn.Message.LeaveRoomResponse();
            if (contentCase_ == ContentOneofCase.LeaveRoomResponse) {
              subBuilder.MergeFrom(LeaveRoomResponse);
            }
            input.ReadMessage(subBuilder);
            LeaveRoomResponse = subBuilder;
            break;
          }
          case 74: {
            global::Unity.Muninn.Message.PlayerLeftRoomEvent subBuilder = new global::Unity.Muninn.Message.PlayerLeftRoomEvent();
            if (contentCase_ == ContentOneofCase.PlayerLeftRoomEvent) {
              subBuilder.MergeFrom(PlayerLeftRoomEvent);
            }
            input.ReadMessage(subBuilder);
            PlayerLeftRoomEvent = subBuilder;
            break;
          }
          case 82: {
            global::Unity.Muninn.Message.SubscribeGroupsRequest subBuilder = new global::Unity.Muninn.Message.SubscribeGroupsRequest();
            if (contentCase_ == ContentOneofCase.SubscribeGroupsRequest) {
              subBuilder.MergeFrom(SubscribeGroupsRequest);
            }
            input.ReadMessage(subBuilder);
            SubscribeGroupsRequest = subBuilder;
            break;
          }
          case 90: {
            global::Unity.Muninn.Message.SubscribeGroupsResponse subBuilder = new global::Unity.Muninn.Message.SubscribeGroupsResponse();
            if (contentCase_ == ContentOneofCase.SubscribeGroupsResponse) {
              subBuilder.MergeFrom(SubscribeGroupsResponse);
            }
            input.ReadMessage(subBuilder);
            SubscribeGroupsResponse = subBuilder;
            break;
          }
          case 98: {
            global::Unity.Muninn.Message.UnsubscribeGroupsRequest subBuilder = new global::Unity.Muninn.Message.UnsubscribeGroupsRequest();
            if (contentCase_ == ContentOneofCase.UnsubscribeGroupsRequest) {
              subBuilder.MergeFrom(UnsubscribeGroupsRequest);
            }
            input.ReadMessage(subBuilder);
            UnsubscribeGroupsRequest = subBuilder;
            break;
          }
          case 106: {
            global::Unity.Muninn.Message.UnsubscribeGroupsResponse subBuilder = new global::Unity.Muninn.Message.UnsubscribeGroupsResponse();
            if (contentCase_ == ContentOneofCase.UnsubscribeGroupsResponse) {
              subBuilder.MergeFrom(UnsubscribeGroupsResponse);
            }
            input.ReadMessage(subBuilder);
            UnsubscribeGroupsResponse = subBuilder;
            break;
          }
          case 114: {
            global::Unity.Muninn.Message.AddCachedEventRequest subBuilder = new global::Unity.Muninn.Message.AddCachedEventRequest();
            if (contentCase_ == ContentOneofCase.AddCachedEventRequest) {
              subBuilder.MergeFrom(AddCachedEventRequest);
            }
            input.ReadMessage(subBuilder);
            AddCachedEventRequest = subBuilder;
            break;
          }
          case 122: {
            global::Unity.Muninn.Message.AddCachedEventResponse subBuilder = new global::Unity.Muninn.Message.AddCachedEventResponse();
            if (contentCase_ == ContentOneofCase.AddCachedEventResponse) {
              subBuilder.MergeFrom(AddCachedEventResponse);
            }
            input.ReadMessage(subBuilder);
            AddCachedEventResponse = subBuilder;
            break;
          }
          case 130: {
            global::Unity.Muninn.Message.RemoveCachedEventRequest subBuilder = new global::Unity.Muninn.Message.RemoveCachedEventRequest();
            if (contentCase_ == ContentOneofCase.RemoveCachedEventRequest) {
              subBuilder.MergeFrom(RemoveCachedEventRequest);
            }
            input.ReadMessage(subBuilder);
            RemoveCachedEventRequest = subBuilder;
            break;
          }
          case 138: {
            global::Unity.Muninn.Message.RemoveCachedEventResponse subBuilder = new global::Unity.Muninn.Message.RemoveCachedEventResponse();
            if (contentCase_ == ContentOneofCase.RemoveCachedEventResponse) {
              subBuilder.MergeFrom(RemoveCachedEventResponse);
            }
            input.ReadMessage(subBuilder);
            RemoveCachedEventResponse = subBuilder;
            break;
          }
          case 146: {
            global::Unity.Muninn.Message.SetStickyEventRequest subBuilder = new global::Unity.Muninn.Message.SetStickyEventRequest();
            if (contentCase_ == ContentOneofCase.SetStickyEventRequest) {
              subBuilder.MergeFrom(SetStickyEventRequest);
            }
            input.ReadMessage(subBuilder);
            SetStickyEventRequest = subBuilder;
            break;
          }
          case 154: {
            global::Unity.Muninn.Message.SetStickyEventResponse subBuilder = new global::Unity.Muninn.Message.SetStickyEventResponse();
            if (contentCase_ == ContentOneofCase.SetStickyEventResponse) {
              subBuilder.MergeFrom(SetStickyEventResponse);
            }
            input.ReadMessage(subBuilder);
            SetStickyEventResponse = subBuilder;
            break;
          }
          case 162: {
            global::Unity.Muninn.Message.RemoveStickyEventRequest subBuilder = new global::Unity.Muninn.Message.RemoveStickyEventRequest();
            if (contentCase_ == ContentOneofCase.RemoveStickyEventRequest) {
              subBuilder.MergeFrom(RemoveStickyEventRequest);
            }
            input.ReadMessage(subBuilder);
            RemoveStickyEventRequest = subBuilder;
            break;
          }
          case 170: {
            global::Unity.Muninn.Message.RemoveStickyEventResponse subBuilder = new global::Unity.Muninn.Message.RemoveStickyEventResponse();
            if (contentCase_ == ContentOneofCase.RemoveStickyEventResponse) {
              subBuilder.MergeFrom(RemoveStickyEventResponse);
            }
            input.ReadMessage(subBuilder);
            RemoveStickyEventResponse = subBuilder;
            break;
          }
          case 178: {
            global::Unity.Muninn.Message.PlayerKickedEvent subBuilder = new global::Unity.Muninn.Message.PlayerKickedEvent();
            if (contentCase_ == ContentOneofCase.PlayerKickedEvent) {
              subBuilder.MergeFrom(PlayerKickedEvent);
            }
            input.ReadMessage(subBuilder);
            PlayerKickedEvent = subBuilder;
            break;
          }
          case 186: {
            global::Unity.Muninn.Message.MuninnPing subBuilder = new global::Unity.Muninn.Message.MuninnPing();
            if (contentCase_ == ContentOneofCase.Ping) {
              subBuilder.MergeFrom(Ping);
            }
            input.ReadMessage(subBuilder);
            Ping = subBuilder;
            break;
          }
          case 194: {
            global::Unity.Muninn.Message.MuninnPong subBuilder = new global::Unity.Muninn.Message.MuninnPong();
            if (contentCase_ == ContentOneofCase.Pong) {
              subBuilder.MergeFrom(Pong);
            }
            input.ReadMessage(subBuilder);
            Pong = subBuilder;
            break;
          }
          case 202: {
            global::Unity.Muninn.Message.MigrateMasterClientEvent subBuilder = new global::Unity.Muninn.Message.MigrateMasterClientEvent();
            if (contentCase_ == ContentOneofCase.MigrateMasterClientEvent) {
              subBuilder.MergeFrom(MigrateMasterClientEvent);
            }
            input.ReadMessage(subBuilder);
            MigrateMasterClientEvent = subBuilder;
            break;
          }
          case 210: {
            global::Unity.Muninn.Message.TellRttRequest subBuilder = new global::Unity.Muninn.Message.TellRttRequest();
            if (contentCase_ == ContentOneofCase.TellRttRequest) {
              subBuilder.MergeFrom(TellRttRequest);
            }
            input.ReadMessage(subBuilder);
            TellRttRequest = subBuilder;
            break;
          }
          case 218: {
            global::Unity.Muninn.Message.TellRttResponse subBuilder = new global::Unity.Muninn.Message.TellRttResponse();
            if (contentCase_ == ContentOneofCase.TellRttResponse) {
              subBuilder.MergeFrom(TellRttResponse);
            }
            input.ReadMessage(subBuilder);
            TellRttResponse = subBuilder;
            break;
          }
          case 226: {
            global::Unity.Muninn.Message.QueryStickyEventRequest subBuilder = new global::Unity.Muninn.Message.QueryStickyEventRequest();
            if (contentCase_ == ContentOneofCase.QueryStickyEventRequest) {
              subBuilder.MergeFrom(QueryStickyEventRequest);
            }
            input.ReadMessage(subBuilder);
            QueryStickyEventRequest = subBuilder;
            break;
          }
          case 234: {
            global::Unity.Muninn.Message.QueryStickyEventResponse subBuilder = new global::Unity.Muninn.Message.QueryStickyEventResponse();
            if (contentCase_ == ContentOneofCase.QueryStickyEventResponse) {
              subBuilder.MergeFrom(QueryStickyEventResponse);
            }
            input.ReadMessage(subBuilder);
            QueryStickyEventResponse = subBuilder;
            break;
          }
          case 242: {
            global::Unity.Muninn.Message.KickPlayerRequest subBuilder = new global::Unity.Muninn.Message.KickPlayerRequest();
            if (contentCase_ == ContentOneofCase.KickPlayerRequest) {
              subBuilder.MergeFrom(KickPlayerRequest);
            }
            input.ReadMessage(subBuilder);
            KickPlayerRequest = subBuilder;
            break;
          }
          case 250: {
            global::Unity.Muninn.Message.KickPlayerResponse subBuilder = new global::Unity.Muninn.Message.KickPlayerResponse();
            if (contentCase_ == ContentOneofCase.KickPlayerResponse) {
              subBuilder.MergeFrom(KickPlayerResponse);
            }
            input.ReadMessage(subBuilder);
            KickPlayerResponse = subBuilder;
            break;
          }
          case 258: {
            global::Unity.Muninn.Message.UpdatePlayerRequest subBuilder = new global::Unity.Muninn.Message.UpdatePlayerRequest();
            if (contentCase_ == ContentOneofCase.UpdatePlayerRequest) {
              subBuilder.MergeFrom(UpdatePlayerRequest);
            }
            input.ReadMessage(subBuilder);
            UpdatePlayerRequest = subBuilder;
            break;
          }
          case 266: {
            global::Unity.Muninn.Message.UpdatePlayerResponse subBuilder = new global::Unity.Muninn.Message.UpdatePlayerResponse();
            if (contentCase_ == ContentOneofCase.UpdatePlayerResponse) {
              subBuilder.MergeFrom(UpdatePlayerResponse);
            }
            input.ReadMessage(subBuilder);
            UpdatePlayerResponse = subBuilder;
            break;
          }
          case 274: {
            global::Unity.Muninn.Message.PlayerUpdatedEvent subBuilder = new global::Unity.Muninn.Message.PlayerUpdatedEvent();
            if (contentCase_ == ContentOneofCase.PlayerUpdatedEvent) {
              subBuilder.MergeFrom(PlayerUpdatedEvent);
            }
            input.ReadMessage(subBuilder);
            PlayerUpdatedEvent = subBuilder;
            break;
          }
          case 282: {
            global::Unity.Muninn.Message.UpdateRoomCustomPropertiesRequest subBuilder = new global::Unity.Muninn.Message.UpdateRoomCustomPropertiesRequest();
            if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesRequest) {
              subBuilder.MergeFrom(UpdateRoomCustomPropertiesRequest);
            }
            input.ReadMessage(subBuilder);
            UpdateRoomCustomPropertiesRequest = subBuilder;
            break;
          }
          case 290: {
            global::Unity.Muninn.Message.UpdateRoomCustomPropertiesResponse subBuilder = new global::Unity.Muninn.Message.UpdateRoomCustomPropertiesResponse();
            if (contentCase_ == ContentOneofCase.UpdateRoomCustomPropertiesResponse) {
              subBuilder.MergeFrom(UpdateRoomCustomPropertiesResponse);
            }
            input.ReadMessage(subBuilder);
            UpdateRoomCustomPropertiesResponse = subBuilder;
            break;
          }
          case 298: {
            global::Unity.Muninn.Message.RoomCustomPropertiesUpdatedEvent subBuilder = new global::Unity.Muninn.Message.RoomCustomPropertiesUpdatedEvent();
            if (contentCase_ == ContentOneofCase.RoomCustomPropertiesUpdatedEvent) {
              subBuilder.MergeFrom(RoomCustomPropertiesUpdatedEvent);
            }
            input.ReadMessage(subBuilder);
            RoomCustomPropertiesUpdatedEvent = subBuilder;
            break;
          }
          case 306: {
            global::Unity.Muninn.Message.TellRttOnlyServerRequest subBuilder = new global::Unity.Muninn.Message.TellRttOnlyServerRequest();
            if (contentCase_ == ContentOneofCase.TellRttOnlyServerRequest) {
              subBuilder.MergeFrom(TellRttOnlyServerRequest);
            }
            input.ReadMessage(subBuilder);
            TellRttOnlyServerRequest = subBuilder;
            break;
          }
          case 314: {
            global::Unity.Muninn.Message.TellRttOnlyServerResponse subBuilder = new global::Unity.Muninn.Message.TellRttOnlyServerResponse();
            if (contentCase_ == ContentOneofCase.TellRttOnlyServerResponse) {
              subBuilder.MergeFrom(TellRttOnlyServerResponse);
            }
            input.ReadMessage(subBuilder);
            TellRttOnlyServerResponse = subBuilder;
            break;
          }
          case 322: {
            global::Unity.Muninn.Message.UnreliableReceivedMessage subBuilder = new global::Unity.Muninn.Message.UnreliableReceivedMessage();
            if (contentCase_ == ContentOneofCase.UnreliableReceivedMessage) {
              subBuilder.MergeFrom(UnreliableReceivedMessage);
            }
            input.ReadMessage(subBuilder);
            UnreliableReceivedMessage = subBuilder;
            break;
          }
          case 330: {
            global::Unity.Muninn.Message.UnreliableSentMessage subBuilder = new global::Unity.Muninn.Message.UnreliableSentMessage();
            if (contentCase_ == ContentOneofCase.UnreliableSentMessage) {
              subBuilder.MergeFrom(UnreliableSentMessage);
            }
            input.ReadMessage(subBuilder);
            UnreliableSentMessage = subBuilder;
            break;
          }
          case 338: {
            global::Unity.Muninn.Message.SetHeartbeatRequest subBuilder = new global::Unity.Muninn.Message.SetHeartbeatRequest();
            if (contentCase_ == ContentOneofCase.SetHeartbeatRequest) {
              subBuilder.MergeFrom(SetHeartbeatRequest);
            }
            input.ReadMessage(subBuilder);
            SetHeartbeatRequest = subBuilder;
            break;
          }
          case 346: {
            global::Unity.Muninn.Message.SetHeartbeatResponse subBuilder = new global::Unity.Muninn.Message.SetHeartbeatResponse();
            if (contentCase_ == ContentOneofCase.SetHeartbeatResponse) {
              subBuilder.MergeFrom(SetHeartbeatResponse);
            }
            input.ReadMessage(subBuilder);
            SetHeartbeatResponse = subBuilder;
            break;
          }
          case 354: {
            global::Unity.Muninn.Message.FetchTimestampRequest subBuilder = new global::Unity.Muninn.Message.FetchTimestampRequest();
            if (contentCase_ == ContentOneofCase.FetchTimestampRequest) {
              subBuilder.MergeFrom(FetchTimestampRequest);
            }
            input.ReadMessage(subBuilder);
            FetchTimestampRequest = subBuilder;
            break;
          }
          case 362: {
            global::Unity.Muninn.Message.FetchTimestampResponse subBuilder = new global::Unity.Muninn.Message.FetchTimestampResponse();
            if (contentCase_ == ContentOneofCase.FetchTimestampResponse) {
              subBuilder.MergeFrom(FetchTimestampResponse);
            }
            input.ReadMessage(subBuilder);
            FetchTimestampResponse = subBuilder;
            break;
          }
          case 370: {
            global::Unity.Muninn.Message.GetSlicedCacheRequest subBuilder = new global::Unity.Muninn.Message.GetSlicedCacheRequest();
            if (contentCase_ == ContentOneofCase.GetSlicedCacheRequest) {
              subBuilder.MergeFrom(GetSlicedCacheRequest);
            }
            input.ReadMessage(subBuilder);
            GetSlicedCacheRequest = subBuilder;
            break;
          }
          case 378: {
            global::Unity.Muninn.Message.GetSlicedCacheResponse subBuilder = new global::Unity.Muninn.Message.GetSlicedCacheResponse();
            if (contentCase_ == ContentOneofCase.GetSlicedCacheResponse) {
              subBuilder.MergeFrom(GetSlicedCacheResponse);
            }
            input.ReadMessage(subBuilder);
            GetSlicedCacheResponse = subBuilder;
            break;
          }
          case 386: {
            global::Unity.Muninn.Message.OperateSliceRequest subBuilder = new global::Unity.Muninn.Message.OperateSliceRequest();
            if (contentCase_ == ContentOneofCase.OperateSliceRequest) {
              subBuilder.MergeFrom(OperateSliceRequest);
            }
            input.ReadMessage(subBuilder);
            OperateSliceRequest = subBuilder;
            break;
          }
          case 394: {
            global::Unity.Muninn.Message.AddCodedCacheRequest subBuilder = new global::Unity.Muninn.Message.AddCodedCacheRequest();
            if (contentCase_ == ContentOneofCase.AddCodedCacheRequest) {
              subBuilder.MergeFrom(AddCodedCacheRequest);
            }
            input.ReadMessage(subBuilder);
            AddCodedCacheRequest = subBuilder;
            break;
          }
          case 402: {
            global::Unity.Muninn.Message.RemoveCodedCacheRequest subBuilder = new global::Unity.Muninn.Message.RemoveCodedCacheRequest();
            if (contentCase_ == ContentOneofCase.RemoveCodedCacheRequest) {
              subBuilder.MergeFrom(RemoveCodedCacheRequest);
            }
            input.ReadMessage(subBuilder);
            RemoveCodedCacheRequest = subBuilder;
            break;
          }
          case 410: {
            global::Unity.Muninn.Message.ClearInvalidCodedCacheRequest subBuilder = new global::Unity.Muninn.Message.ClearInvalidCodedCacheRequest();
            if (contentCase_ == ContentOneofCase.ClearInvalidCodedCacheRequest) {
              subBuilder.MergeFrom(ClearInvalidCodedCacheRequest);
            }
            input.ReadMessage(subBuilder);
            ClearInvalidCodedCacheRequest = subBuilder;
            break;
          }
          case 418: {
            global::Unity.Muninn.Message.CacheSliceChangedEvent subBuilder = new global::Unity.Muninn.Message.CacheSliceChangedEvent();
            if (contentCase_ == ContentOneofCase.CacheSliceChangedEvent) {
              subBuilder.MergeFrom(CacheSliceChangedEvent);
            }
            input.ReadMessage(subBuilder);
            CacheSliceChangedEvent = subBuilder;
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
