Files
DanhengServer-OpenSource/Proto/BattleGridFightTraitEffectInfo.cs
2025-11-15 22:21:46 +08:00

425 lines
17 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(
"CiRCYXR0bGVHcmlkRmlnaHRUcmFpdEVmZmVjdEluZm8ucHJvdG8aEUlIR0VL",
"TFBJQU5MLnByb3RvGhFIT0NHTUNPT0pCQS5wcm90bxoRTE1CREFET1BDUEcu",
"cHJvdG8isQEKHkJhdHRsZUdyaWRGaWdodFRyYWl0RWZmZWN0SW5mbxIjCgtJ",
"REhGTUJHUEFMThhlIAEoCzIMLklIR0VLTFBJQU5MSAASIwoLSUlCQkdKRkNI",
"RE8YZiABKAsyDC5MTUJEQURPUENQR0gAEiMKC01MSkpMQkhOQURLGGcgASgL",
"MgwuSE9DR01DT09KQkFIABIRCgllZmZlY3RfaWQYASABKA1CDQoLR01OR0VL",
"TkNHQUZCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.IHGEKLPIANLReflection.Descriptor, global::EggLink.DanhengServer.Proto.HOCGMCOOJBAReflection.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[]{ "IDHFMBGPALN", "IIBBGJFCHDO", "MLJJLBHNADK", "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.IDHFMBGPALN:
IDHFMBGPALN = other.IDHFMBGPALN.Clone();
break;
case GMNGEKNCGAFOneofCase.IIBBGJFCHDO:
IIBBGJFCHDO = other.IIBBGJFCHDO.Clone();
break;
case GMNGEKNCGAFOneofCase.MLJJLBHNADK:
MLJJLBHNADK = other.MLJJLBHNADK.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 "IDHFMBGPALN" field.</summary>
public const int IDHFMBGPALNFieldNumber = 101;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.IHGEKLPIANL IDHFMBGPALN {
get { return gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IDHFMBGPALN ? (global::EggLink.DanhengServer.Proto.IHGEKLPIANL) gMNGEKNCGAF_ : null; }
set {
gMNGEKNCGAF_ = value;
gMNGEKNCGAFCase_ = value == null ? GMNGEKNCGAFOneofCase.None : GMNGEKNCGAFOneofCase.IDHFMBGPALN;
}
}
/// <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 "MLJJLBHNADK" field.</summary>
public const int MLJJLBHNADKFieldNumber = 103;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.HOCGMCOOJBA MLJJLBHNADK {
get { return gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.MLJJLBHNADK ? (global::EggLink.DanhengServer.Proto.HOCGMCOOJBA) gMNGEKNCGAF_ : null; }
set {
gMNGEKNCGAF_ = value;
gMNGEKNCGAFCase_ = value == null ? GMNGEKNCGAFOneofCase.None : GMNGEKNCGAFOneofCase.MLJJLBHNADK;
}
}
/// <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,
IDHFMBGPALN = 101,
IIBBGJFCHDO = 102,
MLJJLBHNADK = 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(IDHFMBGPALN, other.IDHFMBGPALN)) return false;
if (!object.Equals(IIBBGJFCHDO, other.IIBBGJFCHDO)) return false;
if (!object.Equals(MLJJLBHNADK, other.MLJJLBHNADK)) 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.IDHFMBGPALN) hash ^= IDHFMBGPALN.GetHashCode();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) hash ^= IIBBGJFCHDO.GetHashCode();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.MLJJLBHNADK) hash ^= MLJJLBHNADK.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.IDHFMBGPALN) {
output.WriteRawTag(170, 6);
output.WriteMessage(IDHFMBGPALN);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) {
output.WriteRawTag(178, 6);
output.WriteMessage(IIBBGJFCHDO);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.MLJJLBHNADK) {
output.WriteRawTag(186, 6);
output.WriteMessage(MLJJLBHNADK);
}
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.IDHFMBGPALN) {
output.WriteRawTag(170, 6);
output.WriteMessage(IDHFMBGPALN);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) {
output.WriteRawTag(178, 6);
output.WriteMessage(IIBBGJFCHDO);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.MLJJLBHNADK) {
output.WriteRawTag(186, 6);
output.WriteMessage(MLJJLBHNADK);
}
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.IDHFMBGPALN) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(IDHFMBGPALN);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IIBBGJFCHDO) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(IIBBGJFCHDO);
}
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.MLJJLBHNADK) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(MLJJLBHNADK);
}
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.IDHFMBGPALN:
if (IDHFMBGPALN == null) {
IDHFMBGPALN = new global::EggLink.DanhengServer.Proto.IHGEKLPIANL();
}
IDHFMBGPALN.MergeFrom(other.IDHFMBGPALN);
break;
case GMNGEKNCGAFOneofCase.IIBBGJFCHDO:
if (IIBBGJFCHDO == null) {
IIBBGJFCHDO = new global::EggLink.DanhengServer.Proto.LMBDADOPCPG();
}
IIBBGJFCHDO.MergeFrom(other.IIBBGJFCHDO);
break;
case GMNGEKNCGAFOneofCase.MLJJLBHNADK:
if (MLJJLBHNADK == null) {
MLJJLBHNADK = new global::EggLink.DanhengServer.Proto.HOCGMCOOJBA();
}
MLJJLBHNADK.MergeFrom(other.MLJJLBHNADK);
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.IHGEKLPIANL subBuilder = new global::EggLink.DanhengServer.Proto.IHGEKLPIANL();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IDHFMBGPALN) {
subBuilder.MergeFrom(IDHFMBGPALN);
}
input.ReadMessage(subBuilder);
IDHFMBGPALN = 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.HOCGMCOOJBA subBuilder = new global::EggLink.DanhengServer.Proto.HOCGMCOOJBA();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.MLJJLBHNADK) {
subBuilder.MergeFrom(MLJJLBHNADK);
}
input.ReadMessage(subBuilder);
MLJJLBHNADK = 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.IHGEKLPIANL subBuilder = new global::EggLink.DanhengServer.Proto.IHGEKLPIANL();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.IDHFMBGPALN) {
subBuilder.MergeFrom(IDHFMBGPALN);
}
input.ReadMessage(subBuilder);
IDHFMBGPALN = 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.HOCGMCOOJBA subBuilder = new global::EggLink.DanhengServer.Proto.HOCGMCOOJBA();
if (gMNGEKNCGAFCase_ == GMNGEKNCGAFOneofCase.MLJJLBHNADK) {
subBuilder.MergeFrom(MLJJLBHNADK);
}
input.ReadMessage(subBuilder);
MLJJLBHNADK = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code