mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
355 lines
13 KiB
C#
355 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(
|
|
"Ch9HcmlkRmlnaHRUcmFpdFVwZGF0ZUNzUmVxLnByb3RvGiBHcmlkRmlnaHRU",
|
|
"cmFpdENvcmVSb2xlSW5mby5wcm90byKNAQoZR3JpZEZpZ2h0VHJhaXRVcGRh",
|
|
"dGVDc1JlcRI8ChR0cmFpdF9jb3JlX3JvbGVfaW5mbxiQAyABKAsyGy5Hcmlk",
|
|
"RmlnaHRUcmFpdENvcmVSb2xlSW5mb0gAEhAKCHRyYWl0X2lkGAYgASgNEhEK",
|
|
"CWVmZmVjdF9pZBgKIAEoDUINCgtFUElKSUpDRUtIT0IeqgIbRWdnTGluay5E",
|
|
"YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightTraitCoreRoleInfoReflection.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[]{ "TraitCoreRoleInfo", "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.TraitCoreRoleInfo:
|
|
TraitCoreRoleInfo = other.TraitCoreRoleInfo.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 "trait_core_role_info" field.</summary>
|
|
public const int TraitCoreRoleInfoFieldNumber = 400;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightTraitCoreRoleInfo TraitCoreRoleInfo {
|
|
get { return ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.TraitCoreRoleInfo ? (global::EggLink.DanhengServer.Proto.GridFightTraitCoreRoleInfo) ePIJIJCEKHO_ : null; }
|
|
set {
|
|
ePIJIJCEKHO_ = value;
|
|
ePIJIJCEKHOCase_ = value == null ? EPIJIJCEKHOOneofCase.None : EPIJIJCEKHOOneofCase.TraitCoreRoleInfo;
|
|
}
|
|
}
|
|
|
|
/// <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,
|
|
TraitCoreRoleInfo = 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(TraitCoreRoleInfo, other.TraitCoreRoleInfo)) 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.TraitCoreRoleInfo) hash ^= TraitCoreRoleInfo.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.TraitCoreRoleInfo) {
|
|
output.WriteRawTag(130, 25);
|
|
output.WriteMessage(TraitCoreRoleInfo);
|
|
}
|
|
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.TraitCoreRoleInfo) {
|
|
output.WriteRawTag(130, 25);
|
|
output.WriteMessage(TraitCoreRoleInfo);
|
|
}
|
|
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.TraitCoreRoleInfo) {
|
|
size += 2 + pb::CodedOutputStream.ComputeMessageSize(TraitCoreRoleInfo);
|
|
}
|
|
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.TraitCoreRoleInfo:
|
|
if (TraitCoreRoleInfo == null) {
|
|
TraitCoreRoleInfo = new global::EggLink.DanhengServer.Proto.GridFightTraitCoreRoleInfo();
|
|
}
|
|
TraitCoreRoleInfo.MergeFrom(other.TraitCoreRoleInfo);
|
|
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.GridFightTraitCoreRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTraitCoreRoleInfo();
|
|
if (ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.TraitCoreRoleInfo) {
|
|
subBuilder.MergeFrom(TraitCoreRoleInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
TraitCoreRoleInfo = 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.GridFightTraitCoreRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTraitCoreRoleInfo();
|
|
if (ePIJIJCEKHOCase_ == EPIJIJCEKHOOneofCase.TraitCoreRoleInfo) {
|
|
subBuilder.MergeFrom(TraitCoreRoleInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
TraitCoreRoleInfo = subBuilder;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|