mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 12:16:03 +08:00
347 lines
12 KiB
C#
347 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightMonsterInfo.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 GridFightMonsterInfo.proto</summary>
|
|
public static partial class GridFightMonsterInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightMonsterInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightMonsterInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChpHcmlkRmlnaHRNb25zdGVySW5mby5wcm90byJmChRHcmlkRmlnaHRNb25z",
|
|
"dGVySW5mbxISCgptb25zdGVyX2lkGAogASgNEhcKD21vbnN0ZXJfY2FtcF9p",
|
|
"ZBgHIAEoDRIMCgR0aWVyGA0gASgNEhMKC01IQklIR0hOSENGGA4gASgNQh6q",
|
|
"AhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightMonsterInfo), global::EggLink.DanhengServer.Proto.GridFightMonsterInfo.Parser, new[]{ "MonsterId", "MonsterCampId", "Tier", "MHBIHGHNHCF" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightMonsterInfo : pb::IMessage<GridFightMonsterInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightMonsterInfo> _parser = new pb::MessageParser<GridFightMonsterInfo>(() => new GridFightMonsterInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightMonsterInfo> 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.GridFightMonsterInfoReflection.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 GridFightMonsterInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightMonsterInfo(GridFightMonsterInfo other) : this() {
|
|
monsterId_ = other.monsterId_;
|
|
monsterCampId_ = other.monsterCampId_;
|
|
tier_ = other.tier_;
|
|
mHBIHGHNHCF_ = other.mHBIHGHNHCF_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightMonsterInfo Clone() {
|
|
return new GridFightMonsterInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "monster_id" field.</summary>
|
|
public const int MonsterIdFieldNumber = 10;
|
|
private uint monsterId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MonsterId {
|
|
get { return monsterId_; }
|
|
set {
|
|
monsterId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "monster_camp_id" field.</summary>
|
|
public const int MonsterCampIdFieldNumber = 7;
|
|
private uint monsterCampId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MonsterCampId {
|
|
get { return monsterCampId_; }
|
|
set {
|
|
monsterCampId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "tier" field.</summary>
|
|
public const int TierFieldNumber = 13;
|
|
private uint tier_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Tier {
|
|
get { return tier_; }
|
|
set {
|
|
tier_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MHBIHGHNHCF" field.</summary>
|
|
public const int MHBIHGHNHCFFieldNumber = 14;
|
|
private uint mHBIHGHNHCF_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MHBIHGHNHCF {
|
|
get { return mHBIHGHNHCF_; }
|
|
set {
|
|
mHBIHGHNHCF_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightMonsterInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightMonsterInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (MonsterId != other.MonsterId) return false;
|
|
if (MonsterCampId != other.MonsterCampId) return false;
|
|
if (Tier != other.Tier) return false;
|
|
if (MHBIHGHNHCF != other.MHBIHGHNHCF) 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 (MonsterId != 0) hash ^= MonsterId.GetHashCode();
|
|
if (MonsterCampId != 0) hash ^= MonsterCampId.GetHashCode();
|
|
if (Tier != 0) hash ^= Tier.GetHashCode();
|
|
if (MHBIHGHNHCF != 0) hash ^= MHBIHGHNHCF.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 (MonsterCampId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(MonsterCampId);
|
|
}
|
|
if (MonsterId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(MonsterId);
|
|
}
|
|
if (Tier != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Tier);
|
|
}
|
|
if (MHBIHGHNHCF != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(MHBIHGHNHCF);
|
|
}
|
|
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 (MonsterCampId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(MonsterCampId);
|
|
}
|
|
if (MonsterId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(MonsterId);
|
|
}
|
|
if (Tier != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Tier);
|
|
}
|
|
if (MHBIHGHNHCF != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(MHBIHGHNHCF);
|
|
}
|
|
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 (MonsterId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MonsterId);
|
|
}
|
|
if (MonsterCampId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MonsterCampId);
|
|
}
|
|
if (Tier != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tier);
|
|
}
|
|
if (MHBIHGHNHCF != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MHBIHGHNHCF);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightMonsterInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.MonsterId != 0) {
|
|
MonsterId = other.MonsterId;
|
|
}
|
|
if (other.MonsterCampId != 0) {
|
|
MonsterCampId = other.MonsterCampId;
|
|
}
|
|
if (other.Tier != 0) {
|
|
Tier = other.Tier;
|
|
}
|
|
if (other.MHBIHGHNHCF != 0) {
|
|
MHBIHGHNHCF = other.MHBIHGHNHCF;
|
|
}
|
|
_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 56: {
|
|
MonsterCampId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
MonsterId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Tier = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
MHBIHGHNHCF = 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 56: {
|
|
MonsterCampId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
MonsterId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Tier = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
MHBIHGHNHCF = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|