mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
338 lines
12 KiB
C#
338 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GAAGEHABINM.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 GAAGEHABINM.proto</summary>
|
|
public static partial class GAAGEHABINMReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GAAGEHABINM.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GAAGEHABINMReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChFHQUFHRUhBQklOTS5wcm90byJgCgtHQUFHRUhBQklOTRIQCghza2lsbF9p",
|
|
"ZBgBIAEoDRITCgtIR0ZMUEVOS0lJSRgCIAEoARIaChJiYXR0bGVfdGFyZ2V0",
|
|
"X2xpc3QYAyADKA0SDgoGZGFtYWdlGAQgASgBQh6qAhtFZ2dMaW5rLkRhbmhl",
|
|
"bmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GAAGEHABINM), global::EggLink.DanhengServer.Proto.GAAGEHABINM.Parser, new[]{ "SkillId", "HGFLPENKIII", "BattleTargetList", "Damage" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GAAGEHABINM : pb::IMessage<GAAGEHABINM>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GAAGEHABINM> _parser = new pb::MessageParser<GAAGEHABINM>(() => new GAAGEHABINM());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GAAGEHABINM> 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.GAAGEHABINMReflection.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 GAAGEHABINM() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GAAGEHABINM(GAAGEHABINM other) : this() {
|
|
skillId_ = other.skillId_;
|
|
hGFLPENKIII_ = other.hGFLPENKIII_;
|
|
battleTargetList_ = other.battleTargetList_.Clone();
|
|
damage_ = other.damage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GAAGEHABINM Clone() {
|
|
return new GAAGEHABINM(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "skill_id" field.</summary>
|
|
public const int SkillIdFieldNumber = 1;
|
|
private uint skillId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint SkillId {
|
|
get { return skillId_; }
|
|
set {
|
|
skillId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "HGFLPENKIII" field.</summary>
|
|
public const int HGFLPENKIIIFieldNumber = 2;
|
|
private double hGFLPENKIII_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double HGFLPENKIII {
|
|
get { return hGFLPENKIII_; }
|
|
set {
|
|
hGFLPENKIII_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "battle_target_list" field.</summary>
|
|
public const int BattleTargetListFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<uint> _repeated_battleTargetList_codec
|
|
= pb::FieldCodec.ForUInt32(26);
|
|
private readonly pbc::RepeatedField<uint> battleTargetList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> BattleTargetList {
|
|
get { return battleTargetList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "damage" field.</summary>
|
|
public const int DamageFieldNumber = 4;
|
|
private double damage_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double Damage {
|
|
get { return damage_; }
|
|
set {
|
|
damage_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GAAGEHABINM);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GAAGEHABINM other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (SkillId != other.SkillId) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(HGFLPENKIII, other.HGFLPENKIII)) return false;
|
|
if(!battleTargetList_.Equals(other.battleTargetList_)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Damage, other.Damage)) 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 (SkillId != 0) hash ^= SkillId.GetHashCode();
|
|
if (HGFLPENKIII != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(HGFLPENKIII);
|
|
hash ^= battleTargetList_.GetHashCode();
|
|
if (Damage != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Damage);
|
|
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 (SkillId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(SkillId);
|
|
}
|
|
if (HGFLPENKIII != 0D) {
|
|
output.WriteRawTag(17);
|
|
output.WriteDouble(HGFLPENKIII);
|
|
}
|
|
battleTargetList_.WriteTo(output, _repeated_battleTargetList_codec);
|
|
if (Damage != 0D) {
|
|
output.WriteRawTag(33);
|
|
output.WriteDouble(Damage);
|
|
}
|
|
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 (SkillId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(SkillId);
|
|
}
|
|
if (HGFLPENKIII != 0D) {
|
|
output.WriteRawTag(17);
|
|
output.WriteDouble(HGFLPENKIII);
|
|
}
|
|
battleTargetList_.WriteTo(ref output, _repeated_battleTargetList_codec);
|
|
if (Damage != 0D) {
|
|
output.WriteRawTag(33);
|
|
output.WriteDouble(Damage);
|
|
}
|
|
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 (SkillId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkillId);
|
|
}
|
|
if (HGFLPENKIII != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
size += battleTargetList_.CalculateSize(_repeated_battleTargetList_codec);
|
|
if (Damage != 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(GAAGEHABINM other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.SkillId != 0) {
|
|
SkillId = other.SkillId;
|
|
}
|
|
if (other.HGFLPENKIII != 0D) {
|
|
HGFLPENKIII = other.HGFLPENKIII;
|
|
}
|
|
battleTargetList_.Add(other.battleTargetList_);
|
|
if (other.Damage != 0D) {
|
|
Damage = other.Damage;
|
|
}
|
|
_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: {
|
|
SkillId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 17: {
|
|
HGFLPENKIII = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 26:
|
|
case 24: {
|
|
battleTargetList_.AddEntriesFrom(input, _repeated_battleTargetList_codec);
|
|
break;
|
|
}
|
|
case 33: {
|
|
Damage = 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: {
|
|
SkillId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 17: {
|
|
HGFLPENKIII = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 26:
|
|
case 24: {
|
|
battleTargetList_.AddEntriesFrom(ref input, _repeated_battleTargetList_codec);
|
|
break;
|
|
}
|
|
case 33: {
|
|
Damage = input.ReadDouble();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|