mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
320 lines
12 KiB
C#
320 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightTraitSyncInfo.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 GridFightTraitSyncInfo.proto</summary>
|
|
public static partial class GridFightTraitSyncInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightTraitSyncInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightTraitSyncInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChxHcmlkRmlnaHRUcmFpdFN5bmNJbmZvLnByb3RvGh5HcmlkRmlnaHRUcmFp",
|
|
"dEVmZmVjdEluZm8ucHJvdG8idQoWR3JpZEZpZ2h0VHJhaXRTeW5jSW5mbxIQ",
|
|
"Cgh0cmFpdF9pZBgCIAEoDRI0ChF0cmFpdF9lZmZlY3RfaW5mbxgMIAEoCzIZ",
|
|
"LkdyaWRGaWdodFRyYWl0RWZmZWN0SW5mbxITCgtNQ0pPTEFKUEhPQxgIIAEo",
|
|
"CEIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightTraitEffectInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfo), global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfo.Parser, new[]{ "TraitId", "TraitEffectInfo", "MCJOLAJPHOC" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightTraitSyncInfo : pb::IMessage<GridFightTraitSyncInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightTraitSyncInfo> _parser = new pb::MessageParser<GridFightTraitSyncInfo>(() => new GridFightTraitSyncInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightTraitSyncInfo> 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.GridFightTraitSyncInfoReflection.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 GridFightTraitSyncInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightTraitSyncInfo(GridFightTraitSyncInfo other) : this() {
|
|
traitId_ = other.traitId_;
|
|
traitEffectInfo_ = other.traitEffectInfo_ != null ? other.traitEffectInfo_.Clone() : null;
|
|
mCJOLAJPHOC_ = other.mCJOLAJPHOC_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightTraitSyncInfo Clone() {
|
|
return new GridFightTraitSyncInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "trait_id" field.</summary>
|
|
public const int TraitIdFieldNumber = 2;
|
|
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 "trait_effect_info" field.</summary>
|
|
public const int TraitEffectInfoFieldNumber = 12;
|
|
private global::EggLink.DanhengServer.Proto.GridFightTraitEffectInfo traitEffectInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightTraitEffectInfo TraitEffectInfo {
|
|
get { return traitEffectInfo_; }
|
|
set {
|
|
traitEffectInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MCJOLAJPHOC" field.</summary>
|
|
public const int MCJOLAJPHOCFieldNumber = 8;
|
|
private bool mCJOLAJPHOC_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool MCJOLAJPHOC {
|
|
get { return mCJOLAJPHOC_; }
|
|
set {
|
|
mCJOLAJPHOC_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightTraitSyncInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightTraitSyncInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (TraitId != other.TraitId) return false;
|
|
if (!object.Equals(TraitEffectInfo, other.TraitEffectInfo)) return false;
|
|
if (MCJOLAJPHOC != other.MCJOLAJPHOC) 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 (TraitId != 0) hash ^= TraitId.GetHashCode();
|
|
if (traitEffectInfo_ != null) hash ^= TraitEffectInfo.GetHashCode();
|
|
if (MCJOLAJPHOC != false) hash ^= MCJOLAJPHOC.GetHashCode();
|
|
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(16);
|
|
output.WriteUInt32(TraitId);
|
|
}
|
|
if (MCJOLAJPHOC != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(MCJOLAJPHOC);
|
|
}
|
|
if (traitEffectInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(TraitEffectInfo);
|
|
}
|
|
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(16);
|
|
output.WriteUInt32(TraitId);
|
|
}
|
|
if (MCJOLAJPHOC != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(MCJOLAJPHOC);
|
|
}
|
|
if (traitEffectInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(TraitEffectInfo);
|
|
}
|
|
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 (TraitId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TraitId);
|
|
}
|
|
if (traitEffectInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TraitEffectInfo);
|
|
}
|
|
if (MCJOLAJPHOC != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightTraitSyncInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.TraitId != 0) {
|
|
TraitId = other.TraitId;
|
|
}
|
|
if (other.traitEffectInfo_ != null) {
|
|
if (traitEffectInfo_ == null) {
|
|
TraitEffectInfo = new global::EggLink.DanhengServer.Proto.GridFightTraitEffectInfo();
|
|
}
|
|
TraitEffectInfo.MergeFrom(other.TraitEffectInfo);
|
|
}
|
|
if (other.MCJOLAJPHOC != false) {
|
|
MCJOLAJPHOC = other.MCJOLAJPHOC;
|
|
}
|
|
_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 16: {
|
|
TraitId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
MCJOLAJPHOC = input.ReadBool();
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (traitEffectInfo_ == null) {
|
|
TraitEffectInfo = new global::EggLink.DanhengServer.Proto.GridFightTraitEffectInfo();
|
|
}
|
|
input.ReadMessage(TraitEffectInfo);
|
|
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 16: {
|
|
TraitId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
MCJOLAJPHOC = input.ReadBool();
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (traitEffectInfo_ == null) {
|
|
TraitEffectInfo = new global::EggLink.DanhengServer.Proto.GridFightTraitEffectInfo();
|
|
}
|
|
input.ReadMessage(TraitEffectInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|