Files
DanhengServer-OpenSource/Proto/GridFightGameInfo.cs
2025-11-09 12:10:41 +08:00

718 lines
33 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridFightGameInfo.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 {
/// <summary>Holder for reflection information generated from GridFightGameInfo.proto</summary>
public static partial class GridFightGameInfoReflection {
#region Descriptor
/// <summary>File descriptor for GridFightGameInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GridFightGameInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdHcmlkRmlnaHRHYW1lSW5mby5wcm90bxoaR3JpZEZpZ2h0R2FtZU9yYklu",
"Zm8ucHJvdG8aHEdyaWRGaWdodEdhbWVJdGVtc0luZm8ucHJvdG8aG0dyaWRG",
"aWdodEdhbWVTaG9wSW5mby5wcm90bxoeR3JpZEZpZ2h0R2FtZUF1Z21lbnRJ",
"bmZvLnByb3RvGhxHcmlkRmlnaHRHYW1lVHJhaXRJbmZvLnByb3RvGhhHcmlk",
"RmlnaHRMZXZlbEluZm8ucHJvdG8aHUdyaWRGaWdodEdhbWVBdmF0YXJJbmZv",
"LnByb3RvGhxHcmlkRmlnaHRHYW1lQmFzaWNJbmZvLnByb3RvGhFCTkNDTFBG",
"S0lBTi5wcm90byLwAwoRR3JpZEZpZ2h0R2FtZUluZm8SMgoPZ3JpZF9iYXNp",
"Y19pbmZvGAcgASgLMhcuR3JpZEZpZ2h0R2FtZUJhc2ljSW5mb0gAEiMKC0VN",
"S0RFT0VFTUVLGAUgASgLMgwuQk5DQ0xQRktJQU5IABIyCg9ncmlkX2l0ZW1z",
"X2luZm8YBCABKAsyFy5HcmlkRmlnaHRHYW1lSXRlbXNJbmZvSAASMAoOZ3Jp",
"ZF9zaG9wX2luZm8YCSABKAsyFi5HcmlkRmlnaHRHYW1lU2hvcEluZm9IABIu",
"Cg9ncmlkX2xldmVsX2luZm8YDiABKAsyEy5HcmlkRmlnaHRMZXZlbEluZm9I",
"ABIuCg1ncmlkX29yYl9pbmZvGAEgASgLMhUuR3JpZEZpZ2h0R2FtZU9yYklu",
"Zm9IABI2ChFncmlkX2F1Z21lbnRfaW5mbxgLIAEoCzIZLkdyaWRGaWdodEdh",
"bWVBdWdtZW50SW5mb0gAEjcKFGdyaWRfdHJhaXRfZ2FtZV9pbmZvGAggASgL",
"MhcuR3JpZEZpZ2h0R2FtZVRyYWl0SW5mb0gAEjkKFWdyaWRfYXZhdGFyX2dh",
"bWVfaW5mbxgMIAEoCzIYLkdyaWRGaWdodEdhbWVBdmF0YXJJbmZvSABCEAoO",
"Z3JpZF9nYW1lX2luZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
"b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightGameOrbInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameItemsInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameShopInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameAugmentInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameTraitInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightLevelInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameAvatarInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameBasicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.BNCCLPFKIANReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightGameInfo), global::EggLink.DanhengServer.Proto.GridFightGameInfo.Parser, new[]{ "GridBasicInfo", "EMKDEOEEMEK", "GridItemsInfo", "GridShopInfo", "GridLevelInfo", "GridOrbInfo", "GridAugmentInfo", "GridTraitGameInfo", "GridAvatarGameInfo" }, new[]{ "GridGameInfo" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightGameInfo : pb::IMessage<GridFightGameInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightGameInfo> _parser = new pb::MessageParser<GridFightGameInfo>(() => new GridFightGameInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightGameInfo> 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.GridFightGameInfoReflection.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 GridFightGameInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightGameInfo(GridFightGameInfo other) : this() {
switch (other.GridGameInfoCase) {
case GridGameInfoOneofCase.GridBasicInfo:
GridBasicInfo = other.GridBasicInfo.Clone();
break;
case GridGameInfoOneofCase.EMKDEOEEMEK:
EMKDEOEEMEK = other.EMKDEOEEMEK.Clone();
break;
case GridGameInfoOneofCase.GridItemsInfo:
GridItemsInfo = other.GridItemsInfo.Clone();
break;
case GridGameInfoOneofCase.GridShopInfo:
GridShopInfo = other.GridShopInfo.Clone();
break;
case GridGameInfoOneofCase.GridLevelInfo:
GridLevelInfo = other.GridLevelInfo.Clone();
break;
case GridGameInfoOneofCase.GridOrbInfo:
GridOrbInfo = other.GridOrbInfo.Clone();
break;
case GridGameInfoOneofCase.GridAugmentInfo:
GridAugmentInfo = other.GridAugmentInfo.Clone();
break;
case GridGameInfoOneofCase.GridTraitGameInfo:
GridTraitGameInfo = other.GridTraitGameInfo.Clone();
break;
case GridGameInfoOneofCase.GridAvatarGameInfo:
GridAvatarGameInfo = other.GridAvatarGameInfo.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightGameInfo Clone() {
return new GridFightGameInfo(this);
}
/// <summary>Field number for the "grid_basic_info" field.</summary>
public const int GridBasicInfoFieldNumber = 7;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightGameBasicInfo GridBasicInfo {
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridBasicInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameBasicInfo) gridGameInfo_ : null; }
set {
gridGameInfo_ = value;
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridBasicInfo;
}
}
/// <summary>Field number for the "EMKDEOEEMEK" field.</summary>
public const int EMKDEOEEMEKFieldNumber = 5;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.BNCCLPFKIAN EMKDEOEEMEK {
get { return gridGameInfoCase_ == GridGameInfoOneofCase.EMKDEOEEMEK ? (global::EggLink.DanhengServer.Proto.BNCCLPFKIAN) gridGameInfo_ : null; }
set {
gridGameInfo_ = value;
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.EMKDEOEEMEK;
}
}
/// <summary>Field number for the "grid_items_info" field.</summary>
public const int GridItemsInfoFieldNumber = 4;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightGameItemsInfo GridItemsInfo {
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridItemsInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameItemsInfo) gridGameInfo_ : null; }
set {
gridGameInfo_ = value;
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridItemsInfo;
}
}
/// <summary>Field number for the "grid_shop_info" field.</summary>
public const int GridShopInfoFieldNumber = 9;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightGameShopInfo GridShopInfo {
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridShopInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameShopInfo) gridGameInfo_ : null; }
set {
gridGameInfo_ = value;
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridShopInfo;
}
}
/// <summary>Field number for the "grid_level_info" field.</summary>
public const int GridLevelInfoFieldNumber = 14;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightLevelInfo GridLevelInfo {
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridLevelInfo ? (global::EggLink.DanhengServer.Proto.GridFightLevelInfo) gridGameInfo_ : null; }
set {
gridGameInfo_ = value;
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridLevelInfo;
}
}
/// <summary>Field number for the "grid_orb_info" field.</summary>
public const int GridOrbInfoFieldNumber = 1;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightGameOrbInfo GridOrbInfo {
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridOrbInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameOrbInfo) gridGameInfo_ : null; }
set {
gridGameInfo_ = value;
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridOrbInfo;
}
}
/// <summary>Field number for the "grid_augment_info" field.</summary>
public const int GridAugmentInfoFieldNumber = 11;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightGameAugmentInfo GridAugmentInfo {
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridAugmentInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameAugmentInfo) gridGameInfo_ : null; }
set {
gridGameInfo_ = value;
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridAugmentInfo;
}
}
/// <summary>Field number for the "grid_trait_game_info" field.</summary>
public const int GridTraitGameInfoFieldNumber = 8;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightGameTraitInfo GridTraitGameInfo {
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridTraitGameInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameTraitInfo) gridGameInfo_ : null; }
set {
gridGameInfo_ = value;
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridTraitGameInfo;
}
}
/// <summary>Field number for the "grid_avatar_game_info" field.</summary>
public const int GridAvatarGameInfoFieldNumber = 12;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightGameAvatarInfo GridAvatarGameInfo {
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridAvatarGameInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameAvatarInfo) gridGameInfo_ : null; }
set {
gridGameInfo_ = value;
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridAvatarGameInfo;
}
}
private object gridGameInfo_;
/// <summary>Enum of possible cases for the "grid_game_info" oneof.</summary>
public enum GridGameInfoOneofCase {
None = 0,
GridBasicInfo = 7,
EMKDEOEEMEK = 5,
GridItemsInfo = 4,
GridShopInfo = 9,
GridLevelInfo = 14,
GridOrbInfo = 1,
GridAugmentInfo = 11,
GridTraitGameInfo = 8,
GridAvatarGameInfo = 12,
}
private GridGameInfoOneofCase gridGameInfoCase_ = GridGameInfoOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridGameInfoOneofCase GridGameInfoCase {
get { return gridGameInfoCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearGridGameInfo() {
gridGameInfoCase_ = GridGameInfoOneofCase.None;
gridGameInfo_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GridFightGameInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridFightGameInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(GridBasicInfo, other.GridBasicInfo)) return false;
if (!object.Equals(EMKDEOEEMEK, other.EMKDEOEEMEK)) return false;
if (!object.Equals(GridItemsInfo, other.GridItemsInfo)) return false;
if (!object.Equals(GridShopInfo, other.GridShopInfo)) return false;
if (!object.Equals(GridLevelInfo, other.GridLevelInfo)) return false;
if (!object.Equals(GridOrbInfo, other.GridOrbInfo)) return false;
if (!object.Equals(GridAugmentInfo, other.GridAugmentInfo)) return false;
if (!object.Equals(GridTraitGameInfo, other.GridTraitGameInfo)) return false;
if (!object.Equals(GridAvatarGameInfo, other.GridAvatarGameInfo)) return false;
if (GridGameInfoCase != other.GridGameInfoCase) 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 (gridGameInfoCase_ == GridGameInfoOneofCase.GridBasicInfo) hash ^= GridBasicInfo.GetHashCode();
if (gridGameInfoCase_ == GridGameInfoOneofCase.EMKDEOEEMEK) hash ^= EMKDEOEEMEK.GetHashCode();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridItemsInfo) hash ^= GridItemsInfo.GetHashCode();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridShopInfo) hash ^= GridShopInfo.GetHashCode();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridLevelInfo) hash ^= GridLevelInfo.GetHashCode();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridOrbInfo) hash ^= GridOrbInfo.GetHashCode();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAugmentInfo) hash ^= GridAugmentInfo.GetHashCode();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridTraitGameInfo) hash ^= GridTraitGameInfo.GetHashCode();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAvatarGameInfo) hash ^= GridAvatarGameInfo.GetHashCode();
hash ^= (int) gridGameInfoCase_;
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 (gridGameInfoCase_ == GridGameInfoOneofCase.GridOrbInfo) {
output.WriteRawTag(10);
output.WriteMessage(GridOrbInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridItemsInfo) {
output.WriteRawTag(34);
output.WriteMessage(GridItemsInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.EMKDEOEEMEK) {
output.WriteRawTag(42);
output.WriteMessage(EMKDEOEEMEK);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridBasicInfo) {
output.WriteRawTag(58);
output.WriteMessage(GridBasicInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridTraitGameInfo) {
output.WriteRawTag(66);
output.WriteMessage(GridTraitGameInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridShopInfo) {
output.WriteRawTag(74);
output.WriteMessage(GridShopInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAugmentInfo) {
output.WriteRawTag(90);
output.WriteMessage(GridAugmentInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAvatarGameInfo) {
output.WriteRawTag(98);
output.WriteMessage(GridAvatarGameInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridLevelInfo) {
output.WriteRawTag(114);
output.WriteMessage(GridLevelInfo);
}
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 (gridGameInfoCase_ == GridGameInfoOneofCase.GridOrbInfo) {
output.WriteRawTag(10);
output.WriteMessage(GridOrbInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridItemsInfo) {
output.WriteRawTag(34);
output.WriteMessage(GridItemsInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.EMKDEOEEMEK) {
output.WriteRawTag(42);
output.WriteMessage(EMKDEOEEMEK);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridBasicInfo) {
output.WriteRawTag(58);
output.WriteMessage(GridBasicInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridTraitGameInfo) {
output.WriteRawTag(66);
output.WriteMessage(GridTraitGameInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridShopInfo) {
output.WriteRawTag(74);
output.WriteMessage(GridShopInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAugmentInfo) {
output.WriteRawTag(90);
output.WriteMessage(GridAugmentInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAvatarGameInfo) {
output.WriteRawTag(98);
output.WriteMessage(GridAvatarGameInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridLevelInfo) {
output.WriteRawTag(114);
output.WriteMessage(GridLevelInfo);
}
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 (gridGameInfoCase_ == GridGameInfoOneofCase.GridBasicInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridBasicInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.EMKDEOEEMEK) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(EMKDEOEEMEK);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridItemsInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridItemsInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridShopInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridShopInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridLevelInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridLevelInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridOrbInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridOrbInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAugmentInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridAugmentInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridTraitGameInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridTraitGameInfo);
}
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAvatarGameInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridAvatarGameInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GridFightGameInfo other) {
if (other == null) {
return;
}
switch (other.GridGameInfoCase) {
case GridGameInfoOneofCase.GridBasicInfo:
if (GridBasicInfo == null) {
GridBasicInfo = new global::EggLink.DanhengServer.Proto.GridFightGameBasicInfo();
}
GridBasicInfo.MergeFrom(other.GridBasicInfo);
break;
case GridGameInfoOneofCase.EMKDEOEEMEK:
if (EMKDEOEEMEK == null) {
EMKDEOEEMEK = new global::EggLink.DanhengServer.Proto.BNCCLPFKIAN();
}
EMKDEOEEMEK.MergeFrom(other.EMKDEOEEMEK);
break;
case GridGameInfoOneofCase.GridItemsInfo:
if (GridItemsInfo == null) {
GridItemsInfo = new global::EggLink.DanhengServer.Proto.GridFightGameItemsInfo();
}
GridItemsInfo.MergeFrom(other.GridItemsInfo);
break;
case GridGameInfoOneofCase.GridShopInfo:
if (GridShopInfo == null) {
GridShopInfo = new global::EggLink.DanhengServer.Proto.GridFightGameShopInfo();
}
GridShopInfo.MergeFrom(other.GridShopInfo);
break;
case GridGameInfoOneofCase.GridLevelInfo:
if (GridLevelInfo == null) {
GridLevelInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelInfo();
}
GridLevelInfo.MergeFrom(other.GridLevelInfo);
break;
case GridGameInfoOneofCase.GridOrbInfo:
if (GridOrbInfo == null) {
GridOrbInfo = new global::EggLink.DanhengServer.Proto.GridFightGameOrbInfo();
}
GridOrbInfo.MergeFrom(other.GridOrbInfo);
break;
case GridGameInfoOneofCase.GridAugmentInfo:
if (GridAugmentInfo == null) {
GridAugmentInfo = new global::EggLink.DanhengServer.Proto.GridFightGameAugmentInfo();
}
GridAugmentInfo.MergeFrom(other.GridAugmentInfo);
break;
case GridGameInfoOneofCase.GridTraitGameInfo:
if (GridTraitGameInfo == null) {
GridTraitGameInfo = new global::EggLink.DanhengServer.Proto.GridFightGameTraitInfo();
}
GridTraitGameInfo.MergeFrom(other.GridTraitGameInfo);
break;
case GridGameInfoOneofCase.GridAvatarGameInfo:
if (GridAvatarGameInfo == null) {
GridAvatarGameInfo = new global::EggLink.DanhengServer.Proto.GridFightGameAvatarInfo();
}
GridAvatarGameInfo.MergeFrom(other.GridAvatarGameInfo);
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.GridFightGameOrbInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameOrbInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridOrbInfo) {
subBuilder.MergeFrom(GridOrbInfo);
}
input.ReadMessage(subBuilder);
GridOrbInfo = subBuilder;
break;
}
case 34: {
global::EggLink.DanhengServer.Proto.GridFightGameItemsInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemsInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridItemsInfo) {
subBuilder.MergeFrom(GridItemsInfo);
}
input.ReadMessage(subBuilder);
GridItemsInfo = subBuilder;
break;
}
case 42: {
global::EggLink.DanhengServer.Proto.BNCCLPFKIAN subBuilder = new global::EggLink.DanhengServer.Proto.BNCCLPFKIAN();
if (gridGameInfoCase_ == GridGameInfoOneofCase.EMKDEOEEMEK) {
subBuilder.MergeFrom(EMKDEOEEMEK);
}
input.ReadMessage(subBuilder);
EMKDEOEEMEK = subBuilder;
break;
}
case 58: {
global::EggLink.DanhengServer.Proto.GridFightGameBasicInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameBasicInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridBasicInfo) {
subBuilder.MergeFrom(GridBasicInfo);
}
input.ReadMessage(subBuilder);
GridBasicInfo = subBuilder;
break;
}
case 66: {
global::EggLink.DanhengServer.Proto.GridFightGameTraitInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameTraitInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridTraitGameInfo) {
subBuilder.MergeFrom(GridTraitGameInfo);
}
input.ReadMessage(subBuilder);
GridTraitGameInfo = subBuilder;
break;
}
case 74: {
global::EggLink.DanhengServer.Proto.GridFightGameShopInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameShopInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridShopInfo) {
subBuilder.MergeFrom(GridShopInfo);
}
input.ReadMessage(subBuilder);
GridShopInfo = subBuilder;
break;
}
case 90: {
global::EggLink.DanhengServer.Proto.GridFightGameAugmentInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameAugmentInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAugmentInfo) {
subBuilder.MergeFrom(GridAugmentInfo);
}
input.ReadMessage(subBuilder);
GridAugmentInfo = subBuilder;
break;
}
case 98: {
global::EggLink.DanhengServer.Proto.GridFightGameAvatarInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameAvatarInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAvatarGameInfo) {
subBuilder.MergeFrom(GridAvatarGameInfo);
}
input.ReadMessage(subBuilder);
GridAvatarGameInfo = subBuilder;
break;
}
case 114: {
global::EggLink.DanhengServer.Proto.GridFightLevelInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightLevelInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridLevelInfo) {
subBuilder.MergeFrom(GridLevelInfo);
}
input.ReadMessage(subBuilder);
GridLevelInfo = 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.GridFightGameOrbInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameOrbInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridOrbInfo) {
subBuilder.MergeFrom(GridOrbInfo);
}
input.ReadMessage(subBuilder);
GridOrbInfo = subBuilder;
break;
}
case 34: {
global::EggLink.DanhengServer.Proto.GridFightGameItemsInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemsInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridItemsInfo) {
subBuilder.MergeFrom(GridItemsInfo);
}
input.ReadMessage(subBuilder);
GridItemsInfo = subBuilder;
break;
}
case 42: {
global::EggLink.DanhengServer.Proto.BNCCLPFKIAN subBuilder = new global::EggLink.DanhengServer.Proto.BNCCLPFKIAN();
if (gridGameInfoCase_ == GridGameInfoOneofCase.EMKDEOEEMEK) {
subBuilder.MergeFrom(EMKDEOEEMEK);
}
input.ReadMessage(subBuilder);
EMKDEOEEMEK = subBuilder;
break;
}
case 58: {
global::EggLink.DanhengServer.Proto.GridFightGameBasicInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameBasicInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridBasicInfo) {
subBuilder.MergeFrom(GridBasicInfo);
}
input.ReadMessage(subBuilder);
GridBasicInfo = subBuilder;
break;
}
case 66: {
global::EggLink.DanhengServer.Proto.GridFightGameTraitInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameTraitInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridTraitGameInfo) {
subBuilder.MergeFrom(GridTraitGameInfo);
}
input.ReadMessage(subBuilder);
GridTraitGameInfo = subBuilder;
break;
}
case 74: {
global::EggLink.DanhengServer.Proto.GridFightGameShopInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameShopInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridShopInfo) {
subBuilder.MergeFrom(GridShopInfo);
}
input.ReadMessage(subBuilder);
GridShopInfo = subBuilder;
break;
}
case 90: {
global::EggLink.DanhengServer.Proto.GridFightGameAugmentInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameAugmentInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAugmentInfo) {
subBuilder.MergeFrom(GridAugmentInfo);
}
input.ReadMessage(subBuilder);
GridAugmentInfo = subBuilder;
break;
}
case 98: {
global::EggLink.DanhengServer.Proto.GridFightGameAvatarInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameAvatarInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridAvatarGameInfo) {
subBuilder.MergeFrom(GridAvatarGameInfo);
}
input.ReadMessage(subBuilder);
GridAvatarGameInfo = subBuilder;
break;
}
case 114: {
global::EggLink.DanhengServer.Proto.GridFightLevelInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightLevelInfo();
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridLevelInfo) {
subBuilder.MergeFrom(GridLevelInfo);
}
input.ReadMessage(subBuilder);
GridLevelInfo = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code