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

354 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridFightTraitUpdateCsReq.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 GridFightTraitUpdateCsReq.proto</summary>
public static partial class GridFightTraitUpdateCsReqReflection {
#region Descriptor
/// <summary>File descriptor for GridFightTraitUpdateCsReq.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GridFightTraitUpdateCsReqReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch9HcmlkRmlnaHRUcmFpdFVwZGF0ZUNzUmVxLnByb3RvGhFPQUFNRUtNQ09I",
"SC5wcm90byJ1ChlHcmlkRmlnaHRUcmFpdFVwZGF0ZUNzUmVxEiQKC0RMTEdP",
"SkxJSE1MGJADIAEoCzIMLk9BQU1FS01DT0hISAASEAoIdHJhaXRfaWQYBiAB",
"KA0SEQoJZWZmZWN0X2lkGAogASgNQg0KC0VQSUpJSkNFS0hPQh6qAhtFZ2dM",
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.OAAMEKMCOHHReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightTraitUpdateCsReq), global::EggLink.DanhengServer.Proto.GridFightTraitUpdateCsReq.Parser, new[]{ "DLLGOJLIHML", "TraitId", "EffectId" }, new[]{ "EPIJIJCEKHO" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightTraitUpdateCsReq : pb::IMessage<GridFightTraitUpdateCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightTraitUpdateCsReq> _parser = new pb::MessageParser<GridFightTraitUpdateCsReq>(() => new GridFightTraitUpdateCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightTraitUpdateCsReq> 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.GridFightTraitUpdateCsReqReflection.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 GridFightTraitUpdateCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightTraitUpdateCsReq(GridFightTraitUpdateCsReq other) : this() {
traitId_ = other.traitId_;
effectId_ = other.effectId_;
switch (other.EPIJIJCEKHOCase) {
case EPIJIJCEKHOOneofCase.DLLGOJLIHML:
DLLGOJLIHML = other.DLLGOJLIHML.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightTraitUpdateCsReq Clone() {
return new GridFightTraitUpdateCsReq(this);
}
/// <summary>Field number for the "DLLGOJLIHML" field.</summary>
public const int DLLGOJLIHMLFieldNumber = 400;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.OAAMEKMCOHH DLLGOJLIHML {
get { return ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.DLLGOJLIHML ? (global::EggLink.DanhengServer.Proto.OAAMEKMCOHH) ePIJIJCEKHO_ : null; }
set {
ePIJIJCEKHO_ = value;
ePIJIJCEKHOCase_ = value == null ? EPIJIJCEKHOOneofCase.None : EPIJIJCEKHOOneofCase.DLLGOJLIHML;
}
}
/// <summary>Field number for the "trait_id" field.</summary>
public const int TraitIdFieldNumber = 6;
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 "effect_id" field.</summary>
public const int EffectIdFieldNumber = 10;
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 ePIJIJCEKHO_;
/// <summary>Enum of possible cases for the "EPIJIJCEKHO" oneof.</summary>
public enum EPIJIJCEKHOOneofCase {
None = 0,
DLLGOJLIHML = 400,
}
private EPIJIJCEKHOOneofCase ePIJIJCEKHOCase_ = EPIJIJCEKHOOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EPIJIJCEKHOOneofCase EPIJIJCEKHOCase {
get { return ePIJIJCEKHOCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearEPIJIJCEKHO() {
ePIJIJCEKHOCase_ = EPIJIJCEKHOOneofCase.None;
ePIJIJCEKHO_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GridFightTraitUpdateCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridFightTraitUpdateCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(DLLGOJLIHML, other.DLLGOJLIHML)) return false;
if (TraitId != other.TraitId) return false;
if (EffectId != other.EffectId) return false;
if (EPIJIJCEKHOCase != other.EPIJIJCEKHOCase) 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 (ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.DLLGOJLIHML) hash ^= DLLGOJLIHML.GetHashCode();
if (TraitId != 0) hash ^= TraitId.GetHashCode();
if (EffectId != 0) hash ^= EffectId.GetHashCode();
hash ^= (int) ePIJIJCEKHOCase_;
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(48);
output.WriteUInt32(TraitId);
}
if (EffectId != 0) {
output.WriteRawTag(80);
output.WriteUInt32(EffectId);
}
if (ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.DLLGOJLIHML) {
output.WriteRawTag(130, 25);
output.WriteMessage(DLLGOJLIHML);
}
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(48);
output.WriteUInt32(TraitId);
}
if (EffectId != 0) {
output.WriteRawTag(80);
output.WriteUInt32(EffectId);
}
if (ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.DLLGOJLIHML) {
output.WriteRawTag(130, 25);
output.WriteMessage(DLLGOJLIHML);
}
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 (ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.DLLGOJLIHML) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(DLLGOJLIHML);
}
if (TraitId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TraitId);
}
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(GridFightTraitUpdateCsReq other) {
if (other == null) {
return;
}
if (other.TraitId != 0) {
TraitId = other.TraitId;
}
if (other.EffectId != 0) {
EffectId = other.EffectId;
}
switch (other.EPIJIJCEKHOCase) {
case EPIJIJCEKHOOneofCase.DLLGOJLIHML:
if (DLLGOJLIHML == null) {
DLLGOJLIHML = new global::EggLink.DanhengServer.Proto.OAAMEKMCOHH();
}
DLLGOJLIHML.MergeFrom(other.DLLGOJLIHML);
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 48: {
TraitId = input.ReadUInt32();
break;
}
case 80: {
EffectId = input.ReadUInt32();
break;
}
case 3202: {
global::EggLink.DanhengServer.Proto.OAAMEKMCOHH subBuilder = new global::EggLink.DanhengServer.Proto.OAAMEKMCOHH();
if (ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.DLLGOJLIHML) {
subBuilder.MergeFrom(DLLGOJLIHML);
}
input.ReadMessage(subBuilder);
DLLGOJLIHML = 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 48: {
TraitId = input.ReadUInt32();
break;
}
case 80: {
EffectId = input.ReadUInt32();
break;
}
case 3202: {
global::EggLink.DanhengServer.Proto.OAAMEKMCOHH subBuilder = new global::EggLink.DanhengServer.Proto.OAAMEKMCOHH();
if (ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.DLLGOJLIHML) {
subBuilder.MergeFrom(DLLGOJLIHML);
}
input.ReadMessage(subBuilder);
DLLGOJLIHML = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code