mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 12:16:03 +08:00
366 lines
14 KiB
C#
366 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: BattleGridFightTraitInfo.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 BattleGridFightTraitInfo.proto</summary>
|
|
public static partial class BattleGridFightTraitInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for BattleGridFightTraitInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static BattleGridFightTraitInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch5CYXR0bGVHcmlkRmlnaHRUcmFpdEluZm8ucHJvdG8aJEJhdHRsZUdyaWRG",
|
|
"aWdodFRyYWl0RWZmZWN0SW5mby5wcm90bxoaR3JpZEZpZ2h0VHJhaXRNZW1i",
|
|
"ZXIucHJvdG8ixQEKGEJhdHRsZUdyaWRGaWdodFRyYWl0SW5mbxIQCgh0cmFp",
|
|
"dF9pZBgBIAEoDRIaChJ0cmFpdF9lZmZlY3RfbGF5ZXIYAiABKA0SOgoRdHJh",
|
|
"aXRfZWZmZWN0X2xpc3QYAyADKAsyHy5CYXR0bGVHcmlkRmlnaHRUcmFpdEVm",
|
|
"ZmVjdEluZm8SKgoLbWVtYmVyX2xpc3QYBSADKAsyFS5HcmlkRmlnaHRUcmFp",
|
|
"dE1lbWJlchITCgtLQUZQSUhQQUZFRRgGIAEoDUIeqgIbRWdnTGluay5EYW5o",
|
|
"ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleGridFightTraitEffectInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightTraitMemberReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleGridFightTraitInfo), global::EggLink.DanhengServer.Proto.BattleGridFightTraitInfo.Parser, new[]{ "TraitId", "TraitEffectLayer", "TraitEffectList", "MemberList", "KAFPIHPAFEE" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class BattleGridFightTraitInfo : pb::IMessage<BattleGridFightTraitInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<BattleGridFightTraitInfo> _parser = new pb::MessageParser<BattleGridFightTraitInfo>(() => new BattleGridFightTraitInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<BattleGridFightTraitInfo> 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.BattleGridFightTraitInfoReflection.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 BattleGridFightTraitInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BattleGridFightTraitInfo(BattleGridFightTraitInfo other) : this() {
|
|
traitId_ = other.traitId_;
|
|
traitEffectLayer_ = other.traitEffectLayer_;
|
|
traitEffectList_ = other.traitEffectList_.Clone();
|
|
memberList_ = other.memberList_.Clone();
|
|
kAFPIHPAFEE_ = other.kAFPIHPAFEE_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BattleGridFightTraitInfo Clone() {
|
|
return new BattleGridFightTraitInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "trait_id" field.</summary>
|
|
public const int TraitIdFieldNumber = 1;
|
|
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_layer" field.</summary>
|
|
public const int TraitEffectLayerFieldNumber = 2;
|
|
private uint traitEffectLayer_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint TraitEffectLayer {
|
|
get { return traitEffectLayer_; }
|
|
set {
|
|
traitEffectLayer_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "trait_effect_list" field.</summary>
|
|
public const int TraitEffectListFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BattleGridFightTraitEffectInfo> _repeated_traitEffectList_codec
|
|
= pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.BattleGridFightTraitEffectInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleGridFightTraitEffectInfo> traitEffectList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleGridFightTraitEffectInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleGridFightTraitEffectInfo> TraitEffectList {
|
|
get { return traitEffectList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "member_list" field.</summary>
|
|
public const int MemberListFieldNumber = 5;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridFightTraitMember> _repeated_memberList_codec
|
|
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.GridFightTraitMember.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightTraitMember> memberList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightTraitMember>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightTraitMember> MemberList {
|
|
get { return memberList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "KAFPIHPAFEE" field.</summary>
|
|
public const int KAFPIHPAFEEFieldNumber = 6;
|
|
private uint kAFPIHPAFEE_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint KAFPIHPAFEE {
|
|
get { return kAFPIHPAFEE_; }
|
|
set {
|
|
kAFPIHPAFEE_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as BattleGridFightTraitInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(BattleGridFightTraitInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (TraitId != other.TraitId) return false;
|
|
if (TraitEffectLayer != other.TraitEffectLayer) return false;
|
|
if(!traitEffectList_.Equals(other.traitEffectList_)) return false;
|
|
if(!memberList_.Equals(other.memberList_)) return false;
|
|
if (KAFPIHPAFEE != other.KAFPIHPAFEE) 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 (TraitEffectLayer != 0) hash ^= TraitEffectLayer.GetHashCode();
|
|
hash ^= traitEffectList_.GetHashCode();
|
|
hash ^= memberList_.GetHashCode();
|
|
if (KAFPIHPAFEE != 0) hash ^= KAFPIHPAFEE.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(8);
|
|
output.WriteUInt32(TraitId);
|
|
}
|
|
if (TraitEffectLayer != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(TraitEffectLayer);
|
|
}
|
|
traitEffectList_.WriteTo(output, _repeated_traitEffectList_codec);
|
|
memberList_.WriteTo(output, _repeated_memberList_codec);
|
|
if (KAFPIHPAFEE != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(KAFPIHPAFEE);
|
|
}
|
|
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(8);
|
|
output.WriteUInt32(TraitId);
|
|
}
|
|
if (TraitEffectLayer != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(TraitEffectLayer);
|
|
}
|
|
traitEffectList_.WriteTo(ref output, _repeated_traitEffectList_codec);
|
|
memberList_.WriteTo(ref output, _repeated_memberList_codec);
|
|
if (KAFPIHPAFEE != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(KAFPIHPAFEE);
|
|
}
|
|
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 (TraitEffectLayer != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TraitEffectLayer);
|
|
}
|
|
size += traitEffectList_.CalculateSize(_repeated_traitEffectList_codec);
|
|
size += memberList_.CalculateSize(_repeated_memberList_codec);
|
|
if (KAFPIHPAFEE != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(KAFPIHPAFEE);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(BattleGridFightTraitInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.TraitId != 0) {
|
|
TraitId = other.TraitId;
|
|
}
|
|
if (other.TraitEffectLayer != 0) {
|
|
TraitEffectLayer = other.TraitEffectLayer;
|
|
}
|
|
traitEffectList_.Add(other.traitEffectList_);
|
|
memberList_.Add(other.memberList_);
|
|
if (other.KAFPIHPAFEE != 0) {
|
|
KAFPIHPAFEE = other.KAFPIHPAFEE;
|
|
}
|
|
_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: {
|
|
TraitId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
TraitEffectLayer = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
traitEffectList_.AddEntriesFrom(input, _repeated_traitEffectList_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
memberList_.AddEntriesFrom(input, _repeated_memberList_codec);
|
|
break;
|
|
}
|
|
case 48: {
|
|
KAFPIHPAFEE = input.ReadUInt32();
|
|
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: {
|
|
TraitId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
TraitEffectLayer = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
traitEffectList_.AddEntriesFrom(ref input, _repeated_traitEffectList_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
memberList_.AddEntriesFrom(ref input, _repeated_memberList_codec);
|
|
break;
|
|
}
|
|
case 48: {
|
|
KAFPIHPAFEE = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|