mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
337 lines
12 KiB
C#
337 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightTraitBattleStt.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 GridFightTraitBattleStt.proto</summary>
|
|
public static partial class GridFightTraitBattleSttReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightTraitBattleStt.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightTraitBattleSttReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch1HcmlkRmlnaHRUcmFpdEJhdHRsZVN0dC5wcm90bxoRRUNHRkNJQ0JDS0wu",
|
|
"cHJvdG8icwoXR3JpZEZpZ2h0VHJhaXRCYXR0bGVTdHQSEAoIdHJhaXRfaWQY",
|
|
"ASABKA0SIQoLQkpJRkVBQUlNRU8YAiADKAsyDC5FQ0dGQ0lDQkNLTBIOCgZk",
|
|
"YW1hZ2UYAyABKAESEwoLQkNERkZMT0ZFTkcYBCABKAFCHqoCG0VnZ0xpbmsu",
|
|
"RGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ECGFCICBCKLReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightTraitBattleStt), global::EggLink.DanhengServer.Proto.GridFightTraitBattleStt.Parser, new[]{ "TraitId", "BJIFEAAIMEO", "Damage", "BCDFFLOFENG" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightTraitBattleStt : pb::IMessage<GridFightTraitBattleStt>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightTraitBattleStt> _parser = new pb::MessageParser<GridFightTraitBattleStt>(() => new GridFightTraitBattleStt());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightTraitBattleStt> 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.GridFightTraitBattleSttReflection.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 GridFightTraitBattleStt() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightTraitBattleStt(GridFightTraitBattleStt other) : this() {
|
|
traitId_ = other.traitId_;
|
|
bJIFEAAIMEO_ = other.bJIFEAAIMEO_.Clone();
|
|
damage_ = other.damage_;
|
|
bCDFFLOFENG_ = other.bCDFFLOFENG_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightTraitBattleStt Clone() {
|
|
return new GridFightTraitBattleStt(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 "BJIFEAAIMEO" field.</summary>
|
|
public const int BJIFEAAIMEOFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ECGFCICBCKL> _repeated_bJIFEAAIMEO_codec
|
|
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ECGFCICBCKL.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ECGFCICBCKL> bJIFEAAIMEO_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ECGFCICBCKL>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ECGFCICBCKL> BJIFEAAIMEO {
|
|
get { return bJIFEAAIMEO_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "damage" field.</summary>
|
|
public const int DamageFieldNumber = 3;
|
|
private double damage_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double Damage {
|
|
get { return damage_; }
|
|
set {
|
|
damage_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "BCDFFLOFENG" field.</summary>
|
|
public const int BCDFFLOFENGFieldNumber = 4;
|
|
private double bCDFFLOFENG_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double BCDFFLOFENG {
|
|
get { return bCDFFLOFENG_; }
|
|
set {
|
|
bCDFFLOFENG_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightTraitBattleStt);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightTraitBattleStt other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (TraitId != other.TraitId) return false;
|
|
if(!bJIFEAAIMEO_.Equals(other.bJIFEAAIMEO_)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Damage, other.Damage)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BCDFFLOFENG, other.BCDFFLOFENG)) 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();
|
|
hash ^= bJIFEAAIMEO_.GetHashCode();
|
|
if (Damage != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Damage);
|
|
if (BCDFFLOFENG != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BCDFFLOFENG);
|
|
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);
|
|
}
|
|
bJIFEAAIMEO_.WriteTo(output, _repeated_bJIFEAAIMEO_codec);
|
|
if (Damage != 0D) {
|
|
output.WriteRawTag(25);
|
|
output.WriteDouble(Damage);
|
|
}
|
|
if (BCDFFLOFENG != 0D) {
|
|
output.WriteRawTag(33);
|
|
output.WriteDouble(BCDFFLOFENG);
|
|
}
|
|
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);
|
|
}
|
|
bJIFEAAIMEO_.WriteTo(ref output, _repeated_bJIFEAAIMEO_codec);
|
|
if (Damage != 0D) {
|
|
output.WriteRawTag(25);
|
|
output.WriteDouble(Damage);
|
|
}
|
|
if (BCDFFLOFENG != 0D) {
|
|
output.WriteRawTag(33);
|
|
output.WriteDouble(BCDFFLOFENG);
|
|
}
|
|
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);
|
|
}
|
|
size += bJIFEAAIMEO_.CalculateSize(_repeated_bJIFEAAIMEO_codec);
|
|
if (Damage != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
if (BCDFFLOFENG != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightTraitBattleStt other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.TraitId != 0) {
|
|
TraitId = other.TraitId;
|
|
}
|
|
bJIFEAAIMEO_.Add(other.bJIFEAAIMEO_);
|
|
if (other.Damage != 0D) {
|
|
Damage = other.Damage;
|
|
}
|
|
if (other.BCDFFLOFENG != 0D) {
|
|
BCDFFLOFENG = other.BCDFFLOFENG;
|
|
}
|
|
_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 18: {
|
|
bJIFEAAIMEO_.AddEntriesFrom(input, _repeated_bJIFEAAIMEO_codec);
|
|
break;
|
|
}
|
|
case 25: {
|
|
Damage = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 33: {
|
|
BCDFFLOFENG = input.ReadDouble();
|
|
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 18: {
|
|
bJIFEAAIMEO_.AddEntriesFrom(ref input, _repeated_bJIFEAAIMEO_codec);
|
|
break;
|
|
}
|
|
case 25: {
|
|
Damage = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 33: {
|
|
BCDFFLOFENG = input.ReadDouble();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|