Files
DanhengServer-OpenSource/ServerSideProto/GridFightData.cs
2025-12-14 11:26:26 +08:00

6748 lines
250 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridFightData.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto.ServerSide {
/// <summary>Holder for reflection information generated from GridFightData.proto</summary>
public static partial class GridFightDataReflection {
#region Descriptor
/// <summary>File descriptor for GridFightData.proto</summary>
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",
"aHRDb21wb25lbnRQYiLnAgoUR3JpZEZpZ2h0QmFzaWNJbmZvUGISDwoHQ3Vy",
"R29sZBgBIAEoDRIQCghDdXJMZXZlbBgCIAEoDRIQCghMZXZlbEV4cBgDIAEo",
"DRIUCgxCdXlMZXZlbENvc3QYBCABKA0SDQoFQ3VySHAYBSABKA0SFAoMTWF4",
"QXZhdGFyTnVtGAYgASgNEhAKCENvbWJvTnVtGAcgASgNEhAKCExvY2tUeXBl",
"GAggASgNEhIKCkxvY2tSZWFzb24YCSABKA0SEwoLTWF4SW50ZXJlc3QYCiAB",
"KA0SFgoOVHJhY2tpbmdUcmFpdHMYCyADKA0SOgoSVHJhY2tpbmdFcXVpcG1l",
"bnRzGAwgAygLMh4uR3JpZEZpZ2h0RXF1aXBtZW50VHJhY2tJbmZvUGISEQoJ",
"R3VpZGVDb2RlGA0gASgJEhAKCE1heExldmVsGA4gASgNEhkKEU9mZkZpZWxk",
"QXZhdGFyTnVtGA8gASgNIlcKHUdyaWRGaWdodEVxdWlwbWVudFRyYWNrSW5m",
"b1BiEhAKCFByaW9yaXR5GAEgASgNEg4KBlJvbGVJZBgCIAEoDRIUCgxFcXVp",
"cG1lbnRJZHMYAyADKA0i2AEKE0dyaWRGaWdodFJvbGVJbmZvUGISDgoGUm9s",
"ZUlkGAEgASgNEgwKBFRpZXIYAiABKA0SCwoDUG9zGAMgASgNEhAKCFVuaXF1",
"ZUlkGAQgASgNEjoKC1NhdmVkVmFsdWVzGAUgAygLMiUuR3JpZEZpZ2h0Um9s",
"ZUluZm9QYi5TYXZlZFZhbHVlc0VudHJ5EhQKDEVxdWlwbWVudElkcxgGIAMo",
"DRoyChBTYXZlZFZhbHVlc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgC",
"IAEoDToCOAEiWAoSR3JpZEZpZ2h0TnBjSW5mb1BiEg0KBU5wY0lkGAEgASgN",
"EgsKA1BvcxgCIAEoDRIQCghVbmlxdWVJZBgDIAEoDRIUCgxFcXVpcG1lbnRJ",
"ZHMYBCADKA0idQoUR3JpZEZpZ2h0Rm9yZ2VJbmZvUGISEwoLRm9yZ2VJdGVt",
"SWQYASABKA0SCwoDUG9zGAIgASgNEhAKCFVuaXF1ZUlkGAMgASgNEikKBUdv",
"b2RzGAQgAygLMhouR3JpZEZpZ2h0Rm9yZ2VHb29kc0luZm9QYiJuChlHcmlk",
"RmlnaHRGb3JnZUdvb2RzSW5mb1BiEhAKBkl0ZW1JZBgBIAEoDUgAEjIKCFJv",
"bGVJbmZvGAIgASgLMh4uR3JpZEZpZ2h0Rm9yZ2VSb2xlR29vZHNJbmZvUGJI",
"AEILCglHb29kc1R5cGUiPQodR3JpZEZpZ2h0Rm9yZ2VSb2xlR29vZHNJbmZv",
"UGISDgoGUm9sZUlkGAEgASgNEgwKBFRpZXIYAiABKA0imQEKE0dyaWRGaWdo",
"dFRlYW1JbmZvUGISIwoFUm9sZXMYASADKAsyFC5HcmlkRmlnaHRSb2xlSW5m",
"b1BiEiEKBE5wY3MYAiADKAsyEy5HcmlkRmlnaHROcGNJbmZvUGISJQoGRm9y",
"Z2VzGAMgAygLMhUuR3JpZEZpZ2h0Rm9yZ2VJbmZvUGISEwoLQ3VyVW5pcXVl",
"SWQYBCABKA0iOQoSR3JpZEZpZ2h0R2FtZU9yYlBiEhEKCU9yYkl0ZW1JZBgB",
"IAEoDRIQCghVbmlxdWVJZBgCIAEoDSI3ChJHcmlkRmlnaHRPcmJJbmZvUGIS",
"IQoET3JicxgBIAMoCzITLkdyaWRGaWdodEdhbWVPcmJQYiKeAQoWR3JpZEZp",
"Z2h0R2FtZUF1Z21lbnRQYhIRCglBdWdtZW50SWQYASABKA0SPQoLU2F2ZWRW",
"YWx1ZXMYAiADKAsyKC5HcmlkRmlnaHRHYW1lQXVnbWVudFBiLlNhdmVkVmFs",
"dWVzRW50cnkaMgoQU2F2ZWRWYWx1ZXNFbnRyeRILCgNrZXkYASABKAkSDQoF",
"dmFsdWUYAiABKA06AjgBIkMKFkdyaWRGaWdodEF1Z21lbnRJbmZvUGISKQoI",
"QXVnbWVudHMYASADKAsyFy5HcmlkRmlnaHRHYW1lQXVnbWVudFBiIn8KGkdy",
"aWRGaWdodEdhbWVUcmFpdEVmZmVjdFBiEg8KB1RyYWl0SWQYASABKA0SEAoI",
"RWZmZWN0SWQYAiABKA0SEwoJVGhyZXNob2xkGAMgASgNSAASGgoQQ29yZVJv",
"bGVVbmlxdWVJZBgEIAEoDUgAQg0KC0VmZmVjdFBhcmFtImkKFEdyaWRGaWdo",
"dEdhbWVUcmFpdFBiEg8KB1RyYWl0SWQYASABKA0SLAoHRWZmZWN0cxgCIAMo",
"CzIbLkdyaWRGaWdodEdhbWVUcmFpdEVmZmVjdFBiEhIKClRyYWl0TGF5ZXIY",
"AyABKA0iPQoUR3JpZEZpZ2h0VHJhaXRJbmZvUGISJQoGVHJhaXRzGAEgAygL",
"MhUuR3JpZEZpZ2h0R2FtZVRyYWl0UGIiPAoYR3JpZEZpZ2h0RXF1aXBtZW50",
"SXRlbVBiEg4KBkl0ZW1JZBgBIAEoDRIQCghVbmlxdWVJZBgCIAEoDSI6ChlH",
"cmlkRmlnaHRDb25zdW1hYmxlSXRlbVBiEg4KBkl0ZW1JZBgBIAEoDRINCgVD",
"b3VudBgCIAEoDSJ+ChRHcmlkRmlnaHRJdGVtc0luZm9QYhIxCg5FcXVpcG1l",
"bnRJdGVtcxgBIAMoCzIZLkdyaWRGaWdodEVxdWlwbWVudEl0ZW1QYhIzCg9D",
"b25zdW1hYmxlSXRlbXMYAiADKAsyGi5HcmlkRmlnaHRDb25zdW1hYmxlSXRl",
"bVBiItcCChRHcmlkRmlnaHRDb21wb25lbnRQYhIoCghTaG9wSW5mbxgBIAEo",
"CzIULkdyaWRGaWdodFNob3BJbmZvUGJIABIqCglCYXNpY0luZm8YAiABKAsy",
"FS5HcmlkRmlnaHRCYXNpY0luZm9QYkgAEigKCFRlYW1JbmZvGAMgASgLMhQu",
"R3JpZEZpZ2h0VGVhbUluZm9QYkgAEiYKB09yYkluZm8YBCABKAsyEy5Hcmlk",
"RmlnaHRPcmJJbmZvUGJIABIuCgtBdWdtZW50SW5mbxgFIAEoCzIXLkdyaWRG",
"aWdodEF1Z21lbnRJbmZvUGJIABIqCglUcmFpdEluZm8YBiABKAsyFS5Hcmlk",
"RmlnaHRUcmFpdEluZm9QYkgAEioKCUl0ZW1zSW5mbxgHIAEoCzIVLkdyaWRG",
"aWdodEl0ZW1zSW5mb1BiSABCDwoNQ29tcG9uZW50VHlwZUIpqgImRWdnTGlu",
"ay5EYW5oZW5nU2VydmVyLlByb3RvLlNlcnZlclNpZGViBnByb3RvMw=="));
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", "OffFieldAvatarNum" }, 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<GridFightShopRoleItemPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightShopRoleItemPb> _parser = new pb::MessageParser<GridFightShopRoleItemPb>(() => new GridFightShopRoleItemPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightShopRoleItemPb> 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);
}
/// <summary>Field number for the "RoleId" field.</summary>
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;
}
}
/// <summary>Field number for the "Tier" field.</summary>
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<GridFightShopItemPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightShopItemPb> _parser = new pb::MessageParser<GridFightShopItemPb>(() => new GridFightShopItemPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightShopItemPb> 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);
}
/// <summary>Field number for the "RoleItem" field.</summary>
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;
}
}
/// <summary>Field number for the "Cost" field.</summary>
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;
}
}
/// <summary>Field number for the "SoldOut" field.</summary>
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_;
/// <summary>Enum of possible cases for the "ItemType" oneof.</summary>
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<GridFightShopInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightShopInfoPb> _parser = new pb::MessageParser<GridFightShopInfoPb>(() => new GridFightShopInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightShopInfoPb> 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);
}
/// <summary>Field number for the "ShopLocked" field.</summary>
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;
}
}
/// <summary>Field number for the "FreeRefreshCount" field.</summary>
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;
}
}
/// <summary>Field number for the "RefreshCost" field.</summary>
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;
}
}
/// <summary>Field number for the "ShopItems" field.</summary>
public const int ShopItemsFieldNumber = 4;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopItemPb> _repeated_shopItems_codec
= pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopItemPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopItemPb> shopItems_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopItemPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightShopItemPb> 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<GridFightGameInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightGameInfoPb> _parser = new pb::MessageParser<GridFightGameInfoPb>(() => new GridFightGameInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightGameInfoPb> 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);
}
/// <summary>Field number for the "UniqueId" field.</summary>
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;
}
}
/// <summary>Field number for the "DivisionId" field.</summary>
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;
}
}
/// <summary>Field number for the "IsOverLock" field.</summary>
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;
}
}
/// <summary>Field number for the "Season" field.</summary>
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;
}
}
/// <summary>Field number for the "Components" field.</summary>
public const int ComponentsFieldNumber = 5;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb> _repeated_components_codec
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb> components_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb> 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<GridFightBasicInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightBasicInfoPb> _parser = new pb::MessageParser<GridFightBasicInfoPb>(() => new GridFightBasicInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightBasicInfoPb> 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_;
offFieldAvatarNum_ = other.offFieldAvatarNum_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightBasicInfoPb Clone() {
return new GridFightBasicInfoPb(this);
}
/// <summary>Field number for the "CurGold" field.</summary>
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;
}
}
/// <summary>Field number for the "CurLevel" field.</summary>
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;
}
}
/// <summary>Field number for the "LevelExp" field.</summary>
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;
}
}
/// <summary>Field number for the "BuyLevelCost" field.</summary>
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;
}
}
/// <summary>Field number for the "CurHp" field.</summary>
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;
}
}
/// <summary>Field number for the "MaxAvatarNum" field.</summary>
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;
}
}
/// <summary>Field number for the "ComboNum" field.</summary>
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;
}
}
/// <summary>Field number for the "LockType" field.</summary>
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;
}
}
/// <summary>Field number for the "LockReason" field.</summary>
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;
}
}
/// <summary>Field number for the "MaxInterest" field.</summary>
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;
}
}
/// <summary>Field number for the "TrackingTraits" field.</summary>
public const int TrackingTraitsFieldNumber = 11;
private static readonly pb::FieldCodec<uint> _repeated_trackingTraits_codec
= pb::FieldCodec.ForUInt32(90);
private readonly pbc::RepeatedField<uint> trackingTraits_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> TrackingTraits {
get { return trackingTraits_; }
}
/// <summary>Field number for the "TrackingEquipments" field.</summary>
public const int TrackingEquipmentsFieldNumber = 12;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentTrackInfoPb> _repeated_trackingEquipments_codec
= pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentTrackInfoPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentTrackInfoPb> trackingEquipments_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentTrackInfoPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentTrackInfoPb> TrackingEquipments {
get { return trackingEquipments_; }
}
/// <summary>Field number for the "GuideCode" field.</summary>
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");
}
}
/// <summary>Field number for the "MaxLevel" field.</summary>
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;
}
}
/// <summary>Field number for the "OffFieldAvatarNum" field.</summary>
public const int OffFieldAvatarNumFieldNumber = 15;
private uint offFieldAvatarNum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint OffFieldAvatarNum {
get { return offFieldAvatarNum_; }
set {
offFieldAvatarNum_ = 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;
if (OffFieldAvatarNum != other.OffFieldAvatarNum) 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 (OffFieldAvatarNum != 0) hash ^= OffFieldAvatarNum.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 (OffFieldAvatarNum != 0) {
output.WriteRawTag(120);
output.WriteUInt32(OffFieldAvatarNum);
}
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 (OffFieldAvatarNum != 0) {
output.WriteRawTag(120);
output.WriteUInt32(OffFieldAvatarNum);
}
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 (OffFieldAvatarNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OffFieldAvatarNum);
}
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;
}
if (other.OffFieldAvatarNum != 0) {
OffFieldAvatarNum = other.OffFieldAvatarNum;
}
_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;
}
case 120: {
OffFieldAvatarNum = 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;
}
case 120: {
OffFieldAvatarNum = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightEquipmentTrackInfoPb : pb::IMessage<GridFightEquipmentTrackInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightEquipmentTrackInfoPb> _parser = new pb::MessageParser<GridFightEquipmentTrackInfoPb>(() => new GridFightEquipmentTrackInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightEquipmentTrackInfoPb> 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);
}
/// <summary>Field number for the "Priority" field.</summary>
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;
}
}
/// <summary>Field number for the "RoleId" field.</summary>
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;
}
}
/// <summary>Field number for the "EquipmentIds" field.</summary>
public const int EquipmentIdsFieldNumber = 3;
private static readonly pb::FieldCodec<uint> _repeated_equipmentIds_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField<uint> equipmentIds_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> 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<GridFightRoleInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightRoleInfoPb> _parser = new pb::MessageParser<GridFightRoleInfoPb>(() => new GridFightRoleInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightRoleInfoPb> 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);
}
/// <summary>Field number for the "RoleId" field.</summary>
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;
}
}
/// <summary>Field number for the "Tier" field.</summary>
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;
}
}
/// <summary>Field number for the "Pos" field.</summary>
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;
}
}
/// <summary>Field number for the "UniqueId" field.</summary>
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;
}
}
/// <summary>Field number for the "SavedValues" field.</summary>
public const int SavedValuesFieldNumber = 5;
private static readonly pbc::MapField<string, uint>.Codec _map_savedValues_codec
= new pbc::MapField<string, uint>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 42);
private readonly pbc::MapField<string, uint> savedValues_ = new pbc::MapField<string, uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::MapField<string, uint> SavedValues {
get { return savedValues_; }
}
/// <summary>Field number for the "EquipmentIds" field.</summary>
public const int EquipmentIdsFieldNumber = 6;
private static readonly pb::FieldCodec<uint> _repeated_equipmentIds_codec
= pb::FieldCodec.ForUInt32(50);
private readonly pbc::RepeatedField<uint> equipmentIds_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> 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<GridFightNpcInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightNpcInfoPb> _parser = new pb::MessageParser<GridFightNpcInfoPb>(() => new GridFightNpcInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightNpcInfoPb> 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);
}
/// <summary>Field number for the "NpcId" field.</summary>
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;
}
}
/// <summary>Field number for the "Pos" field.</summary>
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;
}
}
/// <summary>Field number for the "UniqueId" field.</summary>
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;
}
}
/// <summary>Field number for the "EquipmentIds" field.</summary>
public const int EquipmentIdsFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_equipmentIds_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> equipmentIds_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> 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<GridFightForgeInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightForgeInfoPb> _parser = new pb::MessageParser<GridFightForgeInfoPb>(() => new GridFightForgeInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightForgeInfoPb> 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);
}
/// <summary>Field number for the "ForgeItemId" field.</summary>
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;
}
}
/// <summary>Field number for the "Pos" field.</summary>
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;
}
}
/// <summary>Field number for the "UniqueId" field.</summary>
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;
}
}
/// <summary>Field number for the "Goods" field.</summary>
public const int GoodsFieldNumber = 4;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeGoodsInfoPb> _repeated_goods_codec
= pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeGoodsInfoPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeGoodsInfoPb> goods_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeGoodsInfoPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeGoodsInfoPb> 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<GridFightForgeGoodsInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightForgeGoodsInfoPb> _parser = new pb::MessageParser<GridFightForgeGoodsInfoPb>(() => new GridFightForgeGoodsInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightForgeGoodsInfoPb> 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);
}
/// <summary>Field number for the "ItemId" field.</summary>
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;
}
}
/// <summary>Gets whether the "ItemId" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasItemId {
get { return goodsTypeCase_ == GoodsTypeOneofCase.ItemId; }
}
/// <summary> Clears the value of the oneof if it's currently set to "ItemId" </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearItemId() {
if (HasItemId) {
ClearGoodsType();
}
}
/// <summary>Field number for the "RoleInfo" field.</summary>
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_;
/// <summary>Enum of possible cases for the "GoodsType" oneof.</summary>
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<GridFightForgeRoleGoodsInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightForgeRoleGoodsInfoPb> _parser = new pb::MessageParser<GridFightForgeRoleGoodsInfoPb>(() => new GridFightForgeRoleGoodsInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightForgeRoleGoodsInfoPb> 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);
}
/// <summary>Field number for the "RoleId" field.</summary>
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;
}
}
/// <summary>Field number for the "Tier" field.</summary>
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<GridFightTeamInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightTeamInfoPb> _parser = new pb::MessageParser<GridFightTeamInfoPb>(() => new GridFightTeamInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightTeamInfoPb> 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);
}
/// <summary>Field number for the "Roles" field.</summary>
public const int RolesFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightRoleInfoPb> _repeated_roles_codec
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightRoleInfoPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightRoleInfoPb> roles_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightRoleInfoPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightRoleInfoPb> Roles {
get { return roles_; }
}
/// <summary>Field number for the "Npcs" field.</summary>
public const int NpcsFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightNpcInfoPb> _repeated_npcs_codec
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ServerSide.GridFightNpcInfoPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightNpcInfoPb> npcs_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightNpcInfoPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightNpcInfoPb> Npcs {
get { return npcs_; }
}
/// <summary>Field number for the "Forges" field.</summary>
public const int ForgesFieldNumber = 3;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeInfoPb> _repeated_forges_codec
= pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeInfoPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeInfoPb> forges_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeInfoPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightForgeInfoPb> Forges {
get { return forges_; }
}
/// <summary>Field number for the "CurUniqueId" field.</summary>
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<GridFightGameOrbPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightGameOrbPb> _parser = new pb::MessageParser<GridFightGameOrbPb>(() => new GridFightGameOrbPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightGameOrbPb> 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);
}
/// <summary>Field number for the "OrbItemId" field.</summary>
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;
}
}
/// <summary>Field number for the "UniqueId" field.</summary>
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<GridFightOrbInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightOrbInfoPb> _parser = new pb::MessageParser<GridFightOrbInfoPb>(() => new GridFightOrbInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightOrbInfoPb> 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);
}
/// <summary>Field number for the "Orbs" field.</summary>
public const int OrbsFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameOrbPb> _repeated_orbs_codec
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameOrbPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameOrbPb> orbs_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameOrbPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameOrbPb> 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<GridFightGameAugmentPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightGameAugmentPb> _parser = new pb::MessageParser<GridFightGameAugmentPb>(() => new GridFightGameAugmentPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightGameAugmentPb> 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);
}
/// <summary>Field number for the "AugmentId" field.</summary>
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;
}
}
/// <summary>Field number for the "SavedValues" field.</summary>
public const int SavedValuesFieldNumber = 2;
private static readonly pbc::MapField<string, uint>.Codec _map_savedValues_codec
= new pbc::MapField<string, uint>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 18);
private readonly pbc::MapField<string, uint> savedValues_ = new pbc::MapField<string, uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::MapField<string, uint> 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<GridFightAugmentInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightAugmentInfoPb> _parser = new pb::MessageParser<GridFightAugmentInfoPb>(() => new GridFightAugmentInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightAugmentInfoPb> 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);
}
/// <summary>Field number for the "Augments" field.</summary>
public const int AugmentsFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameAugmentPb> _repeated_augments_codec
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameAugmentPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameAugmentPb> augments_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameAugmentPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameAugmentPb> 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<GridFightGameTraitEffectPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightGameTraitEffectPb> _parser = new pb::MessageParser<GridFightGameTraitEffectPb>(() => new GridFightGameTraitEffectPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightGameTraitEffectPb> 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);
}
/// <summary>Field number for the "TraitId" field.</summary>
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;
}
}
/// <summary>Field number for the "EffectId" field.</summary>
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;
}
}
/// <summary>Field number for the "Threshold" field.</summary>
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;
}
}
/// <summary>Gets whether the "Threshold" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasThreshold {
get { return effectParamCase_ == EffectParamOneofCase.Threshold; }
}
/// <summary> Clears the value of the oneof if it's currently set to "Threshold" </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearThreshold() {
if (HasThreshold) {
ClearEffectParam();
}
}
/// <summary>Field number for the "CoreRoleUniqueId" field.</summary>
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;
}
}
/// <summary>Gets whether the "CoreRoleUniqueId" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasCoreRoleUniqueId {
get { return effectParamCase_ == EffectParamOneofCase.CoreRoleUniqueId; }
}
/// <summary> Clears the value of the oneof if it's currently set to "CoreRoleUniqueId" </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearCoreRoleUniqueId() {
if (HasCoreRoleUniqueId) {
ClearEffectParam();
}
}
private object effectParam_;
/// <summary>Enum of possible cases for the "EffectParam" oneof.</summary>
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<GridFightGameTraitPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightGameTraitPb> _parser = new pb::MessageParser<GridFightGameTraitPb>(() => new GridFightGameTraitPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightGameTraitPb> 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);
}
/// <summary>Field number for the "TraitId" field.</summary>
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;
}
}
/// <summary>Field number for the "Effects" field.</summary>
public const int EffectsFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitEffectPb> _repeated_effects_codec
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitEffectPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitEffectPb> effects_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitEffectPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitEffectPb> Effects {
get { return effects_; }
}
/// <summary>Field number for the "TraitLayer" field.</summary>
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<GridFightTraitInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightTraitInfoPb> _parser = new pb::MessageParser<GridFightTraitInfoPb>(() => new GridFightTraitInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightTraitInfoPb> 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);
}
/// <summary>Field number for the "Traits" field.</summary>
public const int TraitsFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitPb> _repeated_traits_codec
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitPb> traits_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightGameTraitPb> 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<GridFightEquipmentItemPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightEquipmentItemPb> _parser = new pb::MessageParser<GridFightEquipmentItemPb>(() => new GridFightEquipmentItemPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightEquipmentItemPb> 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);
}
/// <summary>Field number for the "ItemId" field.</summary>
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;
}
}
/// <summary>Field number for the "UniqueId" field.</summary>
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<GridFightConsumableItemPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightConsumableItemPb> _parser = new pb::MessageParser<GridFightConsumableItemPb>(() => new GridFightConsumableItemPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightConsumableItemPb> 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);
}
/// <summary>Field number for the "ItemId" field.</summary>
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;
}
}
/// <summary>Field number for the "Count" field.</summary>
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<GridFightItemsInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightItemsInfoPb> _parser = new pb::MessageParser<GridFightItemsInfoPb>(() => new GridFightItemsInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightItemsInfoPb> 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);
}
/// <summary>Field number for the "EquipmentItems" field.</summary>
public const int EquipmentItemsFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentItemPb> _repeated_equipmentItems_codec
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentItemPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentItemPb> equipmentItems_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentItemPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightEquipmentItemPb> EquipmentItems {
get { return equipmentItems_; }
}
/// <summary>Field number for the "ConsumableItems" field.</summary>
public const int ConsumableItemsFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ServerSide.GridFightConsumableItemPb> _repeated_consumableItems_codec
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ServerSide.GridFightConsumableItemPb.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightConsumableItemPb> consumableItems_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightConsumableItemPb>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ServerSide.GridFightConsumableItemPb> 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<GridFightComponentPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightComponentPb> _parser = new pb::MessageParser<GridFightComponentPb>(() => new GridFightComponentPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightComponentPb> 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);
}
/// <summary>Field number for the "ShopInfo" field.</summary>
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;
}
}
/// <summary>Field number for the "BasicInfo" field.</summary>
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;
}
}
/// <summary>Field number for the "TeamInfo" field.</summary>
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;
}
}
/// <summary>Field number for the "OrbInfo" field.</summary>
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;
}
}
/// <summary>Field number for the "AugmentInfo" field.</summary>
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;
}
}
/// <summary>Field number for the "TraitInfo" field.</summary>
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;
}
}
/// <summary>Field number for the "ItemsInfo" field.</summary>
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_;
/// <summary>Enum of possible cases for the "ComponentType" oneof.</summary>
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