Files
DanhengServer-OpenSource/Proto/BattleGridFightTraitEffectInfo.cs
2025-12-14 11:26:01 +08:00

428 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BattleGridFightTraitEffectInfo.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 BattleGridFightTraitEffectInfo.proto</summary>
public static partial class BattleGridFightTraitEffectInfoReflection {
#region Descriptor
/// <summary>File descriptor for BattleGridFightTraitEffectInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BattleGridFightTraitEffectInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiRCYXR0bGVHcmlkRmlnaHRUcmFpdEVmZmVjdEluZm8ucHJvdG8aJkJhdHRs",
"ZUdyaWRGaWdodFRyYWl0Q29yZVJvbGVJbmZvLnByb3RvGiNHcmlkRmlnaHRU",
"cmFpdEVmZmVjdExldmVsSW5mby5wcm90bxoRTE1CREFET1BDUEcucHJvdG8i",
"6AEKHkJhdHRsZUdyaWRGaWdodFRyYWl0RWZmZWN0SW5mbxI8Cg90cmFpdF9j",
"b3JlX3JvbGUYZSABKAsyIS5CYXR0bGVHcmlkRmlnaHRUcmFpdENvcmVSb2xl",
"SW5mb0gAEiMKC0lJQkJHSkZDSERPGGYgASgLMgwuTE1CREFET1BDUEdIABJB",
"Chd0cmFpdF9lZmZlY3RfbGV2ZWxfaW5mbxhnIAEoCzIeLkdyaWRGaWdodFRy",
"YWl0RWZmZWN0TGV2ZWxJbmZvSAASEQoJZWZmZWN0X2lkGAEgASgNQg0KC0dN",
"TkdFS05DR0FGQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnBy",
"b3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleGridFightTraitCoreRoleInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightTraitEffectLevelInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.LMBDADOPCPGReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleGridFightTraitEffectInfo), global::EggLink.DanhengServer.Proto.BattleGridFightTraitEffectInfo.Parser, new[]{ "TraitCoreRole", "IIBBGJFCHDO", "TraitEffectLevelInfo", "EffectId" }, new[]{ "GMNGEKNCGAF" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BattleGridFightTraitEffectInfo : pb::IMessage<BattleGridFightTraitEffectInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BattleGridFightTraitEffectInfo> _parser = new pb::MessageParser<BattleGridFightTraitEffectInfo>(() => new BattleGridFightTraitEffectInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BattleGridFightTraitEffectInfo> 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.BattleGridFightTraitEffectInfoReflection.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 BattleGridFightTraitEffectInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BattleGridFightTraitEffectInfo(BattleGridFightTraitEffectInfo other) : this() {
effectId_ = other.effectId_;
switch (other.GMNGEKNCGAFCase) {
case GMNGEKNCGAFOneofCase.TraitCoreRole:
TraitCoreRole = other.TraitCoreRole.Clone();
break;
case GMNGEKNCGAFOneofCase.IIBBGJFCHDO:
IIBBGJFCHDO = other.IIBBGJFCHDO.Clone();
break;
case GMNGEKNCGAFOneofCase.TraitEffectLevelInfo:
TraitEffectLevelInfo = other.TraitEffectLevelInfo.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BattleGridFightTraitEffectInfo Clone() {
return new BattleGridFightTraitEffectInfo(this);
}
/// <summary>Field number for the "trait_core_role" field.</summary>
public const int TraitCoreRoleFieldNumber = 101;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.BattleGridFightTraitCoreRoleInfo TraitCoreRole {
get { return gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitCoreRole ? (global::EggLink.DanhengServer.Proto.BattleGridFightTraitCoreRoleInfo) gMNGEKNCGAF_ : null; }
set {
gMNGEKNCGAF_ = value;
gMNGEKNCGAFCase_ = value == null ? GMNGEKNCGAFOneofCase.None : GMNGEKNCGAFOneofCase.TraitCoreRole;
}
}
/// <summary>Field number for the "IIBBGJFCHDO" field.</summary>
public const int IIBBGJFCHDOFieldNumber = 102;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.LMBDADOPCPG IIBBGJFCHDO {
get { return gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO ? (global::EggLink.DanhengServer.Proto.LMBDADOPCPG) gMNGEKNCGAF_ : null; }
set {
gMNGEKNCGAF_ = value;
gMNGEKNCGAFCase_ = value == null ? GMNGEKNCGAFOneofCase.None : GMNGEKNCGAFOneofCase.IIBBGJFCHDO;
}
}
/// <summary>Field number for the "trait_effect_level_info" field.</summary>
public const int TraitEffectLevelInfoFieldNumber = 103;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightTraitEffectLevelInfo TraitEffectLevelInfo {
get { return gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitEffectLevelInfo ? (global::EggLink.DanhengServer.Proto.GridFightTraitEffectLevelInfo) gMNGEKNCGAF_ : null; }
set {
gMNGEKNCGAF_ = value;
gMNGEKNCGAFCase_ = value == null ? GMNGEKNCGAFOneofCase.None : GMNGEKNCGAFOneofCase.TraitEffectLevelInfo;
}
}
/// <summary>Field number for the "effect_id" field.</summary>
public const int EffectIdFieldNumber = 1;
private uint effectId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EffectId {
get { return effectId_; }
set {
effectId_ = value;
}
}
private object gMNGEKNCGAF_;
/// <summary>Enum of possible cases for the "GMNGEKNCGAF" oneof.</summary>
public enum GMNGEKNCGAFOneofCase {
None = 0,
TraitCoreRole = 101,
IIBBGJFCHDO = 102,
TraitEffectLevelInfo = 103,
}
private GMNGEKNCGAFOneofCase gMNGEKNCGAFCase_ = GMNGEKNCGAFOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GMNGEKNCGAFOneofCase GMNGEKNCGAFCase {
get { return gMNGEKNCGAFCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearGMNGEKNCGAF() {
gMNGEKNCGAFCase_ = GMNGEKNCGAFOneofCase.None;
gMNGEKNCGAF_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BattleGridFightTraitEffectInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BattleGridFightTraitEffectInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(TraitCoreRole, other.TraitCoreRole)) return false;
if (!object.Equals(IIBBGJFCHDO, other.IIBBGJFCHDO)) return false;
if (!object.Equals(TraitEffectLevelInfo, other.TraitEffectLevelInfo)) return false;
if (EffectId != other.EffectId) return false;
if (GMNGEKNCGAFCase != other.GMNGEKNCGAFCase) 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 (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitCoreRole) hash ^= TraitCoreRole.GetHashCode();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) hash ^= IIBBGJFCHDO.GetHashCode();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitEffectLevelInfo) hash ^= TraitEffectLevelInfo.GetHashCode();
if (EffectId != 0) hash ^= EffectId.GetHashCode();
hash ^= (int) gMNGEKNCGAFCase_;
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 (EffectId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(EffectId);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitCoreRole) {
output.WriteRawTag(170, 6);
output.WriteMessage(TraitCoreRole);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) {
output.WriteRawTag(178, 6);
output.WriteMessage(IIBBGJFCHDO);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitEffectLevelInfo) {
output.WriteRawTag(186, 6);
output.WriteMessage(TraitEffectLevelInfo);
}
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 (EffectId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(EffectId);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitCoreRole) {
output.WriteRawTag(170, 6);
output.WriteMessage(TraitCoreRole);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) {
output.WriteRawTag(178, 6);
output.WriteMessage(IIBBGJFCHDO);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitEffectLevelInfo) {
output.WriteRawTag(186, 6);
output.WriteMessage(TraitEffectLevelInfo);
}
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 (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitCoreRole) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(TraitCoreRole);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(IIBBGJFCHDO);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitEffectLevelInfo) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(TraitEffectLevelInfo);
}
if (EffectId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EffectId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BattleGridFightTraitEffectInfo other) {
if (other == null) {
return;
}
if (other.EffectId != 0) {
EffectId = other.EffectId;
}
switch (other.GMNGEKNCGAFCase) {
case GMNGEKNCGAFOneofCase.TraitCoreRole:
if (TraitCoreRole == null) {
TraitCoreRole = new global::EggLink.DanhengServer.Proto.BattleGridFightTraitCoreRoleInfo();
}
TraitCoreRole.MergeFrom(other.TraitCoreRole);
break;
case GMNGEKNCGAFOneofCase.IIBBGJFCHDO:
if (IIBBGJFCHDO == null) {
IIBBGJFCHDO = new global::EggLink.DanhengServer.Proto.LMBDADOPCPG();
}
IIBBGJFCHDO.MergeFrom(other.IIBBGJFCHDO);
break;
case GMNGEKNCGAFOneofCase.TraitEffectLevelInfo:
if (TraitEffectLevelInfo == null) {
TraitEffectLevelInfo = new global::EggLink.DanhengServer.Proto.GridFightTraitEffectLevelInfo();
}
TraitEffectLevelInfo.MergeFrom(other.TraitEffectLevelInfo);
break;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
EffectId = input.ReadUInt32();
break;
}
case 810: {
global::EggLink.DanhengServer.Proto.BattleGridFightTraitCoreRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.BattleGridFightTraitCoreRoleInfo();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitCoreRole) {
subBuilder.MergeFrom(TraitCoreRole);
}
input.ReadMessage(subBuilder);
TraitCoreRole = subBuilder;
break;
}
case 818: {
global::EggLink.DanhengServer.Proto.LMBDADOPCPG subBuilder = new global::EggLink.DanhengServer.Proto.LMBDADOPCPG();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) {
subBuilder.MergeFrom(IIBBGJFCHDO);
}
input.ReadMessage(subBuilder);
IIBBGJFCHDO = subBuilder;
break;
}
case 826: {
global::EggLink.DanhengServer.Proto.GridFightTraitEffectLevelInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTraitEffectLevelInfo();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitEffectLevelInfo) {
subBuilder.MergeFrom(TraitEffectLevelInfo);
}
input.ReadMessage(subBuilder);
TraitEffectLevelInfo = subBuilder;
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
EffectId = input.ReadUInt32();
break;
}
case 810: {
global::EggLink.DanhengServer.Proto.BattleGridFightTraitCoreRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.BattleGridFightTraitCoreRoleInfo();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitCoreRole) {
subBuilder.MergeFrom(TraitCoreRole);
}
input.ReadMessage(subBuilder);
TraitCoreRole = subBuilder;
break;
}
case 818: {
global::EggLink.DanhengServer.Proto.LMBDADOPCPG subBuilder = new global::EggLink.DanhengServer.Proto.LMBDADOPCPG();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) {
subBuilder.MergeFrom(IIBBGJFCHDO);
}
input.ReadMessage(subBuilder);
IIBBGJFCHDO = subBuilder;
break;
}
case 826: {
global::EggLink.DanhengServer.Proto.GridFightTraitEffectLevelInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTraitEffectLevelInfo();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.TraitEffectLevelInfo) {
subBuilder.MergeFrom(TraitEffectLevelInfo);
}
input.ReadMessage(subBuilder);
TraitEffectLevelInfo = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code