mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
5024 lines
186 KiB
C#
5024 lines
186 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",
|
|
"bVBiEg4KBlJvbGVJZBgBIAEoDRIMCgRUaWVyGAIgASgNInAKE0dyaWRGaWdo",
|
|
"dFNob3BJdGVtUGISLAoIUm9sZUl0ZW0YASABKAsyGC5HcmlkRmlnaHRTaG9w",
|
|
"Um9sZUl0ZW1QYkgAEg4KBlJhcml0eRgCIAEoDRIPCgdTb2xkT3V0GAMgASgI",
|
|
"QgoKCEl0ZW1UeXBlIoEBChNHcmlkRmlnaHRTaG9wSW5mb1BiEhIKClNob3BM",
|
|
"b2NrZWQYASABKAgSGAoQRnJlZVJlZnJlc2hDb3VudBgCIAEoDRITCgtSZWZy",
|
|
"ZXNoQ29zdBgDIAEoDRInCglTaG9wSXRlbXMYBCADKAsyFC5HcmlkRmlnaHRT",
|
|
"aG9wSXRlbVBiIooBChNHcmlkRmlnaHRHYW1lSW5mb1BiEhAKCFVuaXF1ZUlk",
|
|
"GAEgASgNEhIKCkRpdmlzaW9uSWQYAiABKA0SEgoKSXNPdmVyTG9jaxgDIAEo",
|
|
"CBIOCgZTZWFzb24YBCABKA0SKQoKQ29tcG9uZW50cxgFIAMoCzIVLkdyaWRG",
|
|
"aWdodENvbXBvbmVudFBiIr4BChRHcmlkRmlnaHRCYXNpY0luZm9QYhIPCgdD",
|
|
"dXJHb2xkGAEgASgNEhAKCEN1ckxldmVsGAIgASgNEhAKCExldmVsRXhwGAMg",
|
|
"ASgNEhQKDEJ1eUxldmVsQ29zdBgEIAEoDRINCgVDdXJIcBgFIAEoDRIUCgxN",
|
|
"YXhBdmF0YXJOdW0YBiABKA0SEAoIQ29tYm9OdW0YByABKA0SEAoITG9ja1R5",
|
|
"cGUYCCABKA0SEgoKTG9ja1JlYXNvbhgJIAEoDSLYAQoTR3JpZEZpZ2h0Um9s",
|
|
"ZUluZm9QYhIOCgZSb2xlSWQYASABKA0SDAoEVGllchgCIAEoDRILCgNQb3MY",
|
|
"AyABKA0SEAoIVW5pcXVlSWQYBCABKA0SOgoLU2F2ZWRWYWx1ZXMYBSADKAsy",
|
|
"JS5HcmlkRmlnaHRSb2xlSW5mb1BiLlNhdmVkVmFsdWVzRW50cnkSFAoMRXF1",
|
|
"aXBtZW50SWRzGAYgAygNGjIKEFNhdmVkVmFsdWVzRW50cnkSCwoDa2V5GAEg",
|
|
"ASgJEg0KBXZhbHVlGAIgASgNOgI4ASJRChVHcmlkRmlnaHRBdmF0YXJJbmZv",
|
|
"UGISIwoFUm9sZXMYASADKAsyFC5HcmlkRmlnaHRSb2xlSW5mb1BiEhMKC0N1",
|
|
"clVuaXF1ZUlkGAIgASgNIjkKEkdyaWRGaWdodEdhbWVPcmJQYhIRCglPcmJJ",
|
|
"dGVtSWQYASABKA0SEAoIVW5pcXVlSWQYAiABKA0iNwoSR3JpZEZpZ2h0T3Ji",
|
|
"SW5mb1BiEiEKBE9yYnMYASADKAsyEy5HcmlkRmlnaHRHYW1lT3JiUGIingEK",
|
|
"FkdyaWRGaWdodEdhbWVBdWdtZW50UGISEQoJQXVnbWVudElkGAEgASgNEj0K",
|
|
"C1NhdmVkVmFsdWVzGAIgAygLMiguR3JpZEZpZ2h0R2FtZUF1Z21lbnRQYi5T",
|
|
"YXZlZFZhbHVlc0VudHJ5GjIKEFNhdmVkVmFsdWVzRW50cnkSCwoDa2V5GAEg",
|
|
"ASgJEg0KBXZhbHVlGAIgASgNOgI4ASJDChZHcmlkRmlnaHRBdWdtZW50SW5m",
|
|
"b1BiEikKCEF1Z21lbnRzGAEgAygLMhcuR3JpZEZpZ2h0R2FtZUF1Z21lbnRQ",
|
|
"YiJOChpHcmlkRmlnaHRHYW1lVHJhaXRFZmZlY3RQYhIPCgdUcmFpdElkGAEg",
|
|
"ASgNEhAKCEVmZmVjdElkGAIgASgNEg0KBVBhcmFtGAMgASgNImkKFEdyaWRG",
|
|
"aWdodEdhbWVUcmFpdFBiEg8KB1RyYWl0SWQYASABKA0SLAoHRWZmZWN0cxgC",
|
|
"IAMoCzIbLkdyaWRGaWdodEdhbWVUcmFpdEVmZmVjdFBiEhIKClRyYWl0TGF5",
|
|
"ZXIYAyABKA0iPQoUR3JpZEZpZ2h0VHJhaXRJbmZvUGISJQoGVHJhaXRzGAEg",
|
|
"AygLMhUuR3JpZEZpZ2h0R2FtZVRyYWl0UGIiPAoYR3JpZEZpZ2h0RXF1aXBt",
|
|
"ZW50SXRlbVBiEg4KBkl0ZW1JZBgBIAEoDRIQCghVbmlxdWVJZBgCIAEoDSI6",
|
|
"ChlHcmlkRmlnaHRDb25zdW1hYmxlSXRlbVBiEg4KBkl0ZW1JZBgBIAEoDRIN",
|
|
"CgVDb3VudBgCIAEoDSJ+ChRHcmlkRmlnaHRJdGVtc0luZm9QYhIxCg5FcXVp",
|
|
"cG1lbnRJdGVtcxgBIAMoCzIZLkdyaWRGaWdodEVxdWlwbWVudEl0ZW1QYhIz",
|
|
"Cg9Db25zdW1hYmxlSXRlbXMYAiADKAsyGi5HcmlkRmlnaHRDb25zdW1hYmxl",
|
|
"SXRlbVBiItsCChRHcmlkRmlnaHRDb21wb25lbnRQYhIoCghTaG9wSW5mbxgB",
|
|
"IAEoCzIULkdyaWRGaWdodFNob3BJbmZvUGJIABIqCglCYXNpY0luZm8YAiAB",
|
|
"KAsyFS5HcmlkRmlnaHRCYXNpY0luZm9QYkgAEiwKCkF2YXRhckluZm8YAyAB",
|
|
"KAsyFi5HcmlkRmlnaHRBdmF0YXJJbmZvUGJIABImCgdPcmJJbmZvGAQgASgL",
|
|
"MhMuR3JpZEZpZ2h0T3JiSW5mb1BiSAASLgoLQXVnbWVudEluZm8YBSABKAsy",
|
|
"Fy5HcmlkRmlnaHRBdWdtZW50SW5mb1BiSAASKgoJVHJhaXRJbmZvGAYgASgL",
|
|
"MhUuR3JpZEZpZ2h0VHJhaXRJbmZvUGJIABIqCglJdGVtc0luZm8YByABKAsy",
|
|
"FS5HcmlkRmlnaHRJdGVtc0luZm9QYkgAQg8KDUNvbXBvbmVudFR5cGVCKaoC",
|
|
"JkVnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90by5TZXJ2ZXJTaWRlYgZwcm90",
|
|
"bzM="));
|
|
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", "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" }, 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.GridFightAvatarInfoPb), global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb.Parser, new[]{ "Roles", "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", "Param" }, null, 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", "AvatarInfo", "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() {
|
|
rarity_ = other.rarity_;
|
|
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 "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;
|
|
}
|
|
}
|
|
|
|
/// <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 (Rarity != other.Rarity) 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 (Rarity != 0) hash ^= Rarity.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 (Rarity != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Rarity);
|
|
}
|
|
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 (Rarity != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Rarity);
|
|
}
|
|
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 (Rarity != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rarity);
|
|
}
|
|
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.Rarity != 0) {
|
|
Rarity = other.Rarity;
|
|
}
|
|
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: {
|
|
Rarity = 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: {
|
|
Rarity = 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_;
|
|
_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;
|
|
}
|
|
}
|
|
|
|
[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;
|
|
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 (_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 (_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 (_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 (_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;
|
|
}
|
|
_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;
|
|
}
|
|
}
|
|
}
|
|
#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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#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_;
|
|
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 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 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[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 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[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 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[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 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[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 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[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 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_;
|
|
param_ = other.param_;
|
|
_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 "Param" field.</summary>
|
|
public const int ParamFieldNumber = 3;
|
|
private uint param_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Param {
|
|
get { return param_; }
|
|
set {
|
|
param_ = value;
|
|
}
|
|
}
|
|
|
|
[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 (Param != other.Param) 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 (Param != 0) hash ^= Param.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);
|
|
}
|
|
if (EffectId != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(EffectId);
|
|
}
|
|
if (Param != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Param);
|
|
}
|
|
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 (Param != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Param);
|
|
}
|
|
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 (Param != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Param);
|
|
}
|
|
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;
|
|
}
|
|
if (other.Param != 0) {
|
|
Param = other.Param;
|
|
}
|
|
_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: {
|
|
Param = 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: {
|
|
Param = 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[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 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[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 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[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 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[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 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[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 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[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 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;
|
|
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 "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;
|
|
}
|
|
}
|
|
|
|
/// <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,
|
|
AvatarInfo = 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(AvatarInfo, other.AvatarInfo)) 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.AvatarInfo) hash ^= AvatarInfo.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.AvatarInfo) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(AvatarInfo);
|
|
}
|
|
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.AvatarInfo) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(AvatarInfo);
|
|
}
|
|
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.AvatarInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AvatarInfo);
|
|
}
|
|
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.AvatarInfo:
|
|
if (AvatarInfo == null) {
|
|
AvatarInfo = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb();
|
|
}
|
|
AvatarInfo.MergeFrom(other.AvatarInfo);
|
|
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.GridFightAvatarInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb();
|
|
if (componentTypeCase_ == ComponentTypeOneofCase.AvatarInfo) {
|
|
subBuilder.MergeFrom(AvatarInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
AvatarInfo = 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.GridFightAvatarInfoPb subBuilder = new global::EggLink.DanhengServer.Proto.ServerSide.GridFightAvatarInfoPb();
|
|
if (componentTypeCase_ == ComponentTypeOneofCase.AvatarInfo) {
|
|
subBuilder.MergeFrom(AvatarInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
AvatarInfo = 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
|