mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
365 lines
14 KiB
C#
365 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: PlayerHeroBasicTypeInfo.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 PlayerHeroBasicTypeInfo.proto</summary>
|
|
public static partial class PlayerHeroBasicTypeInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for PlayerHeroBasicTypeInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PlayerHeroBasicTypeInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch1QbGF5ZXJIZXJvQmFzaWNUeXBlSW5mby5wcm90bxoQRXF1aXBSZWxpYy5w",
|
|
"cm90bxoTSGVyb0Jhc2ljVHlwZS5wcm90bxoVQXZhdGFyU2tpbGxUcmVlLnBy",
|
|
"b3RvIrIBChdQbGF5ZXJIZXJvQmFzaWNUeXBlSW5mbxITCgtJR0JFQlBKSkpJ",
|
|
"SBgLIAEoDRIpCg9za2lsbF90cmVlX2xpc3QYDCADKAsyEC5BdmF0YXJTa2ls",
|
|
"bFRyZWUSIgoKYmFzaWNfdHlwZRgOIAEoDjIOLkhlcm9CYXNpY1R5cGUSJQoQ",
|
|
"ZXF1aXBfcmVsaWNfbGlzdBgHIAMoCzILLkVxdWlwUmVsaWMSDAoEcmFuaxgG",
|
|
"IAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EquipRelicReflection.Descriptor, global::EggLink.DanhengServer.Proto.HeroBasicTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.AvatarSkillTreeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PlayerHeroBasicTypeInfo), global::EggLink.DanhengServer.Proto.PlayerHeroBasicTypeInfo.Parser, new[]{ "IGBEBPJJJIH", "SkillTreeList", "BasicType", "EquipRelicList", "Rank" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PlayerHeroBasicTypeInfo : pb::IMessage<PlayerHeroBasicTypeInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PlayerHeroBasicTypeInfo> _parser = new pb::MessageParser<PlayerHeroBasicTypeInfo>(() => new PlayerHeroBasicTypeInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PlayerHeroBasicTypeInfo> 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.PlayerHeroBasicTypeInfoReflection.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 PlayerHeroBasicTypeInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerHeroBasicTypeInfo(PlayerHeroBasicTypeInfo other) : this() {
|
|
iGBEBPJJJIH_ = other.iGBEBPJJJIH_;
|
|
skillTreeList_ = other.skillTreeList_.Clone();
|
|
basicType_ = other.basicType_;
|
|
equipRelicList_ = other.equipRelicList_.Clone();
|
|
rank_ = other.rank_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerHeroBasicTypeInfo Clone() {
|
|
return new PlayerHeroBasicTypeInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "IGBEBPJJJIH" field.</summary>
|
|
public const int IGBEBPJJJIHFieldNumber = 11;
|
|
private uint iGBEBPJJJIH_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint IGBEBPJJJIH {
|
|
get { return iGBEBPJJJIH_; }
|
|
set {
|
|
iGBEBPJJJIH_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "skill_tree_list" field.</summary>
|
|
public const int SkillTreeListFieldNumber = 12;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AvatarSkillTree> _repeated_skillTreeList_codec
|
|
= pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.AvatarSkillTree.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AvatarSkillTree> skillTreeList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AvatarSkillTree>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AvatarSkillTree> SkillTreeList {
|
|
get { return skillTreeList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "basic_type" field.</summary>
|
|
public const int BasicTypeFieldNumber = 14;
|
|
private global::EggLink.DanhengServer.Proto.HeroBasicType basicType_ = global::EggLink.DanhengServer.Proto.HeroBasicType.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.HeroBasicType BasicType {
|
|
get { return basicType_; }
|
|
set {
|
|
basicType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "equip_relic_list" field.</summary>
|
|
public const int EquipRelicListFieldNumber = 7;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.EquipRelic> _repeated_equipRelicList_codec
|
|
= pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.EquipRelic.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EquipRelic> equipRelicList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EquipRelic>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EquipRelic> EquipRelicList {
|
|
get { return equipRelicList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "rank" field.</summary>
|
|
public const int RankFieldNumber = 6;
|
|
private uint rank_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Rank {
|
|
get { return rank_; }
|
|
set {
|
|
rank_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayerHeroBasicTypeInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PlayerHeroBasicTypeInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (IGBEBPJJJIH != other.IGBEBPJJJIH) return false;
|
|
if(!skillTreeList_.Equals(other.skillTreeList_)) return false;
|
|
if (BasicType != other.BasicType) return false;
|
|
if(!equipRelicList_.Equals(other.equipRelicList_)) return false;
|
|
if (Rank != other.Rank) 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 (IGBEBPJJJIH != 0) hash ^= IGBEBPJJJIH.GetHashCode();
|
|
hash ^= skillTreeList_.GetHashCode();
|
|
if (BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) hash ^= BasicType.GetHashCode();
|
|
hash ^= equipRelicList_.GetHashCode();
|
|
if (Rank != 0) hash ^= Rank.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 (Rank != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Rank);
|
|
}
|
|
equipRelicList_.WriteTo(output, _repeated_equipRelicList_codec);
|
|
if (IGBEBPJJJIH != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(IGBEBPJJJIH);
|
|
}
|
|
skillTreeList_.WriteTo(output, _repeated_skillTreeList_codec);
|
|
if (BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) BasicType);
|
|
}
|
|
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 (Rank != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Rank);
|
|
}
|
|
equipRelicList_.WriteTo(ref output, _repeated_equipRelicList_codec);
|
|
if (IGBEBPJJJIH != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(IGBEBPJJJIH);
|
|
}
|
|
skillTreeList_.WriteTo(ref output, _repeated_skillTreeList_codec);
|
|
if (BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) BasicType);
|
|
}
|
|
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 (IGBEBPJJJIH != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IGBEBPJJJIH);
|
|
}
|
|
size += skillTreeList_.CalculateSize(_repeated_skillTreeList_codec);
|
|
if (BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BasicType);
|
|
}
|
|
size += equipRelicList_.CalculateSize(_repeated_equipRelicList_codec);
|
|
if (Rank != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PlayerHeroBasicTypeInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.IGBEBPJJJIH != 0) {
|
|
IGBEBPJJJIH = other.IGBEBPJJJIH;
|
|
}
|
|
skillTreeList_.Add(other.skillTreeList_);
|
|
if (other.BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) {
|
|
BasicType = other.BasicType;
|
|
}
|
|
equipRelicList_.Add(other.equipRelicList_);
|
|
if (other.Rank != 0) {
|
|
Rank = other.Rank;
|
|
}
|
|
_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 48: {
|
|
Rank = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 58: {
|
|
equipRelicList_.AddEntriesFrom(input, _repeated_equipRelicList_codec);
|
|
break;
|
|
}
|
|
case 88: {
|
|
IGBEBPJJJIH = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
skillTreeList_.AddEntriesFrom(input, _repeated_skillTreeList_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
BasicType = (global::EggLink.DanhengServer.Proto.HeroBasicType) input.ReadEnum();
|
|
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 48: {
|
|
Rank = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 58: {
|
|
equipRelicList_.AddEntriesFrom(ref input, _repeated_equipRelicList_codec);
|
|
break;
|
|
}
|
|
case 88: {
|
|
IGBEBPJJJIH = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
skillTreeList_.AddEntriesFrom(ref input, _repeated_skillTreeList_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
BasicType = (global::EggLink.DanhengServer.Proto.HeroBasicType) input.ReadEnum();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|