mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
618 lines
22 KiB
C#
618 lines
22 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: Avatar.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 Avatar.proto</summary>
|
|
public static partial class AvatarReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for Avatar.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static AvatarReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CgxBdmF0YXIucHJvdG8aEEVxdWlwUmVsaWMucHJvdG8aFUF2YXRhclNraWxs",
|
|
"VHJlZS5wcm90byK+AgoGQXZhdGFyEgwKBHJhbmsYASABKA0SEQoJcHJvbW90",
|
|
"aW9uGAwgASgNEhwKFGZpcnN0X21ldF90aW1lX3N0YW1wGAggASgEEhsKE2Vx",
|
|
"dWlwbWVudF91bmlxdWVfaWQYByABKA0SCwoDZXhwGA8gASgNEiUKEGVxdWlw",
|
|
"X3JlbGljX2xpc3QYDiADKAsyCy5FcXVpcFJlbGljEhYKDmJhc2VfYXZhdGFy",
|
|
"X2lkGA0gASgNEhEKCWlzX21hcmtlZBgDIAEoCBIoCg5za2lsbHRyZWVfbGlz",
|
|
"dBgJIAMoCzIQLkF2YXRhclNraWxsVHJlZRInCh9oYXNfdGFrZW5fcHJvbW90",
|
|
"aW9uX3Jld2FyZF9saXN0GAsgAygNEg0KBWxldmVsGAUgASgNEhcKD2RyZXNz",
|
|
"ZWRfc2tpbl9pZBgGIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
|
|
"b3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EquipRelicReflection.Descriptor, global::EggLink.DanhengServer.Proto.AvatarSkillTreeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.Avatar), global::EggLink.DanhengServer.Proto.Avatar.Parser, new[]{ "Rank", "Promotion", "FirstMetTimeStamp", "EquipmentUniqueId", "Exp", "EquipRelicList", "BaseAvatarId", "IsMarked", "SkilltreeList", "HasTakenPromotionRewardList", "Level", "DressedSkinId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class Avatar : pb::IMessage<Avatar>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<Avatar> _parser = new pb::MessageParser<Avatar>(() => new Avatar());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<Avatar> 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.AvatarReflection.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 Avatar() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public Avatar(Avatar other) : this() {
|
|
rank_ = other.rank_;
|
|
promotion_ = other.promotion_;
|
|
firstMetTimeStamp_ = other.firstMetTimeStamp_;
|
|
equipmentUniqueId_ = other.equipmentUniqueId_;
|
|
exp_ = other.exp_;
|
|
equipRelicList_ = other.equipRelicList_.Clone();
|
|
baseAvatarId_ = other.baseAvatarId_;
|
|
isMarked_ = other.isMarked_;
|
|
skilltreeList_ = other.skilltreeList_.Clone();
|
|
hasTakenPromotionRewardList_ = other.hasTakenPromotionRewardList_.Clone();
|
|
level_ = other.level_;
|
|
dressedSkinId_ = other.dressedSkinId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public Avatar Clone() {
|
|
return new Avatar(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "rank" field.</summary>
|
|
public const int RankFieldNumber = 1;
|
|
private uint rank_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Rank {
|
|
get { return rank_; }
|
|
set {
|
|
rank_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "promotion" field.</summary>
|
|
public const int PromotionFieldNumber = 12;
|
|
private uint promotion_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Promotion {
|
|
get { return promotion_; }
|
|
set {
|
|
promotion_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "first_met_time_stamp" field.</summary>
|
|
public const int FirstMetTimeStampFieldNumber = 8;
|
|
private ulong firstMetTimeStamp_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ulong FirstMetTimeStamp {
|
|
get { return firstMetTimeStamp_; }
|
|
set {
|
|
firstMetTimeStamp_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "equipment_unique_id" field.</summary>
|
|
public const int EquipmentUniqueIdFieldNumber = 7;
|
|
private uint equipmentUniqueId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint EquipmentUniqueId {
|
|
get { return equipmentUniqueId_; }
|
|
set {
|
|
equipmentUniqueId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "exp" field.</summary>
|
|
public const int ExpFieldNumber = 15;
|
|
private uint exp_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Exp {
|
|
get { return exp_; }
|
|
set {
|
|
exp_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "equip_relic_list" field.</summary>
|
|
public const int EquipRelicListFieldNumber = 14;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.EquipRelic> _repeated_equipRelicList_codec
|
|
= pb::FieldCodec.ForMessage(114, 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 "base_avatar_id" field.</summary>
|
|
public const int BaseAvatarIdFieldNumber = 13;
|
|
private uint baseAvatarId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BaseAvatarId {
|
|
get { return baseAvatarId_; }
|
|
set {
|
|
baseAvatarId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_marked" field.</summary>
|
|
public const int IsMarkedFieldNumber = 3;
|
|
private bool isMarked_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsMarked {
|
|
get { return isMarked_; }
|
|
set {
|
|
isMarked_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "skilltree_list" field.</summary>
|
|
public const int SkilltreeListFieldNumber = 9;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AvatarSkillTree> _repeated_skilltreeList_codec
|
|
= pb::FieldCodec.ForMessage(74, 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 "has_taken_promotion_reward_list" field.</summary>
|
|
public const int HasTakenPromotionRewardListFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<uint> _repeated_hasTakenPromotionRewardList_codec
|
|
= pb::FieldCodec.ForUInt32(90);
|
|
private readonly pbc::RepeatedField<uint> hasTakenPromotionRewardList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> HasTakenPromotionRewardList {
|
|
get { return hasTakenPromotionRewardList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "level" field.</summary>
|
|
public const int LevelFieldNumber = 5;
|
|
private uint level_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Level {
|
|
get { return level_; }
|
|
set {
|
|
level_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "dressed_skin_id" field.</summary>
|
|
public const int DressedSkinIdFieldNumber = 6;
|
|
private uint dressedSkinId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint DressedSkinId {
|
|
get { return dressedSkinId_; }
|
|
set {
|
|
dressedSkinId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as Avatar);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(Avatar other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Rank != other.Rank) return false;
|
|
if (Promotion != other.Promotion) return false;
|
|
if (FirstMetTimeStamp != other.FirstMetTimeStamp) return false;
|
|
if (EquipmentUniqueId != other.EquipmentUniqueId) return false;
|
|
if (Exp != other.Exp) return false;
|
|
if(!equipRelicList_.Equals(other.equipRelicList_)) return false;
|
|
if (BaseAvatarId != other.BaseAvatarId) return false;
|
|
if (IsMarked != other.IsMarked) return false;
|
|
if(!skilltreeList_.Equals(other.skilltreeList_)) return false;
|
|
if(!hasTakenPromotionRewardList_.Equals(other.hasTakenPromotionRewardList_)) return false;
|
|
if (Level != other.Level) return false;
|
|
if (DressedSkinId != other.DressedSkinId) 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 (Rank != 0) hash ^= Rank.GetHashCode();
|
|
if (Promotion != 0) hash ^= Promotion.GetHashCode();
|
|
if (FirstMetTimeStamp != 0UL) hash ^= FirstMetTimeStamp.GetHashCode();
|
|
if (EquipmentUniqueId != 0) hash ^= EquipmentUniqueId.GetHashCode();
|
|
if (Exp != 0) hash ^= Exp.GetHashCode();
|
|
hash ^= equipRelicList_.GetHashCode();
|
|
if (BaseAvatarId != 0) hash ^= BaseAvatarId.GetHashCode();
|
|
if (IsMarked != false) hash ^= IsMarked.GetHashCode();
|
|
hash ^= skilltreeList_.GetHashCode();
|
|
hash ^= hasTakenPromotionRewardList_.GetHashCode();
|
|
if (Level != 0) hash ^= Level.GetHashCode();
|
|
if (DressedSkinId != 0) hash ^= DressedSkinId.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(8);
|
|
output.WriteUInt32(Rank);
|
|
}
|
|
if (IsMarked != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsMarked);
|
|
}
|
|
if (Level != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Level);
|
|
}
|
|
if (DressedSkinId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(DressedSkinId);
|
|
}
|
|
if (EquipmentUniqueId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(EquipmentUniqueId);
|
|
}
|
|
if (FirstMetTimeStamp != 0UL) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt64(FirstMetTimeStamp);
|
|
}
|
|
skilltreeList_.WriteTo(output, _repeated_skilltreeList_codec);
|
|
hasTakenPromotionRewardList_.WriteTo(output, _repeated_hasTakenPromotionRewardList_codec);
|
|
if (Promotion != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(Promotion);
|
|
}
|
|
if (BaseAvatarId != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(BaseAvatarId);
|
|
}
|
|
equipRelicList_.WriteTo(output, _repeated_equipRelicList_codec);
|
|
if (Exp != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Exp);
|
|
}
|
|
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(8);
|
|
output.WriteUInt32(Rank);
|
|
}
|
|
if (IsMarked != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsMarked);
|
|
}
|
|
if (Level != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Level);
|
|
}
|
|
if (DressedSkinId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(DressedSkinId);
|
|
}
|
|
if (EquipmentUniqueId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(EquipmentUniqueId);
|
|
}
|
|
if (FirstMetTimeStamp != 0UL) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt64(FirstMetTimeStamp);
|
|
}
|
|
skilltreeList_.WriteTo(ref output, _repeated_skilltreeList_codec);
|
|
hasTakenPromotionRewardList_.WriteTo(ref output, _repeated_hasTakenPromotionRewardList_codec);
|
|
if (Promotion != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(Promotion);
|
|
}
|
|
if (BaseAvatarId != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(BaseAvatarId);
|
|
}
|
|
equipRelicList_.WriteTo(ref output, _repeated_equipRelicList_codec);
|
|
if (Exp != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Exp);
|
|
}
|
|
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 (Rank != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank);
|
|
}
|
|
if (Promotion != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
|
|
}
|
|
if (FirstMetTimeStamp != 0UL) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(FirstMetTimeStamp);
|
|
}
|
|
if (EquipmentUniqueId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EquipmentUniqueId);
|
|
}
|
|
if (Exp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
|
|
}
|
|
size += equipRelicList_.CalculateSize(_repeated_equipRelicList_codec);
|
|
if (BaseAvatarId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BaseAvatarId);
|
|
}
|
|
if (IsMarked != false) {
|
|
size += 1 + 1;
|
|
}
|
|
size += skilltreeList_.CalculateSize(_repeated_skilltreeList_codec);
|
|
size += hasTakenPromotionRewardList_.CalculateSize(_repeated_hasTakenPromotionRewardList_codec);
|
|
if (Level != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
|
|
}
|
|
if (DressedSkinId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DressedSkinId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(Avatar other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Rank != 0) {
|
|
Rank = other.Rank;
|
|
}
|
|
if (other.Promotion != 0) {
|
|
Promotion = other.Promotion;
|
|
}
|
|
if (other.FirstMetTimeStamp != 0UL) {
|
|
FirstMetTimeStamp = other.FirstMetTimeStamp;
|
|
}
|
|
if (other.EquipmentUniqueId != 0) {
|
|
EquipmentUniqueId = other.EquipmentUniqueId;
|
|
}
|
|
if (other.Exp != 0) {
|
|
Exp = other.Exp;
|
|
}
|
|
equipRelicList_.Add(other.equipRelicList_);
|
|
if (other.BaseAvatarId != 0) {
|
|
BaseAvatarId = other.BaseAvatarId;
|
|
}
|
|
if (other.IsMarked != false) {
|
|
IsMarked = other.IsMarked;
|
|
}
|
|
skilltreeList_.Add(other.skilltreeList_);
|
|
hasTakenPromotionRewardList_.Add(other.hasTakenPromotionRewardList_);
|
|
if (other.Level != 0) {
|
|
Level = other.Level;
|
|
}
|
|
if (other.DressedSkinId != 0) {
|
|
DressedSkinId = other.DressedSkinId;
|
|
}
|
|
_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: {
|
|
Rank = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsMarked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Level = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
DressedSkinId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
EquipmentUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
FirstMetTimeStamp = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 74: {
|
|
skilltreeList_.AddEntriesFrom(input, _repeated_skilltreeList_codec);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
hasTakenPromotionRewardList_.AddEntriesFrom(input, _repeated_hasTakenPromotionRewardList_codec);
|
|
break;
|
|
}
|
|
case 96: {
|
|
Promotion = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
BaseAvatarId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114: {
|
|
equipRelicList_.AddEntriesFrom(input, _repeated_equipRelicList_codec);
|
|
break;
|
|
}
|
|
case 120: {
|
|
Exp = 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: {
|
|
Rank = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsMarked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Level = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
DressedSkinId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
EquipmentUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
FirstMetTimeStamp = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 74: {
|
|
skilltreeList_.AddEntriesFrom(ref input, _repeated_skilltreeList_codec);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
hasTakenPromotionRewardList_.AddEntriesFrom(ref input, _repeated_hasTakenPromotionRewardList_codec);
|
|
break;
|
|
}
|
|
case 96: {
|
|
Promotion = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
BaseAvatarId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114: {
|
|
equipRelicList_.AddEntriesFrom(ref input, _repeated_equipRelicList_codec);
|
|
break;
|
|
}
|
|
case 120: {
|
|
Exp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|