Files
DanhengServer-OpenSource/ServerSideProto/GridFightData.cs
2025-11-01 11:57:29 +08:00

2454 lines
88 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",
"bVBiEg4KBlJvbGVJZBgBIAEoDRIMCgRUaWVyGAIgASgNIl8KE0dyaWRGaWdo",
"dFNob3BJdGVtUGISLAoIUm9sZUl0ZW0YASABKAsyGC5HcmlkRmlnaHRTaG9w",
"Um9sZUl0ZW1QYkgAEg4KBlJhcml0eRgCIAEoDUIKCghJdGVtVHlwZSKBAQoT",
"R3JpZEZpZ2h0U2hvcEluZm9QYhISCgpTaG9wTG9ja2VkGAEgASgIEhgKEEZy",
"ZWVSZWZyZXNoQ291bnQYAiABKA0SEwoLUmVmcmVzaENvc3QYAyABKA0SJwoJ",
"U2hvcEl0ZW1zGAQgAygLMhQuR3JpZEZpZ2h0U2hvcEl0ZW1QYiKKAQoTR3Jp",
"ZEZpZ2h0R2FtZUluZm9QYhIQCghVbmlxdWVJZBgBIAEoDRISCgpEaXZpc2lv",
"bklkGAIgASgNEhIKCklzT3ZlckxvY2sYAyABKAgSDgoGU2Vhc29uGAQgASgN",
"EikKCkNvbXBvbmVudHMYBSADKAsyFS5HcmlkRmlnaHRDb21wb25lbnRQYiKi",
"AQoUR3JpZEZpZ2h0QmFzaWNJbmZvUGISDwoHQ3VyR29sZBgBIAEoDRIQCghD",
"dXJMZXZlbBgCIAEoDRIQCghMZXZlbEV4cBgDIAEoDRIUCgxCdXlMZXZlbENv",
"c3QYBCABKA0SDQoFQ3VySHAYBSABKA0SHgoWQ3VyT25Hcm91bmRBdmF0YXJD",
"b3VudBgGIAEoDRIQCghDb21ib051bRgHIAEoDSJSChNHcmlkRmlnaHRSb2xl",
"SW5mb1BiEg4KBlJvbGVJZBgBIAEoDRIMCgRUaWVyGAIgASgNEgsKA1BvcxgD",
"IAEoDRIQCghVbmlxdWVJZBgEIAEoDSJRChVHcmlkRmlnaHRBdmF0YXJJbmZv",
"UGISIwoFUm9sZXMYASADKAsyFC5HcmlkRmlnaHRSb2xlSW5mb1BiEhMKC0N1",
"clVuaXF1ZUlkGAIgASgNIqsBChRHcmlkRmlnaHRDb21wb25lbnRQYhIoCghT",
"aG9wSW5mbxgBIAEoCzIULkdyaWRGaWdodFNob3BJbmZvUGJIABIqCglCYXNp",
"Y0luZm8YAiABKAsyFS5HcmlkRmlnaHRCYXNpY0luZm9QYkgAEiwKCkF2YXRh",
"ckluZm8YAyABKAsyFi5HcmlkRmlnaHRBdmF0YXJJbmZvUGJIAEIPCg1Db21w",
"b25lbnRUeXBlQimqAiZFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG8uU2Vy",
"dmVyU2lkZWIGcHJvdG8z"));
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", "Rarity" }, 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", "CurOnGroundAvatarCount", "ComboNum" }, 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" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb.Parser, new[]{ "Roles", "CurUniqueId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightComponentPb.Parser, new[]{ "ShopInfo", "BasicInfo", "AvatarInfo" }, 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() {
rarity_ = other.rarity_;
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 "Rarity" field.</summary>
public const int RarityFieldNumber = 2;
private uint rarity_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Rarity {
get { return rarity_; }
set {
rarity_ = 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 (Rarity != other.Rarity) 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 (Rarity != 0) hash ^= Rarity.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 (Rarity != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Rarity);
}
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 (Rarity != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Rarity);
}
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 (Rarity != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rarity);
}
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.Rarity != 0) {
Rarity = other.Rarity;
}
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: {
Rarity = 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: {
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: {
Rarity = input.ReadUInt32();
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_;
curOnGroundAvatarCount_ = other.curOnGroundAvatarCount_;
comboNum_ = other.comboNum_;
_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 "CurOnGroundAvatarCount" field.</summary>
public const int CurOnGroundAvatarCountFieldNumber = 6;
private uint curOnGroundAvatarCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurOnGroundAvatarCount {
get { return curOnGroundAvatarCount_; }
set {
curOnGroundAvatarCount_ = 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;
}
}
[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 (CurOnGroundAvatarCount != other.CurOnGroundAvatarCount) return false;
if (ComboNum != other.ComboNum) 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 (CurOnGroundAvatarCount != 0) hash ^= CurOnGroundAvatarCount.GetHashCode();
if (ComboNum != 0) hash ^= ComboNum.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 (CurOnGroundAvatarCount != 0) {
output.WriteRawTag(48);
output.WriteUInt32(CurOnGroundAvatarCount);
}
if (ComboNum != 0) {
output.WriteRawTag(56);
output.WriteUInt32(ComboNum);
}
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 (CurOnGroundAvatarCount != 0) {
output.WriteRawTag(48);
output.WriteUInt32(CurOnGroundAvatarCount);
}
if (ComboNum != 0) {
output.WriteRawTag(56);
output.WriteUInt32(ComboNum);
}
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 (CurOnGroundAvatarCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurOnGroundAvatarCount);
}
if (ComboNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ComboNum);
}
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.CurOnGroundAvatarCount != 0) {
CurOnGroundAvatarCount = other.CurOnGroundAvatarCount;
}
if (other.ComboNum != 0) {
ComboNum = other.ComboNum;
}
_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: {
CurOnGroundAvatarCount = input.ReadUInt32();
break;
}
case 56: {
ComboNum = 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: {
CurOnGroundAvatarCount = input.ReadUInt32();
break;
}
case 56: {
ComboNum = input.ReadUInt32();
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[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 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_;
_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;
}
}
[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;
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();
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);
}
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);
}
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);
}
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;
}
_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;
}
}
}
#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;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightAvatarInfoPb : pb::IMessage<GridFightAvatarInfoPb>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightAvatarInfoPb> _parser = new pb::MessageParser<GridFightAvatarInfoPb>(() => new GridFightAvatarInfoPb());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightAvatarInfoPb> 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 GridFightAvatarInfoPb() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightAvatarInfoPb(GridFightAvatarInfoPb other) : this() {
roles_ = other.roles_.Clone();
curUniqueId_ = other.curUniqueId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightAvatarInfoPb Clone() {
return new GridFightAvatarInfoPb(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 "CurUniqueId" field.</summary>
public const int CurUniqueIdFieldNumber = 2;
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 GridFightAvatarInfoPb);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridFightAvatarInfoPb other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!roles_.Equals(other.roles_)) 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();
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);
if (CurUniqueId != 0) {
output.WriteRawTag(16);
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);
if (CurUniqueId != 0) {
output.WriteRawTag(16);
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);
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(GridFightAvatarInfoPb other) {
if (other == null) {
return;
}
roles_.Add(other.roles_);
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 16: {
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 16: {
CurUniqueId = input.ReadUInt32();
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[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 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.AvatarInfo:
AvatarInfo = other.AvatarInfo.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 "AvatarInfo" field.</summary>
public const int AvatarInfoFieldNumber = 3;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb AvatarInfo {
get { return componentTypeCase_ == ComponentTypeOneofCase.AvatarInfo ? (global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb) componentType_ : null; }
set {
componentType_ = value;
componentTypeCase_ = value == null ? ComponentTypeOneofCase.None : ComponentTypeOneofCase.AvatarInfo;
}
}
private object componentType_;
/// <summary>Enum of possible cases for the "ComponentType" oneof.</summary>
public enum ComponentTypeOneofCase {
None = 0,
ShopInfo = 1,
BasicInfo = 2,
AvatarInfo = 3,
}
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(AvatarInfo, other.AvatarInfo)) 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.AvatarInfo) hash ^= AvatarInfo.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.AvatarInfo) {
output.WriteRawTag(26);
output.WriteMessage(AvatarInfo);
}
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.AvatarInfo) {
output.WriteRawTag(26);
output.WriteMessage(AvatarInfo);
}
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.AvatarInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AvatarInfo);
}
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.AvatarInfo:
if (AvatarInfo == null) {
AvatarInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb();
}
AvatarInfo.MergeFrom(other.AvatarInfo);
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.GridFightAvatarInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb();
if (componentTypeCase_ == ComponentTypeOneofCase.AvatarInfo) {
subBuilder.MergeFrom(AvatarInfo);
}
input.ReadMessage(subBuilder);
AvatarInfo = 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.GridFightAvatarInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb();
if (componentTypeCase_ == ComponentTypeOneofCase.AvatarInfo) {
subBuilder.MergeFrom(AvatarInfo);
}
input.ReadMessage(subBuilder);
AvatarInfo = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code