// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GridFightCurrentInfo.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 GridFightCurrentInfo.proto public static partial class GridFightCurrentInfoReflection { #region Descriptor /// File descriptor for GridFightCurrentInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GridFightCurrentInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChpHcmlkRmlnaHRDdXJyZW50SW5mby5wcm90bxocR3JpZEZpZ2h0UGVuZGlu", "Z0FjdGlvbi5wcm90bxoXR3JpZEZpZ2h0R2FtZURhdGEucHJvdG8aF0dyaWRG", "aWdodEdhbWVJbmZvLnByb3RvIvsBChRHcmlkRmlnaHRDdXJyZW50SW5mbxIv", "Cg5wZW5kaW5nX2FjdGlvbhgJIAEoCzIXLkdyaWRGaWdodFBlbmRpbmdBY3Rp", "b24SMAoUZ3JpZF9maWdodF9nYW1lX2RhdGEYByABKAsyEi5HcmlkRmlnaHRH", "YW1lRGF0YRIOCgZzZWFzb24YDyABKA0SMwoXcm9ndWVfY3VycmVudF9nYW1l", "X2luZm8YDCADKAsyEi5HcmlkRmlnaHRHYW1lSW5mbxIRCgl1bmlxdWVfaWQY", "DiABKA0SEwoLaXNfb3ZlcmxvY2sYCCABKAgSEwoLZGl2aXNpb25faWQYAyAB", "KA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightPendingActionReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightCurrentInfo), global::EggLink.DanhengServer.Proto.GridFightCurrentInfo.Parser, new[]{ "PendingAction", "GridFightGameData", "Season", "RogueCurrentGameInfo", "UniqueId", "IsOverlock", "DivisionId" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightCurrentInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightCurrentInfo()); 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.GridFightCurrentInfoReflection.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 GridFightCurrentInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightCurrentInfo(GridFightCurrentInfo other) : this() { pendingAction_ = other.pendingAction_ != null ? other.pendingAction_.Clone() : null; gridFightGameData_ = other.gridFightGameData_ != null ? other.gridFightGameData_.Clone() : null; season_ = other.season_; rogueCurrentGameInfo_ = other.rogueCurrentGameInfo_.Clone(); uniqueId_ = other.uniqueId_; isOverlock_ = other.isOverlock_; divisionId_ = other.divisionId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightCurrentInfo Clone() { return new GridFightCurrentInfo(this); } /// Field number for the "pending_action" field. public const int PendingActionFieldNumber = 9; private global::EggLink.DanhengServer.Proto.GridFightPendingAction pendingAction_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GridFightPendingAction PendingAction { get { return pendingAction_; } set { pendingAction_ = value; } } /// Field number for the "grid_fight_game_data" field. public const int GridFightGameDataFieldNumber = 7; private global::EggLink.DanhengServer.Proto.GridFightGameData gridFightGameData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GridFightGameData GridFightGameData { get { return gridFightGameData_; } set { gridFightGameData_ = value; } } /// Field number for the "season" field. public const int SeasonFieldNumber = 15; private uint season_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Season { get { return season_; } set { season_ = value; } } /// Field number for the "rogue_current_game_info" field. public const int RogueCurrentGameInfoFieldNumber = 12; private static readonly pb::FieldCodec _repeated_rogueCurrentGameInfo_codec = pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.GridFightGameInfo.Parser); private readonly pbc::RepeatedField rogueCurrentGameInfo_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RogueCurrentGameInfo { get { return rogueCurrentGameInfo_; } } /// Field number for the "unique_id" field. public const int UniqueIdFieldNumber = 14; private uint uniqueId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint UniqueId { get { return uniqueId_; } set { uniqueId_ = value; } } /// Field number for the "is_overlock" field. public const int IsOverlockFieldNumber = 8; private bool isOverlock_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsOverlock { get { return isOverlock_; } set { isOverlock_ = value; } } /// Field number for the "division_id" field. public const int DivisionIdFieldNumber = 3; private uint divisionId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint DivisionId { get { return divisionId_; } set { divisionId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightCurrentInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightCurrentInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(PendingAction, other.PendingAction)) return false; if (!object.Equals(GridFightGameData, other.GridFightGameData)) return false; if (Season != other.Season) return false; if(!rogueCurrentGameInfo_.Equals(other.rogueCurrentGameInfo_)) return false; if (UniqueId != other.UniqueId) return false; if (IsOverlock != other.IsOverlock) return false; if (DivisionId != other.DivisionId) 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 (pendingAction_ != null) hash ^= PendingAction.GetHashCode(); if (gridFightGameData_ != null) hash ^= GridFightGameData.GetHashCode(); if (Season != 0) hash ^= Season.GetHashCode(); hash ^= rogueCurrentGameInfo_.GetHashCode(); if (UniqueId != 0) hash ^= UniqueId.GetHashCode(); if (IsOverlock != false) hash ^= IsOverlock.GetHashCode(); if (DivisionId != 0) hash ^= DivisionId.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 (DivisionId != 0) { output.WriteRawTag(24); output.WriteUInt32(DivisionId); } if (gridFightGameData_ != null) { output.WriteRawTag(58); output.WriteMessage(GridFightGameData); } if (IsOverlock != false) { output.WriteRawTag(64); output.WriteBool(IsOverlock); } if (pendingAction_ != null) { output.WriteRawTag(74); output.WriteMessage(PendingAction); } rogueCurrentGameInfo_.WriteTo(output, _repeated_rogueCurrentGameInfo_codec); if (UniqueId != 0) { output.WriteRawTag(112); output.WriteUInt32(UniqueId); } if (Season != 0) { output.WriteRawTag(120); output.WriteUInt32(Season); } 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 (DivisionId != 0) { output.WriteRawTag(24); output.WriteUInt32(DivisionId); } if (gridFightGameData_ != null) { output.WriteRawTag(58); output.WriteMessage(GridFightGameData); } if (IsOverlock != false) { output.WriteRawTag(64); output.WriteBool(IsOverlock); } if (pendingAction_ != null) { output.WriteRawTag(74); output.WriteMessage(PendingAction); } rogueCurrentGameInfo_.WriteTo(ref output, _repeated_rogueCurrentGameInfo_codec); if (UniqueId != 0) { output.WriteRawTag(112); output.WriteUInt32(UniqueId); } if (Season != 0) { output.WriteRawTag(120); output.WriteUInt32(Season); } 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 (pendingAction_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PendingAction); } if (gridFightGameData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridFightGameData); } if (Season != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Season); } size += rogueCurrentGameInfo_.CalculateSize(_repeated_rogueCurrentGameInfo_codec); if (UniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId); } if (IsOverlock != false) { size += 1 + 1; } if (DivisionId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DivisionId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightCurrentInfo other) { if (other == null) { return; } if (other.pendingAction_ != null) { if (pendingAction_ == null) { PendingAction = new global::EggLink.DanhengServer.Proto.GridFightPendingAction(); } PendingAction.MergeFrom(other.PendingAction); } if (other.gridFightGameData_ != null) { if (gridFightGameData_ == null) { GridFightGameData = new global::EggLink.DanhengServer.Proto.GridFightGameData(); } GridFightGameData.MergeFrom(other.GridFightGameData); } if (other.Season != 0) { Season = other.Season; } rogueCurrentGameInfo_.Add(other.rogueCurrentGameInfo_); if (other.UniqueId != 0) { UniqueId = other.UniqueId; } if (other.IsOverlock != false) { IsOverlock = other.IsOverlock; } if (other.DivisionId != 0) { DivisionId = other.DivisionId; } _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 24: { DivisionId = input.ReadUInt32(); break; } case 58: { if (gridFightGameData_ == null) { GridFightGameData = new global::EggLink.DanhengServer.Proto.GridFightGameData(); } input.ReadMessage(GridFightGameData); break; } case 64: { IsOverlock = input.ReadBool(); break; } case 74: { if (pendingAction_ == null) { PendingAction = new global::EggLink.DanhengServer.Proto.GridFightPendingAction(); } input.ReadMessage(PendingAction); break; } case 98: { rogueCurrentGameInfo_.AddEntriesFrom(input, _repeated_rogueCurrentGameInfo_codec); break; } case 112: { UniqueId = input.ReadUInt32(); break; } case 120: { Season = 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 24: { DivisionId = input.ReadUInt32(); break; } case 58: { if (gridFightGameData_ == null) { GridFightGameData = new global::EggLink.DanhengServer.Proto.GridFightGameData(); } input.ReadMessage(GridFightGameData); break; } case 64: { IsOverlock = input.ReadBool(); break; } case 74: { if (pendingAction_ == null) { PendingAction = new global::EggLink.DanhengServer.Proto.GridFightPendingAction(); } input.ReadMessage(PendingAction); break; } case 98: { rogueCurrentGameInfo_.AddEntriesFrom(ref input, _repeated_rogueCurrentGameInfo_codec); break; } case 112: { UniqueId = input.ReadUInt32(); break; } case 120: { Season = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code