// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GridFightData.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.ServerSide { /// Holder for reflection information generated from GridFightData.proto public static partial class GridFightDataReflection { #region Descriptor /// File descriptor for GridFightData.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GridFightDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChNHcmlkRmlnaHREYXRhLnByb3RvIjcKF0dyaWRGaWdodFNob3BSb2xlSXRl", "bVBiEg4KBlJvbGVJZBgBIAEoDRIMCgRUaWVyGAIgASgNIm4KE0dyaWRGaWdo", "dFNob3BJdGVtUGISLAoIUm9sZUl0ZW0YASABKAsyGC5HcmlkRmlnaHRTaG9w", "Um9sZUl0ZW1QYkgAEgwKBENvc3QYAiABKA0SDwoHU29sZE91dBgDIAEoCEIK", "CghJdGVtVHlwZSKBAQoTR3JpZEZpZ2h0U2hvcEluZm9QYhISCgpTaG9wTG9j", "a2VkGAEgASgIEhgKEEZyZWVSZWZyZXNoQ291bnQYAiABKA0SEwoLUmVmcmVz", "aENvc3QYAyABKA0SJwoJU2hvcEl0ZW1zGAQgAygLMhQuR3JpZEZpZ2h0U2hv", "cEl0ZW1QYiKKAQoTR3JpZEZpZ2h0R2FtZUluZm9QYhIQCghVbmlxdWVJZBgB", "IAEoDRISCgpEaXZpc2lvbklkGAIgASgNEhIKCklzT3ZlckxvY2sYAyABKAgS", "DgoGU2Vhc29uGAQgASgNEikKCkNvbXBvbmVudHMYBSADKAsyFS5HcmlkRmln", "aHRDb21wb25lbnRQYiLMAgoUR3JpZEZpZ2h0QmFzaWNJbmZvUGISDwoHQ3Vy", "R29sZBgBIAEoDRIQCghDdXJMZXZlbBgCIAEoDRIQCghMZXZlbEV4cBgDIAEo", "DRIUCgxCdXlMZXZlbENvc3QYBCABKA0SDQoFQ3VySHAYBSABKA0SFAoMTWF4", "QXZhdGFyTnVtGAYgASgNEhAKCENvbWJvTnVtGAcgASgNEhAKCExvY2tUeXBl", "GAggASgNEhIKCkxvY2tSZWFzb24YCSABKA0SEwoLTWF4SW50ZXJlc3QYCiAB", "KA0SFgoOVHJhY2tpbmdUcmFpdHMYCyADKA0SOgoSVHJhY2tpbmdFcXVpcG1l", "bnRzGAwgAygLMh4uR3JpZEZpZ2h0RXF1aXBtZW50VHJhY2tJbmZvUGISEQoJ", "R3VpZGVDb2RlGA0gASgJEhAKCE1heExldmVsGA4gASgNIlcKHUdyaWRGaWdo", "dEVxdWlwbWVudFRyYWNrSW5mb1BiEhAKCFByaW9yaXR5GAEgASgNEg4KBlJv", "bGVJZBgCIAEoDRIUCgxFcXVpcG1lbnRJZHMYAyADKA0i2AEKE0dyaWRGaWdo", "dFJvbGVJbmZvUGISDgoGUm9sZUlkGAEgASgNEgwKBFRpZXIYAiABKA0SCwoD", "UG9zGAMgASgNEhAKCFVuaXF1ZUlkGAQgASgNEjoKC1NhdmVkVmFsdWVzGAUg", "AygLMiUuR3JpZEZpZ2h0Um9sZUluZm9QYi5TYXZlZFZhbHVlc0VudHJ5EhQK", "DEVxdWlwbWVudElkcxgGIAMoDRoyChBTYXZlZFZhbHVlc0VudHJ5EgsKA2tl", "eRgBIAEoCRINCgV2YWx1ZRgCIAEoDToCOAEiWAoSR3JpZEZpZ2h0TnBjSW5m", "b1BiEg0KBU5wY0lkGAEgASgNEgsKA1BvcxgCIAEoDRIQCghVbmlxdWVJZBgD", "IAEoDRIUCgxFcXVpcG1lbnRJZHMYBCADKA0idQoUR3JpZEZpZ2h0Rm9yZ2VJ", "bmZvUGISEwoLRm9yZ2VJdGVtSWQYASABKA0SCwoDUG9zGAIgASgNEhAKCFVu", "aXF1ZUlkGAMgASgNEikKBUdvb2RzGAQgAygLMhouR3JpZEZpZ2h0Rm9yZ2VH", "b29kc0luZm9QYiJuChlHcmlkRmlnaHRGb3JnZUdvb2RzSW5mb1BiEhAKBkl0", "ZW1JZBgBIAEoDUgAEjIKCFJvbGVJbmZvGAIgASgLMh4uR3JpZEZpZ2h0Rm9y", "Z2VSb2xlR29vZHNJbmZvUGJIAEILCglHb29kc1R5cGUiPQodR3JpZEZpZ2h0", "Rm9yZ2VSb2xlR29vZHNJbmZvUGISDgoGUm9sZUlkGAEgASgNEgwKBFRpZXIY", "AiABKA0imQEKE0dyaWRGaWdodFRlYW1JbmZvUGISIwoFUm9sZXMYASADKAsy", "FC5HcmlkRmlnaHRSb2xlSW5mb1BiEiEKBE5wY3MYAiADKAsyEy5HcmlkRmln", "aHROcGNJbmZvUGISJQoGRm9yZ2VzGAMgAygLMhUuR3JpZEZpZ2h0Rm9yZ2VJ", "bmZvUGISEwoLQ3VyVW5pcXVlSWQYBCABKA0iOQoSR3JpZEZpZ2h0R2FtZU9y", "YlBiEhEKCU9yYkl0ZW1JZBgBIAEoDRIQCghVbmlxdWVJZBgCIAEoDSI3ChJH", "cmlkRmlnaHRPcmJJbmZvUGISIQoET3JicxgBIAMoCzITLkdyaWRGaWdodEdh", "bWVPcmJQYiKeAQoWR3JpZEZpZ2h0R2FtZUF1Z21lbnRQYhIRCglBdWdtZW50", "SWQYASABKA0SPQoLU2F2ZWRWYWx1ZXMYAiADKAsyKC5HcmlkRmlnaHRHYW1l", "QXVnbWVudFBiLlNhdmVkVmFsdWVzRW50cnkaMgoQU2F2ZWRWYWx1ZXNFbnRy", "eRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKA06AjgBIkMKFkdyaWRGaWdo", "dEF1Z21lbnRJbmZvUGISKQoIQXVnbWVudHMYASADKAsyFy5HcmlkRmlnaHRH", "YW1lQXVnbWVudFBiIn8KGkdyaWRGaWdodEdhbWVUcmFpdEVmZmVjdFBiEg8K", "B1RyYWl0SWQYASABKA0SEAoIRWZmZWN0SWQYAiABKA0SEwoJVGhyZXNob2xk", "GAMgASgNSAASGgoQQ29yZVJvbGVVbmlxdWVJZBgEIAEoDUgAQg0KC0VmZmVj", "dFBhcmFtImkKFEdyaWRGaWdodEdhbWVUcmFpdFBiEg8KB1RyYWl0SWQYASAB", "KA0SLAoHRWZmZWN0cxgCIAMoCzIbLkdyaWRGaWdodEdhbWVUcmFpdEVmZmVj", "dFBiEhIKClRyYWl0TGF5ZXIYAyABKA0iPQoUR3JpZEZpZ2h0VHJhaXRJbmZv", "UGISJQoGVHJhaXRzGAEgAygLMhUuR3JpZEZpZ2h0R2FtZVRyYWl0UGIiPAoY", "R3JpZEZpZ2h0RXF1aXBtZW50SXRlbVBiEg4KBkl0ZW1JZBgBIAEoDRIQCghV", "bmlxdWVJZBgCIAEoDSI6ChlHcmlkRmlnaHRDb25zdW1hYmxlSXRlbVBiEg4K", "Bkl0ZW1JZBgBIAEoDRINCgVDb3VudBgCIAEoDSJ+ChRHcmlkRmlnaHRJdGVt", "c0luZm9QYhIxCg5FcXVpcG1lbnRJdGVtcxgBIAMoCzIZLkdyaWRGaWdodEVx", "dWlwbWVudEl0ZW1QYhIzCg9Db25zdW1hYmxlSXRlbXMYAiADKAsyGi5Hcmlk", "RmlnaHRDb25zdW1hYmxlSXRlbVBiItcCChRHcmlkRmlnaHRDb21wb25lbnRQ", "YhIoCghTaG9wSW5mbxgBIAEoCzIULkdyaWRGaWdodFNob3BJbmZvUGJIABIq", "CglCYXNpY0luZm8YAiABKAsyFS5HcmlkRmlnaHRCYXNpY0luZm9QYkgAEigK", "CFRlYW1JbmZvGAMgASgLMhQuR3JpZEZpZ2h0VGVhbUluZm9QYkgAEiYKB09y", "YkluZm8YBCABKAsyEy5HcmlkRmlnaHRPcmJJbmZvUGJIABIuCgtBdWdtZW50", "SW5mbxgFIAEoCzIXLkdyaWRGaWdodEF1Z21lbnRJbmZvUGJIABIqCglUcmFp", "dEluZm8YBiABKAsyFS5HcmlkRmlnaHRUcmFpdEluZm9QYkgAEioKCUl0ZW1z", "SW5mbxgHIAEoCzIVLkdyaWRGaWdodEl0ZW1zSW5mb1BiSABCDwoNQ29tcG9u", "ZW50VHlwZUIpqgImRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvLlNlcnZl", "clNpZGViBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopRoleItemPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopRoleItemPb.Parser, new[]{ "RoleId", "Tier" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopItemPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopItemPb.Parser, new[]{ "RoleItem", "Cost", "SoldOut" }, new[]{ "ItemType" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopInfoPb.Parser, new[]{ "ShopLocked", "FreeRefreshCount", "RefreshCost", "ShopItems" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameInfoPb.Parser, new[]{ "UniqueId", "DivisionId", "IsOverLock", "Season", "Components" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightBasicInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightBasicInfoPb.Parser, new[]{ "CurGold", "CurLevel", "LevelExp", "BuyLevelCost", "CurHp", "MaxAvatarNum", "ComboNum", "LockType", "LockReason", "MaxInterest", "TrackingTraits", "TrackingEquipments", "GuideCode", "MaxLevel" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentTrackInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentTrackInfoPb.Parser, new[]{ "Priority", "RoleId", "EquipmentIds" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightRoleInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightRoleInfoPb.Parser, new[]{ "RoleId", "Tier", "Pos", "UniqueId", "SavedValues", "EquipmentIds" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightNpcInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightNpcInfoPb.Parser, new[]{ "NpcId", "Pos", "UniqueId", "EquipmentIds" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeInfoPb.Parser, new[]{ "ForgeItemId", "Pos", "UniqueId", "Goods" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeGoodsInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeGoodsInfoPb.Parser, new[]{ "ItemId", "RoleInfo" }, new[]{ "GoodsType" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeRoleGoodsInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeRoleGoodsInfoPb.Parser, new[]{ "RoleId", "Tier" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightTeamInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightTeamInfoPb.Parser, new[]{ "Roles", "Npcs", "Forges", "CurUniqueId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameOrbPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameOrbPb.Parser, new[]{ "OrbItemId", "UniqueId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightOrbInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightOrbInfoPb.Parser, new[]{ "Orbs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameAugmentPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameAugmentPb.Parser, new[]{ "AugmentId", "SavedValues" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightAugmentInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightAugmentInfoPb.Parser, new[]{ "Augments" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitEffectPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitEffectPb.Parser, new[]{ "TraitId", "EffectId", "Threshold", "CoreRoleUniqueId" }, new[]{ "EffectParam" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitPb.Parser, new[]{ "TraitId", "Effects", "TraitLayer" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightTraitInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightTraitInfoPb.Parser, new[]{ "Traits" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentItemPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentItemPb.Parser, new[]{ "ItemId", "UniqueId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightConsumableItemPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightConsumableItemPb.Parser, new[]{ "ItemId", "Count" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightItemsInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightItemsInfoPb.Parser, new[]{ "EquipmentItems", "ConsumableItems" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb.Parser, new[]{ "ShopInfo", "BasicInfo", "TeamInfo", "OrbInfo", "AugmentInfo", "TraitInfo", "ItemsInfo" }, new[]{ "ComponentType" }, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightShopRoleItemPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightShopRoleItemPb()); 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.ServerSide.GridFightDataReflection.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 GridFightShopRoleItemPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightShopRoleItemPb(GridFightShopRoleItemPb other) : this() { roleId_ = other.roleId_; tier_ = other.tier_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightShopRoleItemPb Clone() { return new GridFightShopRoleItemPb(this); } /// Field number for the "RoleId" field. public const int RoleIdFieldNumber = 1; private uint roleId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RoleId { get { return roleId_; } set { roleId_ = value; } } /// Field number for the "Tier" field. public const int TierFieldNumber = 2; private uint tier_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Tier { get { return tier_; } set { tier_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightShopRoleItemPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightShopRoleItemPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RoleId != other.RoleId) return false; if (Tier != other.Tier) 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 (RoleId != 0) hash ^= RoleId.GetHashCode(); if (Tier != 0) hash ^= Tier.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 (RoleId != 0) { output.WriteRawTag(8); output.WriteUInt32(RoleId); } if (Tier != 0) { output.WriteRawTag(16); output.WriteUInt32(Tier); } 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 (RoleId != 0) { output.WriteRawTag(8); output.WriteUInt32(RoleId); } if (Tier != 0) { output.WriteRawTag(16); output.WriteUInt32(Tier); } 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 (RoleId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoleId); } if (Tier != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tier); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightShopRoleItemPb other) { if (other == null) { return; } if (other.RoleId != 0) { RoleId = other.RoleId; } if (other.Tier != 0) { Tier = other.Tier; } _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: { RoleId = input.ReadUInt32(); break; } case 16: { Tier = 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: { RoleId = input.ReadUInt32(); break; } case 16: { Tier = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightShopItemPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightShopItemPb()); 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.ServerSide.GridFightDataReflection.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 GridFightShopItemPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightShopItemPb(GridFightShopItemPb other) : this() { cost_ = other.cost_; soldOut_ = other.soldOut_; switch (other.ItemTypeCase) { case ItemTypeOneofCase.RoleItem: RoleItem = other.RoleItem.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightShopItemPb Clone() { return new GridFightShopItemPb(this); } /// Field number for the "RoleItem" field. public const int RoleItemFieldNumber = 1; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopRoleItemPb RoleItem { get { return itemTypeCase_ == ItemTypeOneofCase.RoleItem ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopRoleItemPb) itemType_ : null; } set { itemType_ = value; itemTypeCase_ = value == null ? ItemTypeOneofCase.None : ItemTypeOneofCase.RoleItem; } } /// Field number for the "Cost" field. public const int CostFieldNumber = 2; private uint cost_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Cost { get { return cost_; } set { cost_ = value; } } /// Field number for the "SoldOut" field. public const int SoldOutFieldNumber = 3; private bool soldOut_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool SoldOut { get { return soldOut_; } set { soldOut_ = value; } } private object itemType_; /// Enum of possible cases for the "ItemType" oneof. public enum ItemTypeOneofCase { None = 0, RoleItem = 1, } private ItemTypeOneofCase itemTypeCase_ = ItemTypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ItemTypeOneofCase ItemTypeCase { get { return itemTypeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearItemType() { itemTypeCase_ = ItemTypeOneofCase.None; itemType_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightShopItemPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightShopItemPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(RoleItem, other.RoleItem)) return false; if (Cost != other.Cost) return false; if (SoldOut != other.SoldOut) return false; if (ItemTypeCase != other.ItemTypeCase) 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 (itemTypeCase_ == ItemTypeOneofCase.RoleItem) hash ^= RoleItem.GetHashCode(); if (Cost != 0) hash ^= Cost.GetHashCode(); if (SoldOut != false) hash ^= SoldOut.GetHashCode(); hash ^= (int) itemTypeCase_; 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 (itemTypeCase_ == ItemTypeOneofCase.RoleItem) { output.WriteRawTag(10); output.WriteMessage(RoleItem); } if (Cost != 0) { output.WriteRawTag(16); output.WriteUInt32(Cost); } if (SoldOut != false) { output.WriteRawTag(24); output.WriteBool(SoldOut); } 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 (itemTypeCase_ == ItemTypeOneofCase.RoleItem) { output.WriteRawTag(10); output.WriteMessage(RoleItem); } if (Cost != 0) { output.WriteRawTag(16); output.WriteUInt32(Cost); } if (SoldOut != false) { output.WriteRawTag(24); output.WriteBool(SoldOut); } 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 (itemTypeCase_ == ItemTypeOneofCase.RoleItem) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoleItem); } if (Cost != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Cost); } if (SoldOut != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightShopItemPb other) { if (other == null) { return; } if (other.Cost != 0) { Cost = other.Cost; } if (other.SoldOut != false) { SoldOut = other.SoldOut; } switch (other.ItemTypeCase) { case ItemTypeOneofCase.RoleItem: if (RoleItem == null) { RoleItem = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopRoleItemPb(); } RoleItem.MergeFrom(other.RoleItem); 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 10: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopRoleItemPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopRoleItemPb(); if (itemTypeCase_ == ItemTypeOneofCase.RoleItem) { subBuilder.MergeFrom(RoleItem); } input.ReadMessage(subBuilder); RoleItem = subBuilder; break; } case 16: { Cost = input.ReadUInt32(); break; } case 24: { SoldOut = input.ReadBool(); 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: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopRoleItemPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopRoleItemPb(); if (itemTypeCase_ == ItemTypeOneofCase.RoleItem) { subBuilder.MergeFrom(RoleItem); } input.ReadMessage(subBuilder); RoleItem = subBuilder; break; } case 16: { Cost = input.ReadUInt32(); break; } case 24: { SoldOut = input.ReadBool(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightShopInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightShopInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightShopInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightShopInfoPb(GridFightShopInfoPb other) : this() { shopLocked_ = other.shopLocked_; freeRefreshCount_ = other.freeRefreshCount_; refreshCost_ = other.refreshCost_; shopItems_ = other.shopItems_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightShopInfoPb Clone() { return new GridFightShopInfoPb(this); } /// Field number for the "ShopLocked" field. public const int ShopLockedFieldNumber = 1; private bool shopLocked_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ShopLocked { get { return shopLocked_; } set { shopLocked_ = value; } } /// Field number for the "FreeRefreshCount" field. public const int FreeRefreshCountFieldNumber = 2; private uint freeRefreshCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint FreeRefreshCount { get { return freeRefreshCount_; } set { freeRefreshCount_ = value; } } /// Field number for the "RefreshCost" field. public const int RefreshCostFieldNumber = 3; private uint refreshCost_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RefreshCost { get { return refreshCost_; } set { refreshCost_ = value; } } /// Field number for the "ShopItems" field. public const int ShopItemsFieldNumber = 4; private static readonly pb::FieldCodec _repeated_shopItems_codec = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopItemPb.Parser); private readonly pbc::RepeatedField shopItems_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ShopItems { get { return shopItems_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightShopInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightShopInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (ShopLocked != other.ShopLocked) return false; if (FreeRefreshCount != other.FreeRefreshCount) return false; if (RefreshCost != other.RefreshCost) return false; if(!shopItems_.Equals(other.shopItems_)) 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 (ShopLocked != false) hash ^= ShopLocked.GetHashCode(); if (FreeRefreshCount != 0) hash ^= FreeRefreshCount.GetHashCode(); if (RefreshCost != 0) hash ^= RefreshCost.GetHashCode(); hash ^= shopItems_.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 (ShopLocked != false) { output.WriteRawTag(8); output.WriteBool(ShopLocked); } if (FreeRefreshCount != 0) { output.WriteRawTag(16); output.WriteUInt32(FreeRefreshCount); } if (RefreshCost != 0) { output.WriteRawTag(24); output.WriteUInt32(RefreshCost); } shopItems_.WriteTo(output, _repeated_shopItems_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 (ShopLocked != false) { output.WriteRawTag(8); output.WriteBool(ShopLocked); } if (FreeRefreshCount != 0) { output.WriteRawTag(16); output.WriteUInt32(FreeRefreshCount); } if (RefreshCost != 0) { output.WriteRawTag(24); output.WriteUInt32(RefreshCost); } shopItems_.WriteTo(ref output, _repeated_shopItems_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 (ShopLocked != false) { size += 1 + 1; } if (FreeRefreshCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FreeRefreshCount); } if (RefreshCost != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RefreshCost); } size += shopItems_.CalculateSize(_repeated_shopItems_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightShopInfoPb other) { if (other == null) { return; } if (other.ShopLocked != false) { ShopLocked = other.ShopLocked; } if (other.FreeRefreshCount != 0) { FreeRefreshCount = other.FreeRefreshCount; } if (other.RefreshCost != 0) { RefreshCost = other.RefreshCost; } shopItems_.Add(other.shopItems_); _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: { ShopLocked = input.ReadBool(); break; } case 16: { FreeRefreshCount = input.ReadUInt32(); break; } case 24: { RefreshCost = input.ReadUInt32(); break; } case 34: { shopItems_.AddEntriesFrom(input, _repeated_shopItems_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: { ShopLocked = input.ReadBool(); break; } case 16: { FreeRefreshCount = input.ReadUInt32(); break; } case 24: { RefreshCost = input.ReadUInt32(); break; } case 34: { shopItems_.AddEntriesFrom(ref input, _repeated_shopItems_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightGameInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightGameInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightGameInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameInfoPb(GridFightGameInfoPb other) : this() { uniqueId_ = other.uniqueId_; divisionId_ = other.divisionId_; isOverLock_ = other.isOverLock_; season_ = other.season_; components_ = other.components_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameInfoPb Clone() { return new GridFightGameInfoPb(this); } /// Field number for the "UniqueId" field. public const int UniqueIdFieldNumber = 1; 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 "DivisionId" field. public const int DivisionIdFieldNumber = 2; private uint divisionId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint DivisionId { get { return divisionId_; } set { divisionId_ = value; } } /// Field number for the "IsOverLock" field. public const int IsOverLockFieldNumber = 3; 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 "Season" field. public const int SeasonFieldNumber = 4; 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 "Components" field. public const int ComponentsFieldNumber = 5; private static readonly pb::FieldCodec _repeated_components_codec = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb.Parser); private readonly pbc::RepeatedField components_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Components { get { return components_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightGameInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightGameInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (UniqueId != other.UniqueId) return false; if (DivisionId != other.DivisionId) return false; if (IsOverLock != other.IsOverLock) return false; if (Season != other.Season) return false; if(!components_.Equals(other.components_)) 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 != 0) hash ^= UniqueId.GetHashCode(); if (DivisionId != 0) hash ^= DivisionId.GetHashCode(); if (IsOverLock != false) hash ^= IsOverLock.GetHashCode(); if (Season != 0) hash ^= Season.GetHashCode(); hash ^= components_.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 != 0) { output.WriteRawTag(8); output.WriteUInt32(UniqueId); } if (DivisionId != 0) { output.WriteRawTag(16); output.WriteUInt32(DivisionId); } if (IsOverLock != false) { output.WriteRawTag(24); output.WriteBool(IsOverLock); } if (Season != 0) { output.WriteRawTag(32); output.WriteUInt32(Season); } components_.WriteTo(output, _repeated_components_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 (UniqueId != 0) { output.WriteRawTag(8); output.WriteUInt32(UniqueId); } if (DivisionId != 0) { output.WriteRawTag(16); output.WriteUInt32(DivisionId); } if (IsOverLock != false) { output.WriteRawTag(24); output.WriteBool(IsOverLock); } if (Season != 0) { output.WriteRawTag(32); output.WriteUInt32(Season); } components_.WriteTo(ref output, _repeated_components_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 (UniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId); } if (DivisionId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DivisionId); } if (IsOverLock != false) { size += 1 + 1; } if (Season != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Season); } size += components_.CalculateSize(_repeated_components_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightGameInfoPb other) { if (other == null) { return; } if (other.UniqueId != 0) { UniqueId = other.UniqueId; } if (other.DivisionId != 0) { DivisionId = other.DivisionId; } if (other.IsOverLock != false) { IsOverLock = other.IsOverLock; } if (other.Season != 0) { Season = other.Season; } components_.Add(other.components_); _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: { UniqueId = input.ReadUInt32(); break; } case 16: { DivisionId = input.ReadUInt32(); break; } case 24: { IsOverLock = input.ReadBool(); break; } case 32: { Season = input.ReadUInt32(); break; } case 42: { components_.AddEntriesFrom(input, _repeated_components_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: { UniqueId = input.ReadUInt32(); break; } case 16: { DivisionId = input.ReadUInt32(); break; } case 24: { IsOverLock = input.ReadBool(); break; } case 32: { Season = input.ReadUInt32(); break; } case 42: { components_.AddEntriesFrom(ref input, _repeated_components_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightBasicInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightBasicInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightBasicInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightBasicInfoPb(GridFightBasicInfoPb other) : this() { curGold_ = other.curGold_; curLevel_ = other.curLevel_; levelExp_ = other.levelExp_; buyLevelCost_ = other.buyLevelCost_; curHp_ = other.curHp_; maxAvatarNum_ = other.maxAvatarNum_; comboNum_ = other.comboNum_; lockType_ = other.lockType_; lockReason_ = other.lockReason_; maxInterest_ = other.maxInterest_; trackingTraits_ = other.trackingTraits_.Clone(); trackingEquipments_ = other.trackingEquipments_.Clone(); guideCode_ = other.guideCode_; maxLevel_ = other.maxLevel_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightBasicInfoPb Clone() { return new GridFightBasicInfoPb(this); } /// Field number for the "CurGold" field. public const int CurGoldFieldNumber = 1; private uint curGold_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurGold { get { return curGold_; } set { curGold_ = value; } } /// Field number for the "CurLevel" field. public const int CurLevelFieldNumber = 2; private uint curLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurLevel { get { return curLevel_; } set { curLevel_ = value; } } /// Field number for the "LevelExp" field. public const int LevelExpFieldNumber = 3; private uint levelExp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LevelExp { get { return levelExp_; } set { levelExp_ = value; } } /// Field number for the "BuyLevelCost" field. public const int BuyLevelCostFieldNumber = 4; private uint buyLevelCost_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BuyLevelCost { get { return buyLevelCost_; } set { buyLevelCost_ = value; } } /// Field number for the "CurHp" field. public const int CurHpFieldNumber = 5; private uint curHp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurHp { get { return curHp_; } set { curHp_ = value; } } /// Field number for the "MaxAvatarNum" field. public const int MaxAvatarNumFieldNumber = 6; private uint maxAvatarNum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint MaxAvatarNum { get { return maxAvatarNum_; } set { maxAvatarNum_ = value; } } /// Field number for the "ComboNum" field. public const int ComboNumFieldNumber = 7; private uint comboNum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ComboNum { get { return comboNum_; } set { comboNum_ = value; } } /// Field number for the "LockType" field. public const int LockTypeFieldNumber = 8; private uint lockType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LockType { get { return lockType_; } set { lockType_ = value; } } /// Field number for the "LockReason" field. public const int LockReasonFieldNumber = 9; private uint lockReason_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LockReason { get { return lockReason_; } set { lockReason_ = value; } } /// Field number for the "MaxInterest" field. public const int MaxInterestFieldNumber = 10; private uint maxInterest_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint MaxInterest { get { return maxInterest_; } set { maxInterest_ = value; } } /// Field number for the "TrackingTraits" field. public const int TrackingTraitsFieldNumber = 11; private static readonly pb::FieldCodec _repeated_trackingTraits_codec = pb::FieldCodec.ForUInt32(90); private readonly pbc::RepeatedField trackingTraits_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TrackingTraits { get { return trackingTraits_; } } /// Field number for the "TrackingEquipments" field. public const int TrackingEquipmentsFieldNumber = 12; private static readonly pb::FieldCodec _repeated_trackingEquipments_codec = pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentTrackInfoPb.Parser); private readonly pbc::RepeatedField trackingEquipments_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TrackingEquipments { get { return trackingEquipments_; } } /// Field number for the "GuideCode" field. public const int GuideCodeFieldNumber = 13; private string guideCode_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GuideCode { get { return guideCode_; } set { guideCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "MaxLevel" field. public const int MaxLevelFieldNumber = 14; private uint maxLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint MaxLevel { get { return maxLevel_; } set { maxLevel_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightBasicInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightBasicInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CurGold != other.CurGold) return false; if (CurLevel != other.CurLevel) return false; if (LevelExp != other.LevelExp) return false; if (BuyLevelCost != other.BuyLevelCost) return false; if (CurHp != other.CurHp) return false; if (MaxAvatarNum != other.MaxAvatarNum) return false; if (ComboNum != other.ComboNum) return false; if (LockType != other.LockType) return false; if (LockReason != other.LockReason) return false; if (MaxInterest != other.MaxInterest) return false; if(!trackingTraits_.Equals(other.trackingTraits_)) return false; if(!trackingEquipments_.Equals(other.trackingEquipments_)) return false; if (GuideCode != other.GuideCode) return false; if (MaxLevel != other.MaxLevel) 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 (CurGold != 0) hash ^= CurGold.GetHashCode(); if (CurLevel != 0) hash ^= CurLevel.GetHashCode(); if (LevelExp != 0) hash ^= LevelExp.GetHashCode(); if (BuyLevelCost != 0) hash ^= BuyLevelCost.GetHashCode(); if (CurHp != 0) hash ^= CurHp.GetHashCode(); if (MaxAvatarNum != 0) hash ^= MaxAvatarNum.GetHashCode(); if (ComboNum != 0) hash ^= ComboNum.GetHashCode(); if (LockType != 0) hash ^= LockType.GetHashCode(); if (LockReason != 0) hash ^= LockReason.GetHashCode(); if (MaxInterest != 0) hash ^= MaxInterest.GetHashCode(); hash ^= trackingTraits_.GetHashCode(); hash ^= trackingEquipments_.GetHashCode(); if (GuideCode.Length != 0) hash ^= GuideCode.GetHashCode(); if (MaxLevel != 0) hash ^= MaxLevel.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 (CurGold != 0) { output.WriteRawTag(8); output.WriteUInt32(CurGold); } if (CurLevel != 0) { output.WriteRawTag(16); output.WriteUInt32(CurLevel); } if (LevelExp != 0) { output.WriteRawTag(24); output.WriteUInt32(LevelExp); } if (BuyLevelCost != 0) { output.WriteRawTag(32); output.WriteUInt32(BuyLevelCost); } if (CurHp != 0) { output.WriteRawTag(40); output.WriteUInt32(CurHp); } if (MaxAvatarNum != 0) { output.WriteRawTag(48); output.WriteUInt32(MaxAvatarNum); } if (ComboNum != 0) { output.WriteRawTag(56); output.WriteUInt32(ComboNum); } if (LockType != 0) { output.WriteRawTag(64); output.WriteUInt32(LockType); } if (LockReason != 0) { output.WriteRawTag(72); output.WriteUInt32(LockReason); } if (MaxInterest != 0) { output.WriteRawTag(80); output.WriteUInt32(MaxInterest); } trackingTraits_.WriteTo(output, _repeated_trackingTraits_codec); trackingEquipments_.WriteTo(output, _repeated_trackingEquipments_codec); if (GuideCode.Length != 0) { output.WriteRawTag(106); output.WriteString(GuideCode); } if (MaxLevel != 0) { output.WriteRawTag(112); output.WriteUInt32(MaxLevel); } 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 (CurGold != 0) { output.WriteRawTag(8); output.WriteUInt32(CurGold); } if (CurLevel != 0) { output.WriteRawTag(16); output.WriteUInt32(CurLevel); } if (LevelExp != 0) { output.WriteRawTag(24); output.WriteUInt32(LevelExp); } if (BuyLevelCost != 0) { output.WriteRawTag(32); output.WriteUInt32(BuyLevelCost); } if (CurHp != 0) { output.WriteRawTag(40); output.WriteUInt32(CurHp); } if (MaxAvatarNum != 0) { output.WriteRawTag(48); output.WriteUInt32(MaxAvatarNum); } if (ComboNum != 0) { output.WriteRawTag(56); output.WriteUInt32(ComboNum); } if (LockType != 0) { output.WriteRawTag(64); output.WriteUInt32(LockType); } if (LockReason != 0) { output.WriteRawTag(72); output.WriteUInt32(LockReason); } if (MaxInterest != 0) { output.WriteRawTag(80); output.WriteUInt32(MaxInterest); } trackingTraits_.WriteTo(ref output, _repeated_trackingTraits_codec); trackingEquipments_.WriteTo(ref output, _repeated_trackingEquipments_codec); if (GuideCode.Length != 0) { output.WriteRawTag(106); output.WriteString(GuideCode); } if (MaxLevel != 0) { output.WriteRawTag(112); output.WriteUInt32(MaxLevel); } 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 (CurGold != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurGold); } if (CurLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurLevel); } if (LevelExp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LevelExp); } if (BuyLevelCost != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuyLevelCost); } if (CurHp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurHp); } if (MaxAvatarNum != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxAvatarNum); } if (ComboNum != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ComboNum); } if (LockType != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LockType); } if (LockReason != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LockReason); } if (MaxInterest != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxInterest); } size += trackingTraits_.CalculateSize(_repeated_trackingTraits_codec); size += trackingEquipments_.CalculateSize(_repeated_trackingEquipments_codec); if (GuideCode.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GuideCode); } if (MaxLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxLevel); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightBasicInfoPb other) { if (other == null) { return; } if (other.CurGold != 0) { CurGold = other.CurGold; } if (other.CurLevel != 0) { CurLevel = other.CurLevel; } if (other.LevelExp != 0) { LevelExp = other.LevelExp; } if (other.BuyLevelCost != 0) { BuyLevelCost = other.BuyLevelCost; } if (other.CurHp != 0) { CurHp = other.CurHp; } if (other.MaxAvatarNum != 0) { MaxAvatarNum = other.MaxAvatarNum; } if (other.ComboNum != 0) { ComboNum = other.ComboNum; } if (other.LockType != 0) { LockType = other.LockType; } if (other.LockReason != 0) { LockReason = other.LockReason; } if (other.MaxInterest != 0) { MaxInterest = other.MaxInterest; } trackingTraits_.Add(other.trackingTraits_); trackingEquipments_.Add(other.trackingEquipments_); if (other.GuideCode.Length != 0) { GuideCode = other.GuideCode; } if (other.MaxLevel != 0) { MaxLevel = other.MaxLevel; } _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: { CurGold = input.ReadUInt32(); break; } case 16: { CurLevel = input.ReadUInt32(); break; } case 24: { LevelExp = input.ReadUInt32(); break; } case 32: { BuyLevelCost = input.ReadUInt32(); break; } case 40: { CurHp = input.ReadUInt32(); break; } case 48: { MaxAvatarNum = input.ReadUInt32(); break; } case 56: { ComboNum = input.ReadUInt32(); break; } case 64: { LockType = input.ReadUInt32(); break; } case 72: { LockReason = input.ReadUInt32(); break; } case 80: { MaxInterest = input.ReadUInt32(); break; } case 90: case 88: { trackingTraits_.AddEntriesFrom(input, _repeated_trackingTraits_codec); break; } case 98: { trackingEquipments_.AddEntriesFrom(input, _repeated_trackingEquipments_codec); break; } case 106: { GuideCode = input.ReadString(); break; } case 112: { MaxLevel = 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: { CurGold = input.ReadUInt32(); break; } case 16: { CurLevel = input.ReadUInt32(); break; } case 24: { LevelExp = input.ReadUInt32(); break; } case 32: { BuyLevelCost = input.ReadUInt32(); break; } case 40: { CurHp = input.ReadUInt32(); break; } case 48: { MaxAvatarNum = input.ReadUInt32(); break; } case 56: { ComboNum = input.ReadUInt32(); break; } case 64: { LockType = input.ReadUInt32(); break; } case 72: { LockReason = input.ReadUInt32(); break; } case 80: { MaxInterest = input.ReadUInt32(); break; } case 90: case 88: { trackingTraits_.AddEntriesFrom(ref input, _repeated_trackingTraits_codec); break; } case 98: { trackingEquipments_.AddEntriesFrom(ref input, _repeated_trackingEquipments_codec); break; } case 106: { GuideCode = input.ReadString(); break; } case 112: { MaxLevel = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightEquipmentTrackInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightEquipmentTrackInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightEquipmentTrackInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightEquipmentTrackInfoPb(GridFightEquipmentTrackInfoPb other) : this() { priority_ = other.priority_; roleId_ = other.roleId_; equipmentIds_ = other.equipmentIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightEquipmentTrackInfoPb Clone() { return new GridFightEquipmentTrackInfoPb(this); } /// Field number for the "Priority" field. public const int PriorityFieldNumber = 1; private uint priority_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Priority { get { return priority_; } set { priority_ = value; } } /// Field number for the "RoleId" field. public const int RoleIdFieldNumber = 2; private uint roleId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RoleId { get { return roleId_; } set { roleId_ = value; } } /// Field number for the "EquipmentIds" field. public const int EquipmentIdsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_equipmentIds_codec = pb::FieldCodec.ForUInt32(26); private readonly pbc::RepeatedField equipmentIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EquipmentIds { get { return equipmentIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightEquipmentTrackInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightEquipmentTrackInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Priority != other.Priority) return false; if (RoleId != other.RoleId) return false; if(!equipmentIds_.Equals(other.equipmentIds_)) 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 (Priority != 0) hash ^= Priority.GetHashCode(); if (RoleId != 0) hash ^= RoleId.GetHashCode(); hash ^= equipmentIds_.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 (Priority != 0) { output.WriteRawTag(8); output.WriteUInt32(Priority); } if (RoleId != 0) { output.WriteRawTag(16); output.WriteUInt32(RoleId); } equipmentIds_.WriteTo(output, _repeated_equipmentIds_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 (Priority != 0) { output.WriteRawTag(8); output.WriteUInt32(Priority); } if (RoleId != 0) { output.WriteRawTag(16); output.WriteUInt32(RoleId); } equipmentIds_.WriteTo(ref output, _repeated_equipmentIds_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 (Priority != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Priority); } if (RoleId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoleId); } size += equipmentIds_.CalculateSize(_repeated_equipmentIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightEquipmentTrackInfoPb other) { if (other == null) { return; } if (other.Priority != 0) { Priority = other.Priority; } if (other.RoleId != 0) { RoleId = other.RoleId; } equipmentIds_.Add(other.equipmentIds_); _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: { Priority = input.ReadUInt32(); break; } case 16: { RoleId = input.ReadUInt32(); break; } case 26: case 24: { equipmentIds_.AddEntriesFrom(input, _repeated_equipmentIds_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: { Priority = input.ReadUInt32(); break; } case 16: { RoleId = input.ReadUInt32(); break; } case 26: case 24: { equipmentIds_.AddEntriesFrom(ref input, _repeated_equipmentIds_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightRoleInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightRoleInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightRoleInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightRoleInfoPb(GridFightRoleInfoPb other) : this() { roleId_ = other.roleId_; tier_ = other.tier_; pos_ = other.pos_; uniqueId_ = other.uniqueId_; savedValues_ = other.savedValues_.Clone(); equipmentIds_ = other.equipmentIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightRoleInfoPb Clone() { return new GridFightRoleInfoPb(this); } /// Field number for the "RoleId" field. public const int RoleIdFieldNumber = 1; private uint roleId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RoleId { get { return roleId_; } set { roleId_ = value; } } /// Field number for the "Tier" field. public const int TierFieldNumber = 2; private uint tier_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Tier { get { return tier_; } set { tier_ = value; } } /// Field number for the "Pos" field. public const int PosFieldNumber = 3; private uint pos_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Pos { get { return pos_; } set { pos_ = value; } } /// Field number for the "UniqueId" field. public const int UniqueIdFieldNumber = 4; 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 "SavedValues" field. public const int SavedValuesFieldNumber = 5; private static readonly pbc::MapField.Codec _map_savedValues_codec = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 42); private readonly pbc::MapField savedValues_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField SavedValues { get { return savedValues_; } } /// Field number for the "EquipmentIds" field. public const int EquipmentIdsFieldNumber = 6; private static readonly pb::FieldCodec _repeated_equipmentIds_codec = pb::FieldCodec.ForUInt32(50); private readonly pbc::RepeatedField equipmentIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EquipmentIds { get { return equipmentIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightRoleInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightRoleInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RoleId != other.RoleId) return false; if (Tier != other.Tier) return false; if (Pos != other.Pos) return false; if (UniqueId != other.UniqueId) return false; if (!SavedValues.Equals(other.SavedValues)) return false; if(!equipmentIds_.Equals(other.equipmentIds_)) 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 (RoleId != 0) hash ^= RoleId.GetHashCode(); if (Tier != 0) hash ^= Tier.GetHashCode(); if (Pos != 0) hash ^= Pos.GetHashCode(); if (UniqueId != 0) hash ^= UniqueId.GetHashCode(); hash ^= SavedValues.GetHashCode(); hash ^= equipmentIds_.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 (RoleId != 0) { output.WriteRawTag(8); output.WriteUInt32(RoleId); } if (Tier != 0) { output.WriteRawTag(16); output.WriteUInt32(Tier); } if (Pos != 0) { output.WriteRawTag(24); output.WriteUInt32(Pos); } if (UniqueId != 0) { output.WriteRawTag(32); output.WriteUInt32(UniqueId); } savedValues_.WriteTo(output, _map_savedValues_codec); equipmentIds_.WriteTo(output, _repeated_equipmentIds_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 (RoleId != 0) { output.WriteRawTag(8); output.WriteUInt32(RoleId); } if (Tier != 0) { output.WriteRawTag(16); output.WriteUInt32(Tier); } if (Pos != 0) { output.WriteRawTag(24); output.WriteUInt32(Pos); } if (UniqueId != 0) { output.WriteRawTag(32); output.WriteUInt32(UniqueId); } savedValues_.WriteTo(ref output, _map_savedValues_codec); equipmentIds_.WriteTo(ref output, _repeated_equipmentIds_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 (RoleId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoleId); } if (Tier != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tier); } if (Pos != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Pos); } if (UniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId); } size += savedValues_.CalculateSize(_map_savedValues_codec); size += equipmentIds_.CalculateSize(_repeated_equipmentIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightRoleInfoPb other) { if (other == null) { return; } if (other.RoleId != 0) { RoleId = other.RoleId; } if (other.Tier != 0) { Tier = other.Tier; } if (other.Pos != 0) { Pos = other.Pos; } if (other.UniqueId != 0) { UniqueId = other.UniqueId; } savedValues_.MergeFrom(other.savedValues_); equipmentIds_.Add(other.equipmentIds_); _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: { RoleId = input.ReadUInt32(); break; } case 16: { Tier = input.ReadUInt32(); break; } case 24: { Pos = input.ReadUInt32(); break; } case 32: { UniqueId = input.ReadUInt32(); break; } case 42: { savedValues_.AddEntriesFrom(input, _map_savedValues_codec); break; } case 50: case 48: { equipmentIds_.AddEntriesFrom(input, _repeated_equipmentIds_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: { RoleId = input.ReadUInt32(); break; } case 16: { Tier = input.ReadUInt32(); break; } case 24: { Pos = input.ReadUInt32(); break; } case 32: { UniqueId = input.ReadUInt32(); break; } case 42: { savedValues_.AddEntriesFrom(ref input, _map_savedValues_codec); break; } case 50: case 48: { equipmentIds_.AddEntriesFrom(ref input, _repeated_equipmentIds_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightNpcInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightNpcInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightNpcInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightNpcInfoPb(GridFightNpcInfoPb other) : this() { npcId_ = other.npcId_; pos_ = other.pos_; uniqueId_ = other.uniqueId_; equipmentIds_ = other.equipmentIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightNpcInfoPb Clone() { return new GridFightNpcInfoPb(this); } /// Field number for the "NpcId" field. public const int NpcIdFieldNumber = 1; private uint npcId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint NpcId { get { return npcId_; } set { npcId_ = value; } } /// Field number for the "Pos" field. public const int PosFieldNumber = 2; private uint pos_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Pos { get { return pos_; } set { pos_ = value; } } /// Field number for the "UniqueId" field. public const int UniqueIdFieldNumber = 3; 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 "EquipmentIds" field. public const int EquipmentIdsFieldNumber = 4; private static readonly pb::FieldCodec _repeated_equipmentIds_codec = pb::FieldCodec.ForUInt32(34); private readonly pbc::RepeatedField equipmentIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EquipmentIds { get { return equipmentIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightNpcInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightNpcInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (NpcId != other.NpcId) return false; if (Pos != other.Pos) return false; if (UniqueId != other.UniqueId) return false; if(!equipmentIds_.Equals(other.equipmentIds_)) 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 (NpcId != 0) hash ^= NpcId.GetHashCode(); if (Pos != 0) hash ^= Pos.GetHashCode(); if (UniqueId != 0) hash ^= UniqueId.GetHashCode(); hash ^= equipmentIds_.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 (NpcId != 0) { output.WriteRawTag(8); output.WriteUInt32(NpcId); } if (Pos != 0) { output.WriteRawTag(16); output.WriteUInt32(Pos); } if (UniqueId != 0) { output.WriteRawTag(24); output.WriteUInt32(UniqueId); } equipmentIds_.WriteTo(output, _repeated_equipmentIds_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 (NpcId != 0) { output.WriteRawTag(8); output.WriteUInt32(NpcId); } if (Pos != 0) { output.WriteRawTag(16); output.WriteUInt32(Pos); } if (UniqueId != 0) { output.WriteRawTag(24); output.WriteUInt32(UniqueId); } equipmentIds_.WriteTo(ref output, _repeated_equipmentIds_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 (NpcId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NpcId); } if (Pos != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Pos); } if (UniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId); } size += equipmentIds_.CalculateSize(_repeated_equipmentIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightNpcInfoPb other) { if (other == null) { return; } if (other.NpcId != 0) { NpcId = other.NpcId; } if (other.Pos != 0) { Pos = other.Pos; } if (other.UniqueId != 0) { UniqueId = other.UniqueId; } equipmentIds_.Add(other.equipmentIds_); _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: { NpcId = input.ReadUInt32(); break; } case 16: { Pos = input.ReadUInt32(); break; } case 24: { UniqueId = input.ReadUInt32(); break; } case 34: case 32: { equipmentIds_.AddEntriesFrom(input, _repeated_equipmentIds_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: { NpcId = input.ReadUInt32(); break; } case 16: { Pos = input.ReadUInt32(); break; } case 24: { UniqueId = input.ReadUInt32(); break; } case 34: case 32: { equipmentIds_.AddEntriesFrom(ref input, _repeated_equipmentIds_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightForgeInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightForgeInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightForgeInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightForgeInfoPb(GridFightForgeInfoPb other) : this() { forgeItemId_ = other.forgeItemId_; pos_ = other.pos_; uniqueId_ = other.uniqueId_; goods_ = other.goods_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightForgeInfoPb Clone() { return new GridFightForgeInfoPb(this); } /// Field number for the "ForgeItemId" field. public const int ForgeItemIdFieldNumber = 1; private uint forgeItemId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ForgeItemId { get { return forgeItemId_; } set { forgeItemId_ = value; } } /// Field number for the "Pos" field. public const int PosFieldNumber = 2; private uint pos_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Pos { get { return pos_; } set { pos_ = value; } } /// Field number for the "UniqueId" field. public const int UniqueIdFieldNumber = 3; 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 "Goods" field. public const int GoodsFieldNumber = 4; private static readonly pb::FieldCodec _repeated_goods_codec = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeGoodsInfoPb.Parser); private readonly pbc::RepeatedField goods_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Goods { get { return goods_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightForgeInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightForgeInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (ForgeItemId != other.ForgeItemId) return false; if (Pos != other.Pos) return false; if (UniqueId != other.UniqueId) return false; if(!goods_.Equals(other.goods_)) 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 (ForgeItemId != 0) hash ^= ForgeItemId.GetHashCode(); if (Pos != 0) hash ^= Pos.GetHashCode(); if (UniqueId != 0) hash ^= UniqueId.GetHashCode(); hash ^= goods_.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 (ForgeItemId != 0) { output.WriteRawTag(8); output.WriteUInt32(ForgeItemId); } if (Pos != 0) { output.WriteRawTag(16); output.WriteUInt32(Pos); } if (UniqueId != 0) { output.WriteRawTag(24); output.WriteUInt32(UniqueId); } goods_.WriteTo(output, _repeated_goods_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 (ForgeItemId != 0) { output.WriteRawTag(8); output.WriteUInt32(ForgeItemId); } if (Pos != 0) { output.WriteRawTag(16); output.WriteUInt32(Pos); } if (UniqueId != 0) { output.WriteRawTag(24); output.WriteUInt32(UniqueId); } goods_.WriteTo(ref output, _repeated_goods_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 (ForgeItemId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ForgeItemId); } if (Pos != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Pos); } if (UniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId); } size += goods_.CalculateSize(_repeated_goods_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightForgeInfoPb other) { if (other == null) { return; } if (other.ForgeItemId != 0) { ForgeItemId = other.ForgeItemId; } if (other.Pos != 0) { Pos = other.Pos; } if (other.UniqueId != 0) { UniqueId = other.UniqueId; } goods_.Add(other.goods_); _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: { ForgeItemId = input.ReadUInt32(); break; } case 16: { Pos = input.ReadUInt32(); break; } case 24: { UniqueId = input.ReadUInt32(); break; } case 34: { goods_.AddEntriesFrom(input, _repeated_goods_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: { ForgeItemId = input.ReadUInt32(); break; } case 16: { Pos = input.ReadUInt32(); break; } case 24: { UniqueId = input.ReadUInt32(); break; } case 34: { goods_.AddEntriesFrom(ref input, _repeated_goods_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightForgeGoodsInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightForgeGoodsInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightForgeGoodsInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightForgeGoodsInfoPb(GridFightForgeGoodsInfoPb other) : this() { switch (other.GoodsTypeCase) { case GoodsTypeOneofCase.ItemId: ItemId = other.ItemId; break; case GoodsTypeOneofCase.RoleInfo: RoleInfo = other.RoleInfo.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightForgeGoodsInfoPb Clone() { return new GridFightForgeGoodsInfoPb(this); } /// Field number for the "ItemId" field. public const int ItemIdFieldNumber = 1; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ItemId { get { return HasItemId ? (uint) goodsType_ : 0; } set { goodsType_ = value; goodsTypeCase_ = GoodsTypeOneofCase.ItemId; } } /// Gets whether the "ItemId" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasItemId { get { return goodsTypeCase_ == GoodsTypeOneofCase.ItemId; } } /// Clears the value of the oneof if it's currently set to "ItemId" [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearItemId() { if (HasItemId) { ClearGoodsType(); } } /// Field number for the "RoleInfo" field. public const int RoleInfoFieldNumber = 2; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeRoleGoodsInfoPb RoleInfo { get { return goodsTypeCase_ == GoodsTypeOneofCase.RoleInfo ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeRoleGoodsInfoPb) goodsType_ : null; } set { goodsType_ = value; goodsTypeCase_ = value == null ? GoodsTypeOneofCase.None : GoodsTypeOneofCase.RoleInfo; } } private object goodsType_; /// Enum of possible cases for the "GoodsType" oneof. public enum GoodsTypeOneofCase { None = 0, ItemId = 1, RoleInfo = 2, } private GoodsTypeOneofCase goodsTypeCase_ = GoodsTypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GoodsTypeOneofCase GoodsTypeCase { get { return goodsTypeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearGoodsType() { goodsTypeCase_ = GoodsTypeOneofCase.None; goodsType_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightForgeGoodsInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightForgeGoodsInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (ItemId != other.ItemId) return false; if (!object.Equals(RoleInfo, other.RoleInfo)) return false; if (GoodsTypeCase != other.GoodsTypeCase) 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 (HasItemId) hash ^= ItemId.GetHashCode(); if (goodsTypeCase_ == GoodsTypeOneofCase.RoleInfo) hash ^= RoleInfo.GetHashCode(); hash ^= (int) goodsTypeCase_; 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 (HasItemId) { output.WriteRawTag(8); output.WriteUInt32(ItemId); } if (goodsTypeCase_ == GoodsTypeOneofCase.RoleInfo) { output.WriteRawTag(18); output.WriteMessage(RoleInfo); } 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 (HasItemId) { output.WriteRawTag(8); output.WriteUInt32(ItemId); } if (goodsTypeCase_ == GoodsTypeOneofCase.RoleInfo) { output.WriteRawTag(18); output.WriteMessage(RoleInfo); } 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 (HasItemId) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ItemId); } if (goodsTypeCase_ == GoodsTypeOneofCase.RoleInfo) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoleInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightForgeGoodsInfoPb other) { if (other == null) { return; } switch (other.GoodsTypeCase) { case GoodsTypeOneofCase.ItemId: ItemId = other.ItemId; break; case GoodsTypeOneofCase.RoleInfo: if (RoleInfo == null) { RoleInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeRoleGoodsInfoPb(); } RoleInfo.MergeFrom(other.RoleInfo); 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 8: { ItemId = input.ReadUInt32(); break; } case 18: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeRoleGoodsInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeRoleGoodsInfoPb(); if (goodsTypeCase_ == GoodsTypeOneofCase.RoleInfo) { subBuilder.MergeFrom(RoleInfo); } input.ReadMessage(subBuilder); RoleInfo = 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 8: { ItemId = input.ReadUInt32(); break; } case 18: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeRoleGoodsInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeRoleGoodsInfoPb(); if (goodsTypeCase_ == GoodsTypeOneofCase.RoleInfo) { subBuilder.MergeFrom(RoleInfo); } input.ReadMessage(subBuilder); RoleInfo = subBuilder; break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightForgeRoleGoodsInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightForgeRoleGoodsInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightForgeRoleGoodsInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightForgeRoleGoodsInfoPb(GridFightForgeRoleGoodsInfoPb other) : this() { roleId_ = other.roleId_; tier_ = other.tier_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightForgeRoleGoodsInfoPb Clone() { return new GridFightForgeRoleGoodsInfoPb(this); } /// Field number for the "RoleId" field. public const int RoleIdFieldNumber = 1; private uint roleId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RoleId { get { return roleId_; } set { roleId_ = value; } } /// Field number for the "Tier" field. public const int TierFieldNumber = 2; private uint tier_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Tier { get { return tier_; } set { tier_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightForgeRoleGoodsInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightForgeRoleGoodsInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RoleId != other.RoleId) return false; if (Tier != other.Tier) 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 (RoleId != 0) hash ^= RoleId.GetHashCode(); if (Tier != 0) hash ^= Tier.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 (RoleId != 0) { output.WriteRawTag(8); output.WriteUInt32(RoleId); } if (Tier != 0) { output.WriteRawTag(16); output.WriteUInt32(Tier); } 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 (RoleId != 0) { output.WriteRawTag(8); output.WriteUInt32(RoleId); } if (Tier != 0) { output.WriteRawTag(16); output.WriteUInt32(Tier); } 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 (RoleId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoleId); } if (Tier != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tier); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightForgeRoleGoodsInfoPb other) { if (other == null) { return; } if (other.RoleId != 0) { RoleId = other.RoleId; } if (other.Tier != 0) { Tier = other.Tier; } _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: { RoleId = input.ReadUInt32(); break; } case 16: { Tier = 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: { RoleId = input.ReadUInt32(); break; } case 16: { Tier = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightTeamInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightTeamInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightTeamInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightTeamInfoPb(GridFightTeamInfoPb other) : this() { roles_ = other.roles_.Clone(); npcs_ = other.npcs_.Clone(); forges_ = other.forges_.Clone(); curUniqueId_ = other.curUniqueId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightTeamInfoPb Clone() { return new GridFightTeamInfoPb(this); } /// Field number for the "Roles" field. public const int RolesFieldNumber = 1; private static readonly pb::FieldCodec _repeated_roles_codec = pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightRoleInfoPb.Parser); private readonly pbc::RepeatedField roles_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Roles { get { return roles_; } } /// Field number for the "Npcs" field. public const int NpcsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_npcs_codec = pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ServerSide.GridFightNpcInfoPb.Parser); private readonly pbc::RepeatedField npcs_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Npcs { get { return npcs_; } } /// Field number for the "Forges" field. public const int ForgesFieldNumber = 3; private static readonly pb::FieldCodec _repeated_forges_codec = pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeInfoPb.Parser); private readonly pbc::RepeatedField forges_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Forges { get { return forges_; } } /// Field number for the "CurUniqueId" field. public const int CurUniqueIdFieldNumber = 4; private uint curUniqueId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurUniqueId { get { return curUniqueId_; } set { curUniqueId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightTeamInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightTeamInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!roles_.Equals(other.roles_)) return false; if(!npcs_.Equals(other.npcs_)) return false; if(!forges_.Equals(other.forges_)) return false; if (CurUniqueId != other.CurUniqueId) 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 ^= roles_.GetHashCode(); hash ^= npcs_.GetHashCode(); hash ^= forges_.GetHashCode(); if (CurUniqueId != 0) hash ^= CurUniqueId.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 roles_.WriteTo(output, _repeated_roles_codec); npcs_.WriteTo(output, _repeated_npcs_codec); forges_.WriteTo(output, _repeated_forges_codec); if (CurUniqueId != 0) { output.WriteRawTag(32); output.WriteUInt32(CurUniqueId); } 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) { roles_.WriteTo(ref output, _repeated_roles_codec); npcs_.WriteTo(ref output, _repeated_npcs_codec); forges_.WriteTo(ref output, _repeated_forges_codec); if (CurUniqueId != 0) { output.WriteRawTag(32); output.WriteUInt32(CurUniqueId); } 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 += roles_.CalculateSize(_repeated_roles_codec); size += npcs_.CalculateSize(_repeated_npcs_codec); size += forges_.CalculateSize(_repeated_forges_codec); if (CurUniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurUniqueId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightTeamInfoPb other) { if (other == null) { return; } roles_.Add(other.roles_); npcs_.Add(other.npcs_); forges_.Add(other.forges_); if (other.CurUniqueId != 0) { CurUniqueId = other.CurUniqueId; } _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: { roles_.AddEntriesFrom(input, _repeated_roles_codec); break; } case 18: { npcs_.AddEntriesFrom(input, _repeated_npcs_codec); break; } case 26: { forges_.AddEntriesFrom(input, _repeated_forges_codec); break; } case 32: { CurUniqueId = 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: { roles_.AddEntriesFrom(ref input, _repeated_roles_codec); break; } case 18: { npcs_.AddEntriesFrom(ref input, _repeated_npcs_codec); break; } case 26: { forges_.AddEntriesFrom(ref input, _repeated_forges_codec); break; } case 32: { CurUniqueId = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightGameOrbPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightGameOrbPb()); 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.ServerSide.GridFightDataReflection.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 GridFightGameOrbPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameOrbPb(GridFightGameOrbPb other) : this() { orbItemId_ = other.orbItemId_; uniqueId_ = other.uniqueId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameOrbPb Clone() { return new GridFightGameOrbPb(this); } /// Field number for the "OrbItemId" field. public const int OrbItemIdFieldNumber = 1; private uint orbItemId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint OrbItemId { get { return orbItemId_; } set { orbItemId_ = value; } } /// Field number for the "UniqueId" field. public const int UniqueIdFieldNumber = 2; private uint uniqueId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint UniqueId { get { return uniqueId_; } set { uniqueId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightGameOrbPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightGameOrbPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (OrbItemId != other.OrbItemId) return false; if (UniqueId != other.UniqueId) 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 (OrbItemId != 0) hash ^= OrbItemId.GetHashCode(); if (UniqueId != 0) hash ^= UniqueId.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 (OrbItemId != 0) { output.WriteRawTag(8); output.WriteUInt32(OrbItemId); } if (UniqueId != 0) { output.WriteRawTag(16); output.WriteUInt32(UniqueId); } 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 (OrbItemId != 0) { output.WriteRawTag(8); output.WriteUInt32(OrbItemId); } if (UniqueId != 0) { output.WriteRawTag(16); output.WriteUInt32(UniqueId); } 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 (OrbItemId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OrbItemId); } if (UniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightGameOrbPb other) { if (other == null) { return; } if (other.OrbItemId != 0) { OrbItemId = other.OrbItemId; } if (other.UniqueId != 0) { UniqueId = other.UniqueId; } _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: { OrbItemId = input.ReadUInt32(); break; } case 16: { UniqueId = 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: { OrbItemId = input.ReadUInt32(); break; } case 16: { UniqueId = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightOrbInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightOrbInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightOrbInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightOrbInfoPb(GridFightOrbInfoPb other) : this() { orbs_ = other.orbs_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightOrbInfoPb Clone() { return new GridFightOrbInfoPb(this); } /// Field number for the "Orbs" field. public const int OrbsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_orbs_codec = pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameOrbPb.Parser); private readonly pbc::RepeatedField orbs_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Orbs { get { return orbs_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightOrbInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightOrbInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!orbs_.Equals(other.orbs_)) 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 ^= orbs_.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 orbs_.WriteTo(output, _repeated_orbs_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) { orbs_.WriteTo(ref output, _repeated_orbs_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 += orbs_.CalculateSize(_repeated_orbs_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightOrbInfoPb other) { if (other == null) { return; } orbs_.Add(other.orbs_); _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: { orbs_.AddEntriesFrom(input, _repeated_orbs_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: { orbs_.AddEntriesFrom(ref input, _repeated_orbs_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightGameAugmentPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightGameAugmentPb()); 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.ServerSide.GridFightDataReflection.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 GridFightGameAugmentPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameAugmentPb(GridFightGameAugmentPb other) : this() { augmentId_ = other.augmentId_; savedValues_ = other.savedValues_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameAugmentPb Clone() { return new GridFightGameAugmentPb(this); } /// Field number for the "AugmentId" field. public const int AugmentIdFieldNumber = 1; private uint augmentId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint AugmentId { get { return augmentId_; } set { augmentId_ = value; } } /// Field number for the "SavedValues" field. public const int SavedValuesFieldNumber = 2; private static readonly pbc::MapField.Codec _map_savedValues_codec = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 18); private readonly pbc::MapField savedValues_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField SavedValues { get { return savedValues_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightGameAugmentPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightGameAugmentPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (AugmentId != other.AugmentId) return false; if (!SavedValues.Equals(other.SavedValues)) 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 (AugmentId != 0) hash ^= AugmentId.GetHashCode(); hash ^= SavedValues.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 (AugmentId != 0) { output.WriteRawTag(8); output.WriteUInt32(AugmentId); } savedValues_.WriteTo(output, _map_savedValues_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 (AugmentId != 0) { output.WriteRawTag(8); output.WriteUInt32(AugmentId); } savedValues_.WriteTo(ref output, _map_savedValues_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 (AugmentId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AugmentId); } size += savedValues_.CalculateSize(_map_savedValues_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightGameAugmentPb other) { if (other == null) { return; } if (other.AugmentId != 0) { AugmentId = other.AugmentId; } savedValues_.MergeFrom(other.savedValues_); _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: { AugmentId = input.ReadUInt32(); break; } case 18: { savedValues_.AddEntriesFrom(input, _map_savedValues_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: { AugmentId = input.ReadUInt32(); break; } case 18: { savedValues_.AddEntriesFrom(ref input, _map_savedValues_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightAugmentInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightAugmentInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightAugmentInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightAugmentInfoPb(GridFightAugmentInfoPb other) : this() { augments_ = other.augments_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightAugmentInfoPb Clone() { return new GridFightAugmentInfoPb(this); } /// Field number for the "Augments" field. public const int AugmentsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_augments_codec = pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameAugmentPb.Parser); private readonly pbc::RepeatedField augments_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Augments { get { return augments_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightAugmentInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightAugmentInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!augments_.Equals(other.augments_)) 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 ^= augments_.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 augments_.WriteTo(output, _repeated_augments_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) { augments_.WriteTo(ref output, _repeated_augments_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 += augments_.CalculateSize(_repeated_augments_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightAugmentInfoPb other) { if (other == null) { return; } augments_.Add(other.augments_); _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: { augments_.AddEntriesFrom(input, _repeated_augments_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: { augments_.AddEntriesFrom(ref input, _repeated_augments_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightGameTraitEffectPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightGameTraitEffectPb()); 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.ServerSide.GridFightDataReflection.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 GridFightGameTraitEffectPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameTraitEffectPb(GridFightGameTraitEffectPb other) : this() { traitId_ = other.traitId_; effectId_ = other.effectId_; switch (other.EffectParamCase) { case EffectParamOneofCase.Threshold: Threshold = other.Threshold; break; case EffectParamOneofCase.CoreRoleUniqueId: CoreRoleUniqueId = other.CoreRoleUniqueId; break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameTraitEffectPb Clone() { return new GridFightGameTraitEffectPb(this); } /// Field number for the "TraitId" field. public const int TraitIdFieldNumber = 1; private uint traitId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TraitId { get { return traitId_; } set { traitId_ = value; } } /// Field number for the "EffectId" field. public const int EffectIdFieldNumber = 2; private uint effectId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint EffectId { get { return effectId_; } set { effectId_ = value; } } /// Field number for the "Threshold" field. public const int ThresholdFieldNumber = 3; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Threshold { get { return HasThreshold ? (uint) effectParam_ : 0; } set { effectParam_ = value; effectParamCase_ = EffectParamOneofCase.Threshold; } } /// Gets whether the "Threshold" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasThreshold { get { return effectParamCase_ == EffectParamOneofCase.Threshold; } } /// Clears the value of the oneof if it's currently set to "Threshold" [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearThreshold() { if (HasThreshold) { ClearEffectParam(); } } /// Field number for the "CoreRoleUniqueId" field. public const int CoreRoleUniqueIdFieldNumber = 4; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CoreRoleUniqueId { get { return HasCoreRoleUniqueId ? (uint) effectParam_ : 0; } set { effectParam_ = value; effectParamCase_ = EffectParamOneofCase.CoreRoleUniqueId; } } /// Gets whether the "CoreRoleUniqueId" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCoreRoleUniqueId { get { return effectParamCase_ == EffectParamOneofCase.CoreRoleUniqueId; } } /// Clears the value of the oneof if it's currently set to "CoreRoleUniqueId" [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearCoreRoleUniqueId() { if (HasCoreRoleUniqueId) { ClearEffectParam(); } } private object effectParam_; /// Enum of possible cases for the "EffectParam" oneof. public enum EffectParamOneofCase { None = 0, Threshold = 3, CoreRoleUniqueId = 4, } private EffectParamOneofCase effectParamCase_ = EffectParamOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EffectParamOneofCase EffectParamCase { get { return effectParamCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearEffectParam() { effectParamCase_ = EffectParamOneofCase.None; effectParam_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightGameTraitEffectPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightGameTraitEffectPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (TraitId != other.TraitId) return false; if (EffectId != other.EffectId) return false; if (Threshold != other.Threshold) return false; if (CoreRoleUniqueId != other.CoreRoleUniqueId) return false; if (EffectParamCase != other.EffectParamCase) 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 (TraitId != 0) hash ^= TraitId.GetHashCode(); if (EffectId != 0) hash ^= EffectId.GetHashCode(); if (HasThreshold) hash ^= Threshold.GetHashCode(); if (HasCoreRoleUniqueId) hash ^= CoreRoleUniqueId.GetHashCode(); hash ^= (int) effectParamCase_; 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 (TraitId != 0) { output.WriteRawTag(8); output.WriteUInt32(TraitId); } if (EffectId != 0) { output.WriteRawTag(16); output.WriteUInt32(EffectId); } if (HasThreshold) { output.WriteRawTag(24); output.WriteUInt32(Threshold); } if (HasCoreRoleUniqueId) { output.WriteRawTag(32); output.WriteUInt32(CoreRoleUniqueId); } 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 (TraitId != 0) { output.WriteRawTag(8); output.WriteUInt32(TraitId); } if (EffectId != 0) { output.WriteRawTag(16); output.WriteUInt32(EffectId); } if (HasThreshold) { output.WriteRawTag(24); output.WriteUInt32(Threshold); } if (HasCoreRoleUniqueId) { output.WriteRawTag(32); output.WriteUInt32(CoreRoleUniqueId); } 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 (TraitId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TraitId); } if (EffectId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EffectId); } if (HasThreshold) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Threshold); } if (HasCoreRoleUniqueId) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CoreRoleUniqueId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightGameTraitEffectPb other) { if (other == null) { return; } if (other.TraitId != 0) { TraitId = other.TraitId; } if (other.EffectId != 0) { EffectId = other.EffectId; } switch (other.EffectParamCase) { case EffectParamOneofCase.Threshold: Threshold = other.Threshold; break; case EffectParamOneofCase.CoreRoleUniqueId: CoreRoleUniqueId = other.CoreRoleUniqueId; 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 8: { TraitId = input.ReadUInt32(); break; } case 16: { EffectId = input.ReadUInt32(); break; } case 24: { Threshold = input.ReadUInt32(); break; } case 32: { CoreRoleUniqueId = 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: { TraitId = input.ReadUInt32(); break; } case 16: { EffectId = input.ReadUInt32(); break; } case 24: { Threshold = input.ReadUInt32(); break; } case 32: { CoreRoleUniqueId = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightGameTraitPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightGameTraitPb()); 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.ServerSide.GridFightDataReflection.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 GridFightGameTraitPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameTraitPb(GridFightGameTraitPb other) : this() { traitId_ = other.traitId_; effects_ = other.effects_.Clone(); traitLayer_ = other.traitLayer_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameTraitPb Clone() { return new GridFightGameTraitPb(this); } /// Field number for the "TraitId" field. public const int TraitIdFieldNumber = 1; private uint traitId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TraitId { get { return traitId_; } set { traitId_ = value; } } /// Field number for the "Effects" field. public const int EffectsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_effects_codec = pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitEffectPb.Parser); private readonly pbc::RepeatedField effects_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Effects { get { return effects_; } } /// Field number for the "TraitLayer" field. public const int TraitLayerFieldNumber = 3; private uint traitLayer_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TraitLayer { get { return traitLayer_; } set { traitLayer_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightGameTraitPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightGameTraitPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (TraitId != other.TraitId) return false; if(!effects_.Equals(other.effects_)) return false; if (TraitLayer != other.TraitLayer) 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 (TraitId != 0) hash ^= TraitId.GetHashCode(); hash ^= effects_.GetHashCode(); if (TraitLayer != 0) hash ^= TraitLayer.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 (TraitId != 0) { output.WriteRawTag(8); output.WriteUInt32(TraitId); } effects_.WriteTo(output, _repeated_effects_codec); if (TraitLayer != 0) { output.WriteRawTag(24); output.WriteUInt32(TraitLayer); } 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 (TraitId != 0) { output.WriteRawTag(8); output.WriteUInt32(TraitId); } effects_.WriteTo(ref output, _repeated_effects_codec); if (TraitLayer != 0) { output.WriteRawTag(24); output.WriteUInt32(TraitLayer); } 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 (TraitId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TraitId); } size += effects_.CalculateSize(_repeated_effects_codec); if (TraitLayer != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TraitLayer); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightGameTraitPb other) { if (other == null) { return; } if (other.TraitId != 0) { TraitId = other.TraitId; } effects_.Add(other.effects_); if (other.TraitLayer != 0) { TraitLayer = other.TraitLayer; } _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: { TraitId = input.ReadUInt32(); break; } case 18: { effects_.AddEntriesFrom(input, _repeated_effects_codec); break; } case 24: { TraitLayer = 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: { TraitId = input.ReadUInt32(); break; } case 18: { effects_.AddEntriesFrom(ref input, _repeated_effects_codec); break; } case 24: { TraitLayer = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightTraitInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightTraitInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightTraitInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightTraitInfoPb(GridFightTraitInfoPb other) : this() { traits_ = other.traits_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightTraitInfoPb Clone() { return new GridFightTraitInfoPb(this); } /// Field number for the "Traits" field. public const int TraitsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_traits_codec = pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitPb.Parser); private readonly pbc::RepeatedField traits_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Traits { get { return traits_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightTraitInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightTraitInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!traits_.Equals(other.traits_)) 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 ^= traits_.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 traits_.WriteTo(output, _repeated_traits_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) { traits_.WriteTo(ref output, _repeated_traits_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 += traits_.CalculateSize(_repeated_traits_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightTraitInfoPb other) { if (other == null) { return; } traits_.Add(other.traits_); _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: { traits_.AddEntriesFrom(input, _repeated_traits_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: { traits_.AddEntriesFrom(ref input, _repeated_traits_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightEquipmentItemPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightEquipmentItemPb()); 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.ServerSide.GridFightDataReflection.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 GridFightEquipmentItemPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightEquipmentItemPb(GridFightEquipmentItemPb other) : this() { itemId_ = other.itemId_; uniqueId_ = other.uniqueId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightEquipmentItemPb Clone() { return new GridFightEquipmentItemPb(this); } /// Field number for the "ItemId" field. public const int ItemIdFieldNumber = 1; private uint itemId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ItemId { get { return itemId_; } set { itemId_ = value; } } /// Field number for the "UniqueId" field. public const int UniqueIdFieldNumber = 2; private uint uniqueId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint UniqueId { get { return uniqueId_; } set { uniqueId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightEquipmentItemPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightEquipmentItemPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (ItemId != other.ItemId) return false; if (UniqueId != other.UniqueId) 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 (ItemId != 0) hash ^= ItemId.GetHashCode(); if (UniqueId != 0) hash ^= UniqueId.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 (ItemId != 0) { output.WriteRawTag(8); output.WriteUInt32(ItemId); } if (UniqueId != 0) { output.WriteRawTag(16); output.WriteUInt32(UniqueId); } 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 (ItemId != 0) { output.WriteRawTag(8); output.WriteUInt32(ItemId); } if (UniqueId != 0) { output.WriteRawTag(16); output.WriteUInt32(UniqueId); } 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 (ItemId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ItemId); } if (UniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightEquipmentItemPb other) { if (other == null) { return; } if (other.ItemId != 0) { ItemId = other.ItemId; } if (other.UniqueId != 0) { UniqueId = other.UniqueId; } _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: { ItemId = input.ReadUInt32(); break; } case 16: { UniqueId = 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: { ItemId = input.ReadUInt32(); break; } case 16: { UniqueId = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightConsumableItemPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightConsumableItemPb()); 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.ServerSide.GridFightDataReflection.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 GridFightConsumableItemPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightConsumableItemPb(GridFightConsumableItemPb other) : this() { itemId_ = other.itemId_; count_ = other.count_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightConsumableItemPb Clone() { return new GridFightConsumableItemPb(this); } /// Field number for the "ItemId" field. public const int ItemIdFieldNumber = 1; private uint itemId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ItemId { get { return itemId_; } set { itemId_ = value; } } /// Field number for the "Count" field. public const int CountFieldNumber = 2; private uint count_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Count { get { return count_; } set { count_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightConsumableItemPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightConsumableItemPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (ItemId != other.ItemId) return false; if (Count != other.Count) 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 (ItemId != 0) hash ^= ItemId.GetHashCode(); if (Count != 0) hash ^= Count.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 (ItemId != 0) { output.WriteRawTag(8); output.WriteUInt32(ItemId); } if (Count != 0) { output.WriteRawTag(16); output.WriteUInt32(Count); } 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 (ItemId != 0) { output.WriteRawTag(8); output.WriteUInt32(ItemId); } if (Count != 0) { output.WriteRawTag(16); output.WriteUInt32(Count); } 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 (ItemId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ItemId); } if (Count != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightConsumableItemPb other) { if (other == null) { return; } if (other.ItemId != 0) { ItemId = other.ItemId; } if (other.Count != 0) { Count = other.Count; } _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: { ItemId = input.ReadUInt32(); break; } case 16: { Count = 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: { ItemId = input.ReadUInt32(); break; } case 16: { Count = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightItemsInfoPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightItemsInfoPb()); 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.ServerSide.GridFightDataReflection.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 GridFightItemsInfoPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightItemsInfoPb(GridFightItemsInfoPb other) : this() { equipmentItems_ = other.equipmentItems_.Clone(); consumableItems_ = other.consumableItems_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightItemsInfoPb Clone() { return new GridFightItemsInfoPb(this); } /// Field number for the "EquipmentItems" field. public const int EquipmentItemsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_equipmentItems_codec = pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentItemPb.Parser); private readonly pbc::RepeatedField equipmentItems_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EquipmentItems { get { return equipmentItems_; } } /// Field number for the "ConsumableItems" field. public const int ConsumableItemsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_consumableItems_codec = pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ServerSide.GridFightConsumableItemPb.Parser); private readonly pbc::RepeatedField consumableItems_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ConsumableItems { get { return consumableItems_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightItemsInfoPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightItemsInfoPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!equipmentItems_.Equals(other.equipmentItems_)) return false; if(!consumableItems_.Equals(other.consumableItems_)) 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 ^= equipmentItems_.GetHashCode(); hash ^= consumableItems_.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 equipmentItems_.WriteTo(output, _repeated_equipmentItems_codec); consumableItems_.WriteTo(output, _repeated_consumableItems_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) { equipmentItems_.WriteTo(ref output, _repeated_equipmentItems_codec); consumableItems_.WriteTo(ref output, _repeated_consumableItems_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 += equipmentItems_.CalculateSize(_repeated_equipmentItems_codec); size += consumableItems_.CalculateSize(_repeated_consumableItems_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightItemsInfoPb other) { if (other == null) { return; } equipmentItems_.Add(other.equipmentItems_); consumableItems_.Add(other.consumableItems_); _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: { equipmentItems_.AddEntriesFrom(input, _repeated_equipmentItems_codec); break; } case 18: { consumableItems_.AddEntriesFrom(input, _repeated_consumableItems_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: { equipmentItems_.AddEntriesFrom(ref input, _repeated_equipmentItems_codec); break; } case 18: { consumableItems_.AddEntriesFrom(ref input, _repeated_consumableItems_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightComponentPb : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightComponentPb()); 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.ServerSide.GridFightDataReflection.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 GridFightComponentPb() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightComponentPb(GridFightComponentPb other) : this() { switch (other.ComponentTypeCase) { case ComponentTypeOneofCase.ShopInfo: ShopInfo = other.ShopInfo.Clone(); break; case ComponentTypeOneofCase.BasicInfo: BasicInfo = other.BasicInfo.Clone(); break; case ComponentTypeOneofCase.TeamInfo: TeamInfo = other.TeamInfo.Clone(); break; case ComponentTypeOneofCase.OrbInfo: OrbInfo = other.OrbInfo.Clone(); break; case ComponentTypeOneofCase.AugmentInfo: AugmentInfo = other.AugmentInfo.Clone(); break; case ComponentTypeOneofCase.TraitInfo: TraitInfo = other.TraitInfo.Clone(); break; case ComponentTypeOneofCase.ItemsInfo: ItemsInfo = other.ItemsInfo.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightComponentPb Clone() { return new GridFightComponentPb(this); } /// Field number for the "ShopInfo" field. public const int ShopInfoFieldNumber = 1; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopInfoPb ShopInfo { get { return componentTypeCase_ == ComponentTypeOneofCase.ShopInfo ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopInfoPb) componentType_ : null; } set { componentType_ = value; componentTypeCase_ = value == null ? ComponentTypeOneofCase.None : ComponentTypeOneofCase.ShopInfo; } } /// Field number for the "BasicInfo" field. public const int BasicInfoFieldNumber = 2; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ServerSide.GridFightBasicInfoPb BasicInfo { get { return componentTypeCase_ == ComponentTypeOneofCase.BasicInfo ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightBasicInfoPb) componentType_ : null; } set { componentType_ = value; componentTypeCase_ = value == null ? ComponentTypeOneofCase.None : ComponentTypeOneofCase.BasicInfo; } } /// Field number for the "TeamInfo" field. public const int TeamInfoFieldNumber = 3; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ServerSide.GridFightTeamInfoPb TeamInfo { get { return componentTypeCase_ == ComponentTypeOneofCase.TeamInfo ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightTeamInfoPb) componentType_ : null; } set { componentType_ = value; componentTypeCase_ = value == null ? ComponentTypeOneofCase.None : ComponentTypeOneofCase.TeamInfo; } } /// Field number for the "OrbInfo" field. public const int OrbInfoFieldNumber = 4; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ServerSide.GridFightOrbInfoPb OrbInfo { get { return componentTypeCase_ == ComponentTypeOneofCase.OrbInfo ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightOrbInfoPb) componentType_ : null; } set { componentType_ = value; componentTypeCase_ = value == null ? ComponentTypeOneofCase.None : ComponentTypeOneofCase.OrbInfo; } } /// Field number for the "AugmentInfo" field. public const int AugmentInfoFieldNumber = 5; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ServerSide.GridFightAugmentInfoPb AugmentInfo { get { return componentTypeCase_ == ComponentTypeOneofCase.AugmentInfo ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightAugmentInfoPb) componentType_ : null; } set { componentType_ = value; componentTypeCase_ = value == null ? ComponentTypeOneofCase.None : ComponentTypeOneofCase.AugmentInfo; } } /// Field number for the "TraitInfo" field. public const int TraitInfoFieldNumber = 6; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ServerSide.GridFightTraitInfoPb TraitInfo { get { return componentTypeCase_ == ComponentTypeOneofCase.TraitInfo ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightTraitInfoPb) componentType_ : null; } set { componentType_ = value; componentTypeCase_ = value == null ? ComponentTypeOneofCase.None : ComponentTypeOneofCase.TraitInfo; } } /// Field number for the "ItemsInfo" field. public const int ItemsInfoFieldNumber = 7; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ServerSide.GridFightItemsInfoPb ItemsInfo { get { return componentTypeCase_ == ComponentTypeOneofCase.ItemsInfo ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightItemsInfoPb) componentType_ : null; } set { componentType_ = value; componentTypeCase_ = value == null ? ComponentTypeOneofCase.None : ComponentTypeOneofCase.ItemsInfo; } } private object componentType_; /// Enum of possible cases for the "ComponentType" oneof. public enum ComponentTypeOneofCase { None = 0, ShopInfo = 1, BasicInfo = 2, TeamInfo = 3, OrbInfo = 4, AugmentInfo = 5, TraitInfo = 6, ItemsInfo = 7, } private ComponentTypeOneofCase componentTypeCase_ = ComponentTypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ComponentTypeOneofCase ComponentTypeCase { get { return componentTypeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearComponentType() { componentTypeCase_ = ComponentTypeOneofCase.None; componentType_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightComponentPb); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightComponentPb other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(ShopInfo, other.ShopInfo)) return false; if (!object.Equals(BasicInfo, other.BasicInfo)) return false; if (!object.Equals(TeamInfo, other.TeamInfo)) return false; if (!object.Equals(OrbInfo, other.OrbInfo)) return false; if (!object.Equals(AugmentInfo, other.AugmentInfo)) return false; if (!object.Equals(TraitInfo, other.TraitInfo)) return false; if (!object.Equals(ItemsInfo, other.ItemsInfo)) return false; if (ComponentTypeCase != other.ComponentTypeCase) 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 (componentTypeCase_ == ComponentTypeOneofCase.ShopInfo) hash ^= ShopInfo.GetHashCode(); if (componentTypeCase_ == ComponentTypeOneofCase.BasicInfo) hash ^= BasicInfo.GetHashCode(); if (componentTypeCase_ == ComponentTypeOneofCase.TeamInfo) hash ^= TeamInfo.GetHashCode(); if (componentTypeCase_ == ComponentTypeOneofCase.OrbInfo) hash ^= OrbInfo.GetHashCode(); if (componentTypeCase_ == ComponentTypeOneofCase.AugmentInfo) hash ^= AugmentInfo.GetHashCode(); if (componentTypeCase_ == ComponentTypeOneofCase.TraitInfo) hash ^= TraitInfo.GetHashCode(); if (componentTypeCase_ == ComponentTypeOneofCase.ItemsInfo) hash ^= ItemsInfo.GetHashCode(); hash ^= (int) componentTypeCase_; 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 (componentTypeCase_ == ComponentTypeOneofCase.ShopInfo) { output.WriteRawTag(10); output.WriteMessage(ShopInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.BasicInfo) { output.WriteRawTag(18); output.WriteMessage(BasicInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.TeamInfo) { output.WriteRawTag(26); output.WriteMessage(TeamInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.OrbInfo) { output.WriteRawTag(34); output.WriteMessage(OrbInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.AugmentInfo) { output.WriteRawTag(42); output.WriteMessage(AugmentInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.TraitInfo) { output.WriteRawTag(50); output.WriteMessage(TraitInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.ItemsInfo) { output.WriteRawTag(58); output.WriteMessage(ItemsInfo); } 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 (componentTypeCase_ == ComponentTypeOneofCase.ShopInfo) { output.WriteRawTag(10); output.WriteMessage(ShopInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.BasicInfo) { output.WriteRawTag(18); output.WriteMessage(BasicInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.TeamInfo) { output.WriteRawTag(26); output.WriteMessage(TeamInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.OrbInfo) { output.WriteRawTag(34); output.WriteMessage(OrbInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.AugmentInfo) { output.WriteRawTag(42); output.WriteMessage(AugmentInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.TraitInfo) { output.WriteRawTag(50); output.WriteMessage(TraitInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.ItemsInfo) { output.WriteRawTag(58); output.WriteMessage(ItemsInfo); } 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 (componentTypeCase_ == ComponentTypeOneofCase.ShopInfo) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ShopInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.BasicInfo) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasicInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.TeamInfo) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TeamInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.OrbInfo) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(OrbInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.AugmentInfo) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AugmentInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.TraitInfo) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TraitInfo); } if (componentTypeCase_ == ComponentTypeOneofCase.ItemsInfo) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ItemsInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightComponentPb other) { if (other == null) { return; } switch (other.ComponentTypeCase) { case ComponentTypeOneofCase.ShopInfo: if (ShopInfo == null) { ShopInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopInfoPb(); } ShopInfo.MergeFrom(other.ShopInfo); break; case ComponentTypeOneofCase.BasicInfo: if (BasicInfo == null) { BasicInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightBasicInfoPb(); } BasicInfo.MergeFrom(other.BasicInfo); break; case ComponentTypeOneofCase.TeamInfo: if (TeamInfo == null) { TeamInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightTeamInfoPb(); } TeamInfo.MergeFrom(other.TeamInfo); break; case ComponentTypeOneofCase.OrbInfo: if (OrbInfo == null) { OrbInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightOrbInfoPb(); } OrbInfo.MergeFrom(other.OrbInfo); break; case ComponentTypeOneofCase.AugmentInfo: if (AugmentInfo == null) { AugmentInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightAugmentInfoPb(); } AugmentInfo.MergeFrom(other.AugmentInfo); break; case ComponentTypeOneofCase.TraitInfo: if (TraitInfo == null) { TraitInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightTraitInfoPb(); } TraitInfo.MergeFrom(other.TraitInfo); break; case ComponentTypeOneofCase.ItemsInfo: if (ItemsInfo == null) { ItemsInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightItemsInfoPb(); } ItemsInfo.MergeFrom(other.ItemsInfo); 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 10: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.ShopInfo) { subBuilder.MergeFrom(ShopInfo); } input.ReadMessage(subBuilder); ShopInfo = subBuilder; break; } case 18: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightBasicInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightBasicInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.BasicInfo) { subBuilder.MergeFrom(BasicInfo); } input.ReadMessage(subBuilder); BasicInfo = subBuilder; break; } case 26: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightTeamInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightTeamInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.TeamInfo) { subBuilder.MergeFrom(TeamInfo); } input.ReadMessage(subBuilder); TeamInfo = subBuilder; break; } case 34: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightOrbInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightOrbInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.OrbInfo) { subBuilder.MergeFrom(OrbInfo); } input.ReadMessage(subBuilder); OrbInfo = subBuilder; break; } case 42: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightAugmentInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightAugmentInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.AugmentInfo) { subBuilder.MergeFrom(AugmentInfo); } input.ReadMessage(subBuilder); AugmentInfo = subBuilder; break; } case 50: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightTraitInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightTraitInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.TraitInfo) { subBuilder.MergeFrom(TraitInfo); } input.ReadMessage(subBuilder); TraitInfo = subBuilder; break; } case 58: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightItemsInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightItemsInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.ItemsInfo) { subBuilder.MergeFrom(ItemsInfo); } input.ReadMessage(subBuilder); ItemsInfo = 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 10: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.ShopInfo) { subBuilder.MergeFrom(ShopInfo); } input.ReadMessage(subBuilder); ShopInfo = subBuilder; break; } case 18: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightBasicInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightBasicInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.BasicInfo) { subBuilder.MergeFrom(BasicInfo); } input.ReadMessage(subBuilder); BasicInfo = subBuilder; break; } case 26: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightTeamInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightTeamInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.TeamInfo) { subBuilder.MergeFrom(TeamInfo); } input.ReadMessage(subBuilder); TeamInfo = subBuilder; break; } case 34: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightOrbInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightOrbInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.OrbInfo) { subBuilder.MergeFrom(OrbInfo); } input.ReadMessage(subBuilder); OrbInfo = subBuilder; break; } case 42: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightAugmentInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightAugmentInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.AugmentInfo) { subBuilder.MergeFrom(AugmentInfo); } input.ReadMessage(subBuilder); AugmentInfo = subBuilder; break; } case 50: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightTraitInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightTraitInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.TraitInfo) { subBuilder.MergeFrom(TraitInfo); } input.ReadMessage(subBuilder); TraitInfo = subBuilder; break; } case 58: { global::EggLink.DanhengServer.Proto.ServerSide.GridFightItemsInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightItemsInfoPb(); if (componentTypeCase_ == ComponentTypeOneofCase.ItemsInfo) { subBuilder.MergeFrom(ItemsInfo); } input.ReadMessage(subBuilder); ItemsInfo = subBuilder; break; } } } } #endif } #endregion } #endregion Designer generated code