mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
718 lines
33 KiB
C#
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(
|
|
"ChdHcmlkRmlnaHRHYW1lSW5mby5wcm90bxobR3JpZEZpZ2h0R2FtZVRlYW1J",
|
|
"bmZvLnByb3RvGhxHcmlkRmlnaHRHYW1lSXRlbXNJbmZvLnByb3RvGhtHcmlk",
|
|
"RmlnaHRHYW1lU2hvcEluZm8ucHJvdG8aHEdyaWRGaWdodEdhbWVUcmFpdElu",
|
|
"Zm8ucHJvdG8aGkdyaWRGaWdodEdhbWVPcmJJbmZvLnByb3RvGh5HcmlkRmln",
|
|
"aHRHYW1lQXVnbWVudEluZm8ucHJvdG8aHEdyaWRGaWdodEdhbWVCYXNpY0lu",
|
|
"Zm8ucHJvdG8aHEdyaWRGaWdodEdhbWVEcmFmdEluZm8ucHJvdG8aGEdyaWRG",
|
|
"aWdodExldmVsSW5mby5wcm90byL7AwoRR3JpZEZpZ2h0R2FtZUluZm8SMgoP",
|
|
"Z3JpZF9iYXNpY19pbmZvGAcgASgLMhcuR3JpZEZpZ2h0R2FtZUJhc2ljSW5m",
|
|
"b0gAEjIKD2dyaWRfZHJhZnRfaW5mbxgFIAEoCzIXLkdyaWRGaWdodEdhbWVE",
|
|
"cmFmdEluZm9IABIyCg9ncmlkX2l0ZW1zX2luZm8YBCABKAsyFy5HcmlkRmln",
|
|
"aHRHYW1lSXRlbXNJbmZvSAASMAoOZ3JpZF9zaG9wX2luZm8YCSABKAsyFi5H",
|
|
"cmlkRmlnaHRHYW1lU2hvcEluZm9IABIuCg9ncmlkX2xldmVsX2luZm8YDiAB",
|
|
"KAsyEy5HcmlkRmlnaHRMZXZlbEluZm9IABIuCg1ncmlkX29yYl9pbmZvGAEg",
|
|
"ASgLMhUuR3JpZEZpZ2h0R2FtZU9yYkluZm9IABI2ChFncmlkX2F1Z21lbnRf",
|
|
"aW5mbxgLIAEoCzIZLkdyaWRGaWdodEdhbWVBdWdtZW50SW5mb0gAEjcKFGdy",
|
|
"aWRfdHJhaXRfZ2FtZV9pbmZvGAggASgLMhcuR3JpZEZpZ2h0R2FtZVRyYWl0",
|
|
"SW5mb0gAEjUKE2dyaWRfdGVhbV9nYW1lX2luZm8YDCABKAsyFi5HcmlkRmln",
|
|
"aHRHYW1lVGVhbUluZm9IAEIQCg5ncmlkX2dhbWVfaW5mb0IeqgIbRWdnTGlu",
|
|
"ay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightGameTeamInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameItemsInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameShopInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameTraitInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameOrbInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameAugmentInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameBasicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameDraftInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightLevelInfoReflection.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", "GridDraftInfo", "GridItemsInfo", "GridShopInfo", "GridLevelInfo", "GridOrbInfo", "GridAugmentInfo", "GridTraitGameInfo", "GridTeamGameInfo" }, 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.GridDraftInfo:
|
|
GridDraftInfo = other.GridDraftInfo.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.GridTeamGameInfo:
|
|
GridTeamGameInfo = other.GridTeamGameInfo.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 "grid_draft_info" field.</summary>
|
|
public const int GridDraftInfoFieldNumber = 5;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightGameDraftInfo GridDraftInfo {
|
|
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridDraftInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameDraftInfo) gridGameInfo_ : null; }
|
|
set {
|
|
gridGameInfo_ = value;
|
|
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridDraftInfo;
|
|
}
|
|
}
|
|
|
|
/// <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_team_game_info" field.</summary>
|
|
public const int GridTeamGameInfoFieldNumber = 12;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightGameTeamInfo GridTeamGameInfo {
|
|
get { return gridGameInfoCase_ == GridGameInfoOneofCase.GridTeamGameInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameTeamInfo) gridGameInfo_ : null; }
|
|
set {
|
|
gridGameInfo_ = value;
|
|
gridGameInfoCase_ = value == null ? GridGameInfoOneofCase.None : GridGameInfoOneofCase.GridTeamGameInfo;
|
|
}
|
|
}
|
|
|
|
private object gridGameInfo_;
|
|
/// <summary>Enum of possible cases for the "grid_game_info" oneof.</summary>
|
|
public enum GridGameInfoOneofCase {
|
|
None = 0,
|
|
GridBasicInfo = 7,
|
|
GridDraftInfo = 5,
|
|
GridItemsInfo = 4,
|
|
GridShopInfo = 9,
|
|
GridLevelInfo = 14,
|
|
GridOrbInfo = 1,
|
|
GridAugmentInfo = 11,
|
|
GridTraitGameInfo = 8,
|
|
GridTeamGameInfo = 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(GridDraftInfo, other.GridDraftInfo)) 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(GridTeamGameInfo, other.GridTeamGameInfo)) 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.GridDraftInfo) hash ^= GridDraftInfo.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.GridTeamGameInfo) hash ^= GridTeamGameInfo.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.GridDraftInfo) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(GridDraftInfo);
|
|
}
|
|
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.GridTeamGameInfo) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(GridTeamGameInfo);
|
|
}
|
|
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.GridDraftInfo) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(GridDraftInfo);
|
|
}
|
|
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.GridTeamGameInfo) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(GridTeamGameInfo);
|
|
}
|
|
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.GridDraftInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridDraftInfo);
|
|
}
|
|
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.GridTeamGameInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridTeamGameInfo);
|
|
}
|
|
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.GridDraftInfo:
|
|
if (GridDraftInfo == null) {
|
|
GridDraftInfo = new global::EggLink.DanhengServer.Proto.GridFightGameDraftInfo();
|
|
}
|
|
GridDraftInfo.MergeFrom(other.GridDraftInfo);
|
|
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.GridTeamGameInfo:
|
|
if (GridTeamGameInfo == null) {
|
|
GridTeamGameInfo = new global::EggLink.DanhengServer.Proto.GridFightGameTeamInfo();
|
|
}
|
|
GridTeamGameInfo.MergeFrom(other.GridTeamGameInfo);
|
|
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.GridFightGameDraftInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameDraftInfo();
|
|
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridDraftInfo) {
|
|
subBuilder.MergeFrom(GridDraftInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
GridDraftInfo = 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.GridFightGameTeamInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameTeamInfo();
|
|
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridTeamGameInfo) {
|
|
subBuilder.MergeFrom(GridTeamGameInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
GridTeamGameInfo = 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.GridFightGameDraftInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameDraftInfo();
|
|
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridDraftInfo) {
|
|
subBuilder.MergeFrom(GridDraftInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
GridDraftInfo = 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.GridFightGameTeamInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameTeamInfo();
|
|
if (gridGameInfoCase_ == GridGameInfoOneofCase.GridTeamGameInfo) {
|
|
subBuilder.MergeFrom(GridTeamGameInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
GridTeamGameInfo = 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
|