// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: LobbyCreateCsReq.proto // #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 EggLink.DanhengServer.Proto { /// Holder for reflection information generated from LobbyCreateCsReq.proto public static partial class LobbyCreateCsReqReflection { #region Descriptor /// File descriptor for LobbyCreateCsReq.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static LobbyCreateCsReqReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZMb2JieUNyZWF0ZUNzUmVxLnByb3RvGhNMb2JieUdhbWVJbmZvLnByb3Rv", "GhNGaWdodEdhbWVNb2RlLnByb3RvIngKEExvYmJ5Q3JlYXRlQ3NSZXESEgoK", "bG9iYnlfbW9kZRgLIAEoDRInCg9maWdodF9nYW1lX21vZGUYBSABKA4yDi5G", "aWdodEdhbWVNb2RlEicKD2xvYmJ5X2dhbWVfaW5mbxgMIAEoCzIOLkxvYmJ5", "R2FtZUluZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv", "dG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.LobbyGameInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.FightGameModeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.LobbyCreateCsReq), global::EggLink.DanhengServer.Proto.LobbyCreateCsReq.Parser, new[]{ "LobbyMode", "FightGameMode", "LobbyGameInfo" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class LobbyCreateCsReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LobbyCreateCsReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::EggLink.DanhengServer.Proto.LobbyCreateCsReqReflection.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 LobbyCreateCsReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public LobbyCreateCsReq(LobbyCreateCsReq other) : this() { lobbyMode_ = other.lobbyMode_; fightGameMode_ = other.fightGameMode_; lobbyGameInfo_ = other.lobbyGameInfo_ != null ? other.lobbyGameInfo_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public LobbyCreateCsReq Clone() { return new LobbyCreateCsReq(this); } /// Field number for the "lobby_mode" field. public const int LobbyModeFieldNumber = 11; private uint lobbyMode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LobbyMode { get { return lobbyMode_; } set { lobbyMode_ = value; } } /// Field number for the "fight_game_mode" field. public const int FightGameModeFieldNumber = 5; private global::EggLink.DanhengServer.Proto.FightGameMode fightGameMode_ = global::EggLink.DanhengServer.Proto.FightGameMode.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.FightGameMode FightGameMode { get { return fightGameMode_; } set { fightGameMode_ = value; } } /// Field number for the "lobby_game_info" field. public const int LobbyGameInfoFieldNumber = 12; private global::EggLink.DanhengServer.Proto.LobbyGameInfo lobbyGameInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.LobbyGameInfo LobbyGameInfo { get { return lobbyGameInfo_; } set { lobbyGameInfo_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as LobbyCreateCsReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(LobbyCreateCsReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (LobbyMode != other.LobbyMode) return false; if (FightGameMode != other.FightGameMode) return false; if (!object.Equals(LobbyGameInfo, other.LobbyGameInfo)) 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 (LobbyMode != 0) hash ^= LobbyMode.GetHashCode(); if (FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) hash ^= FightGameMode.GetHashCode(); if (lobbyGameInfo_ != null) hash ^= LobbyGameInfo.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 (FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) { output.WriteRawTag(40); output.WriteEnum((int) FightGameMode); } if (LobbyMode != 0) { output.WriteRawTag(88); output.WriteUInt32(LobbyMode); } if (lobbyGameInfo_ != null) { output.WriteRawTag(98); output.WriteMessage(LobbyGameInfo); } 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 (FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) { output.WriteRawTag(40); output.WriteEnum((int) FightGameMode); } if (LobbyMode != 0) { output.WriteRawTag(88); output.WriteUInt32(LobbyMode); } if (lobbyGameInfo_ != null) { output.WriteRawTag(98); output.WriteMessage(LobbyGameInfo); } 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 (LobbyMode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LobbyMode); } if (FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FightGameMode); } if (lobbyGameInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(LobbyGameInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(LobbyCreateCsReq other) { if (other == null) { return; } if (other.LobbyMode != 0) { LobbyMode = other.LobbyMode; } if (other.FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) { FightGameMode = other.FightGameMode; } if (other.lobbyGameInfo_ != null) { if (lobbyGameInfo_ == null) { LobbyGameInfo = new global::EggLink.DanhengServer.Proto.LobbyGameInfo(); } LobbyGameInfo.MergeFrom(other.LobbyGameInfo); } _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 40: { FightGameMode = (global::EggLink.DanhengServer.Proto.FightGameMode) input.ReadEnum(); break; } case 88: { LobbyMode = input.ReadUInt32(); break; } case 98: { if (lobbyGameInfo_ == null) { LobbyGameInfo = new global::EggLink.DanhengServer.Proto.LobbyGameInfo(); } input.ReadMessage(LobbyGameInfo); 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 40: { FightGameMode = (global::EggLink.DanhengServer.Proto.FightGameMode) input.ReadEnum(); break; } case 88: { LobbyMode = input.ReadUInt32(); break; } case 98: { if (lobbyGameInfo_ == null) { LobbyGameInfo = new global::EggLink.DanhengServer.Proto.LobbyGameInfo(); } input.ReadMessage(LobbyGameInfo); break; } } } } #endif } #endregion } #endregion Designer generated code