Files
Novaria/Novaria.Common/Protos/PlayerData.cs
2025-01-11 10:23:59 -05:00

2949 lines
107 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: player_data.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 Proto {
/// <summary>Holder for reflection information generated from player_data.proto</summary>
public static partial class PlayerDataReflection {
#region Descriptor
/// <summary>File descriptor for player_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static PlayerDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFwbGF5ZXJfZGF0YS5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byLeCQoK",
"UGxheWVySW5mbxIbCgNBY2MYASABKAsyDi5wcm90by5BY2NJbmZvEhcKA1Jl",
"cxgCIAMoCzIKLnByb3RvLlJlcxIaCgVJdGVtcxgDIAMoCzILLnByb3RvLkl0",
"ZW0SGgoFQ2hhcnMYBCADKAsyCy5wcm90by5DaGFyEigKCUZvcm1hdGlvbhgF",
"IAEoCzIVLnByb3RvLlRvd2VyRm9ybWF0aW9uEhsKE1N0YXJUb3dlclJhbmtU",
"aWNrZXQYBiABKA0SIQoGRW5lcmd5GAcgASgLMhEucHJvdG8uRW5lcmd5SW5m",
"bxIpCgpXb3JsZENsYXNzGAggASgLMhUucHJvdG8uV29ybGRDbGFzc0luZm8S",
"HwoFQWdlbnQYCSABKAsyEC5wcm90by5BZ2VudERhdGESFAoMUmdsUGFzc2Vk",
"SWRzGAogAygNEigKCkVxdWlwbWVudHMYCyADKAsyFC5wcm90by5FcXVpcG1l",
"bnRJbmZvEjAKEFJlZ2lvbkJvc3NMZXZlbHMYDCADKAsyFi5wcm90by5SZWdp",
"b25Cb3NzTGV2ZWwSHQoGUXVlc3RzGA0gASgLMg0ucHJvdG8uUXVlc3RzEh8K",
"BVN0YXRlGA4gASgLMhAucHJvdG8uU3RhdGVJbmZvEhMKC1NlbmRHaWZ0Q250",
"GA8gASgNEg0KBUJvYXJkGBAgAygNEhUKDURhdGluZ0NoYXJJZHMYESADKA0S",
"FAoMQWNoaWV2ZW1lbnRzGBIgASgMEiUKCEhhbmRib29rGBMgAygLMhMucHJv",
"dG8uSGFuZGJvb2tJbmZvEhMKC1NpZ25pbkluZGV4GBQgASgNEhwKBlRpdGxl",
"cxgVIAMoCzIMLnByb3RvLlRpdGxlEiwKDkRhaWx5SW5zdGFuY2VzGBYgAygL",
"MhQucHJvdG8uRGFpbHlJbnN0YW5jZRIqCgxEaWN0aW9uYXJpZXMYFyADKAsy",
"FC5wcm90by5EaWN0aW9uYXJ5VGFiEiMKCkFjdGl2aXRpZXMYGCADKAsyDy5w",
"cm90by5BY3Rpdml0eRIfCgVQaG9uZRgZIAEoCzIQLnByb3RvLlBob25lSW5m",
"bxIXCg9UYWxlbnRSZXNldFRpbWUYGiABKAMSHAoURXF1aXBtZW50RG91Ymxl",
"Q291bnQYGyABKA0SGgoFRGlzY3MYHCADKAsyCy5wcm90by5EaXNjEjQKEkVx",
"dWlwbWVudEluc3RhbmNlcxgdIAMoCzIYLnByb3RvLkVxdWlwbWVudEluc3Rh",
"bmNlEh8KBVN0b3J5GB4gASgLMhAucHJvdG8uU3RvcnlJbmZvEj8KFVZhbXBp",
"cmVTdXJ2aXZvclJlY29yZBgfIAEoCzIgLnByb3RvLlZhbXBpcmVTdXJ2aXZv",
"clJlY29yZEluZm8SFgoORGFpbHlBY3RpdmVJZHMYICADKA0SGwoTVG91ckd1",
"aWRlUXVlc3RHcm91cBghIAEoDRIRCglIb25vckxpc3QYeyADKA0SIAoGSG9u",
"b3JzGHwgAygLMhAucHJvdG8uSG9ub3JJbmZvEh0KFURhaWx5U2hvcFJld2Fy",
"ZFN0YXR1cxh9IAEoCBITCgtUb3dlclRpY2tldBh+IAEoDRIQCghTZXJ2ZXJU",
"cxh/IAEoAxIUCgtOZXh0UGFja2FnZRj/DyABKAwiTgoJUGhvbmVJbmZvEhIK",
"Ck5ld01lc3NhZ2UYASABKA0SFwoPUHJvZ3Jlc3NNZXNzYWdlGAIgASgNEhQK",
"C05leHRQYWNrYWdlGP8PIAEoDCJGCg9EaWN0aW9uYXJ5RW50cnkSDQoFSW5k",
"ZXgYASABKA0SDgoGU3RhdHVzGAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEo",
"DCJdCg1EaWN0aW9uYXJ5VGFiEg0KBVRhYklkGAEgASgNEicKB0VudHJpZXMY",
"AiADKAsyFi5wcm90by5EaWN0aW9uYXJ5RW50cnkSFAoLTmV4dFBhY2thZ2UY",
"/w8gASgMIlAKCkVuZXJneUluZm8SHQoGRW5lcmd5GAEgASgLMg0ucHJvdG8u",
"RW5lcmd5Eg0KBUNvdW50GAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCJE",
"Cg5Xb3JsZENsYXNzSW5mbxILCgNDdXIYASABKA0SDwoHTGFzdEV4cBgCIAEo",
"BRIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerInfo), global::Proto.PlayerInfo.Parser, new[]{ "Acc", "Res", "Items", "Chars", "Formation", "StarTowerRankTicket", "Energy", "WorldClass", "Agent", "RglPassedIds", "Equipments", "RegionBossLevels", "Quests", "State", "SendGiftCnt", "Board", "DatingCharIds", "Achievements", "Handbook", "SigninIndex", "Titles", "DailyInstances", "Dictionaries", "Activities", "Phone", "TalentResetTime", "EquipmentDoubleCount", "Discs", "EquipmentInstances", "Story", "VampireSurvivorRecord", "DailyActiveIds", "TourGuideQuestGroup", "HonorList", "Honors", "DailyShopRewardStatus", "TowerTicket", "ServerTs", "NextPackage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PhoneInfo), global::Proto.PhoneInfo.Parser, new[]{ "NewMessage", "ProgressMessage", "NextPackage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DictionaryEntry), global::Proto.DictionaryEntry.Parser, new[]{ "Index", "Status", "NextPackage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DictionaryTab), global::Proto.DictionaryTab.Parser, new[]{ "TabId", "Entries", "NextPackage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EnergyInfo), global::Proto.EnergyInfo.Parser, new[]{ "Energy", "Count", "NextPackage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.WorldClassInfo), global::Proto.WorldClassInfo.Parser, new[]{ "Cur", "LastExp", "NextPackage" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PlayerInfo : pb::IMessage<PlayerInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PlayerInfo> _parser = new pb::MessageParser<PlayerInfo>(() => new PlayerInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PlayerInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Proto.PlayerDataReflection.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 PlayerInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerInfo(PlayerInfo other) : this() {
acc_ = other.acc_ != null ? other.acc_.Clone() : null;
res_ = other.res_.Clone();
items_ = other.items_.Clone();
chars_ = other.chars_.Clone();
formation_ = other.formation_ != null ? other.formation_.Clone() : null;
starTowerRankTicket_ = other.starTowerRankTicket_;
energy_ = other.energy_ != null ? other.energy_.Clone() : null;
worldClass_ = other.worldClass_ != null ? other.worldClass_.Clone() : null;
agent_ = other.agent_ != null ? other.agent_.Clone() : null;
rglPassedIds_ = other.rglPassedIds_.Clone();
equipments_ = other.equipments_.Clone();
regionBossLevels_ = other.regionBossLevels_.Clone();
quests_ = other.quests_ != null ? other.quests_.Clone() : null;
state_ = other.state_ != null ? other.state_.Clone() : null;
sendGiftCnt_ = other.sendGiftCnt_;
board_ = other.board_.Clone();
datingCharIds_ = other.datingCharIds_.Clone();
achievements_ = other.achievements_;
handbook_ = other.handbook_.Clone();
signinIndex_ = other.signinIndex_;
titles_ = other.titles_.Clone();
dailyInstances_ = other.dailyInstances_.Clone();
dictionaries_ = other.dictionaries_.Clone();
activities_ = other.activities_.Clone();
phone_ = other.phone_ != null ? other.phone_.Clone() : null;
talentResetTime_ = other.talentResetTime_;
equipmentDoubleCount_ = other.equipmentDoubleCount_;
discs_ = other.discs_.Clone();
equipmentInstances_ = other.equipmentInstances_.Clone();
story_ = other.story_ != null ? other.story_.Clone() : null;
vampireSurvivorRecord_ = other.vampireSurvivorRecord_ != null ? other.vampireSurvivorRecord_.Clone() : null;
dailyActiveIds_ = other.dailyActiveIds_.Clone();
tourGuideQuestGroup_ = other.tourGuideQuestGroup_;
honorList_ = other.honorList_.Clone();
honors_ = other.honors_.Clone();
dailyShopRewardStatus_ = other.dailyShopRewardStatus_;
towerTicket_ = other.towerTicket_;
serverTs_ = other.serverTs_;
nextPackage_ = other.nextPackage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerInfo Clone() {
return new PlayerInfo(this);
}
/// <summary>Field number for the "Acc" field.</summary>
public const int AccFieldNumber = 1;
private global::Proto.AccInfo acc_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.AccInfo Acc {
get { return acc_; }
set {
acc_ = value;
}
}
/// <summary>Field number for the "Res" field.</summary>
public const int ResFieldNumber = 2;
private static readonly pb::FieldCodec<global::Proto.Res> _repeated_res_codec
= pb::FieldCodec.ForMessage(18, global::Proto.Res.Parser);
private readonly pbc::RepeatedField<global::Proto.Res> res_ = new pbc::RepeatedField<global::Proto.Res>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.Res> Res {
get { return res_; }
}
/// <summary>Field number for the "Items" field.</summary>
public const int ItemsFieldNumber = 3;
private static readonly pb::FieldCodec<global::Proto.Item> _repeated_items_codec
= pb::FieldCodec.ForMessage(26, global::Proto.Item.Parser);
private readonly pbc::RepeatedField<global::Proto.Item> items_ = new pbc::RepeatedField<global::Proto.Item>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.Item> Items {
get { return items_; }
}
/// <summary>Field number for the "Chars" field.</summary>
public const int CharsFieldNumber = 4;
private static readonly pb::FieldCodec<global::Proto.Char> _repeated_chars_codec
= pb::FieldCodec.ForMessage(34, global::Proto.Char.Parser);
private readonly pbc::RepeatedField<global::Proto.Char> chars_ = new pbc::RepeatedField<global::Proto.Char>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.Char> Chars {
get { return chars_; }
}
/// <summary>Field number for the "Formation" field.</summary>
public const int FormationFieldNumber = 5;
private global::Proto.TowerFormation formation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.TowerFormation Formation {
get { return formation_; }
set {
formation_ = value;
}
}
/// <summary>Field number for the "StarTowerRankTicket" field.</summary>
public const int StarTowerRankTicketFieldNumber = 6;
private uint starTowerRankTicket_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint StarTowerRankTicket {
get { return starTowerRankTicket_; }
set {
starTowerRankTicket_ = value;
}
}
/// <summary>Field number for the "Energy" field.</summary>
public const int EnergyFieldNumber = 7;
private global::Proto.EnergyInfo energy_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.EnergyInfo Energy {
get { return energy_; }
set {
energy_ = value;
}
}
/// <summary>Field number for the "WorldClass" field.</summary>
public const int WorldClassFieldNumber = 8;
private global::Proto.WorldClassInfo worldClass_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.WorldClassInfo WorldClass {
get { return worldClass_; }
set {
worldClass_ = value;
}
}
/// <summary>Field number for the "Agent" field.</summary>
public const int AgentFieldNumber = 9;
private global::Proto.AgentData agent_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.AgentData Agent {
get { return agent_; }
set {
agent_ = value;
}
}
/// <summary>Field number for the "RglPassedIds" field.</summary>
public const int RglPassedIdsFieldNumber = 10;
private static readonly pb::FieldCodec<uint> _repeated_rglPassedIds_codec
= pb::FieldCodec.ForUInt32(82);
private readonly pbc::RepeatedField<uint> rglPassedIds_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> RglPassedIds {
get { return rglPassedIds_; }
}
/// <summary>Field number for the "Equipments" field.</summary>
public const int EquipmentsFieldNumber = 11;
private static readonly pb::FieldCodec<global::Proto.EquipmentInfo> _repeated_equipments_codec
= pb::FieldCodec.ForMessage(90, global::Proto.EquipmentInfo.Parser);
private readonly pbc::RepeatedField<global::Proto.EquipmentInfo> equipments_ = new pbc::RepeatedField<global::Proto.EquipmentInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.EquipmentInfo> Equipments {
get { return equipments_; }
}
/// <summary>Field number for the "RegionBossLevels" field.</summary>
public const int RegionBossLevelsFieldNumber = 12;
private static readonly pb::FieldCodec<global::Proto.RegionBossLevel> _repeated_regionBossLevels_codec
= pb::FieldCodec.ForMessage(98, global::Proto.RegionBossLevel.Parser);
private readonly pbc::RepeatedField<global::Proto.RegionBossLevel> regionBossLevels_ = new pbc::RepeatedField<global::Proto.RegionBossLevel>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.RegionBossLevel> RegionBossLevels {
get { return regionBossLevels_; }
}
/// <summary>Field number for the "Quests" field.</summary>
public const int QuestsFieldNumber = 13;
private global::Proto.Quests quests_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.Quests Quests {
get { return quests_; }
set {
quests_ = value;
}
}
/// <summary>Field number for the "State" field.</summary>
public const int StateFieldNumber = 14;
private global::Proto.StateInfo state_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.StateInfo State {
get { return state_; }
set {
state_ = value;
}
}
/// <summary>Field number for the "SendGiftCnt" field.</summary>
public const int SendGiftCntFieldNumber = 15;
private uint sendGiftCnt_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SendGiftCnt {
get { return sendGiftCnt_; }
set {
sendGiftCnt_ = value;
}
}
/// <summary>Field number for the "Board" field.</summary>
public const int BoardFieldNumber = 16;
private static readonly pb::FieldCodec<uint> _repeated_board_codec
= pb::FieldCodec.ForUInt32(130);
private readonly pbc::RepeatedField<uint> board_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> Board {
get { return board_; }
}
/// <summary>Field number for the "DatingCharIds" field.</summary>
public const int DatingCharIdsFieldNumber = 17;
private static readonly pb::FieldCodec<uint> _repeated_datingCharIds_codec
= pb::FieldCodec.ForUInt32(138);
private readonly pbc::RepeatedField<uint> datingCharIds_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> DatingCharIds {
get { return datingCharIds_; }
}
/// <summary>Field number for the "Achievements" field.</summary>
public const int AchievementsFieldNumber = 18;
private pb::ByteString achievements_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString Achievements {
get { return achievements_; }
set {
achievements_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Handbook" field.</summary>
public const int HandbookFieldNumber = 19;
private static readonly pb::FieldCodec<global::Proto.HandbookInfo> _repeated_handbook_codec
= pb::FieldCodec.ForMessage(154, global::Proto.HandbookInfo.Parser);
private readonly pbc::RepeatedField<global::Proto.HandbookInfo> handbook_ = new pbc::RepeatedField<global::Proto.HandbookInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.HandbookInfo> Handbook {
get { return handbook_; }
}
/// <summary>Field number for the "SigninIndex" field.</summary>
public const int SigninIndexFieldNumber = 20;
private uint signinIndex_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SigninIndex {
get { return signinIndex_; }
set {
signinIndex_ = value;
}
}
/// <summary>Field number for the "Titles" field.</summary>
public const int TitlesFieldNumber = 21;
private static readonly pb::FieldCodec<global::Proto.Title> _repeated_titles_codec
= pb::FieldCodec.ForMessage(170, global::Proto.Title.Parser);
private readonly pbc::RepeatedField<global::Proto.Title> titles_ = new pbc::RepeatedField<global::Proto.Title>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.Title> Titles {
get { return titles_; }
}
/// <summary>Field number for the "DailyInstances" field.</summary>
public const int DailyInstancesFieldNumber = 22;
private static readonly pb::FieldCodec<global::Proto.DailyInstance> _repeated_dailyInstances_codec
= pb::FieldCodec.ForMessage(178, global::Proto.DailyInstance.Parser);
private readonly pbc::RepeatedField<global::Proto.DailyInstance> dailyInstances_ = new pbc::RepeatedField<global::Proto.DailyInstance>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.DailyInstance> DailyInstances {
get { return dailyInstances_; }
}
/// <summary>Field number for the "Dictionaries" field.</summary>
public const int DictionariesFieldNumber = 23;
private static readonly pb::FieldCodec<global::Proto.DictionaryTab> _repeated_dictionaries_codec
= pb::FieldCodec.ForMessage(186, global::Proto.DictionaryTab.Parser);
private readonly pbc::RepeatedField<global::Proto.DictionaryTab> dictionaries_ = new pbc::RepeatedField<global::Proto.DictionaryTab>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.DictionaryTab> Dictionaries {
get { return dictionaries_; }
}
/// <summary>Field number for the "Activities" field.</summary>
public const int ActivitiesFieldNumber = 24;
private static readonly pb::FieldCodec<global::Proto.Activity> _repeated_activities_codec
= pb::FieldCodec.ForMessage(194, global::Proto.Activity.Parser);
private readonly pbc::RepeatedField<global::Proto.Activity> activities_ = new pbc::RepeatedField<global::Proto.Activity>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.Activity> Activities {
get { return activities_; }
}
/// <summary>Field number for the "Phone" field.</summary>
public const int PhoneFieldNumber = 25;
private global::Proto.PhoneInfo phone_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.PhoneInfo Phone {
get { return phone_; }
set {
phone_ = value;
}
}
/// <summary>Field number for the "TalentResetTime" field.</summary>
public const int TalentResetTimeFieldNumber = 26;
private long talentResetTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long TalentResetTime {
get { return talentResetTime_; }
set {
talentResetTime_ = value;
}
}
/// <summary>Field number for the "EquipmentDoubleCount" field.</summary>
public const int EquipmentDoubleCountFieldNumber = 27;
private uint equipmentDoubleCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EquipmentDoubleCount {
get { return equipmentDoubleCount_; }
set {
equipmentDoubleCount_ = value;
}
}
/// <summary>Field number for the "Discs" field.</summary>
public const int DiscsFieldNumber = 28;
private static readonly pb::FieldCodec<global::Proto.Disc> _repeated_discs_codec
= pb::FieldCodec.ForMessage(226, global::Proto.Disc.Parser);
private readonly pbc::RepeatedField<global::Proto.Disc> discs_ = new pbc::RepeatedField<global::Proto.Disc>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.Disc> Discs {
get { return discs_; }
}
/// <summary>Field number for the "EquipmentInstances" field.</summary>
public const int EquipmentInstancesFieldNumber = 29;
private static readonly pb::FieldCodec<global::Proto.EquipmentInstance> _repeated_equipmentInstances_codec
= pb::FieldCodec.ForMessage(234, global::Proto.EquipmentInstance.Parser);
private readonly pbc::RepeatedField<global::Proto.EquipmentInstance> equipmentInstances_ = new pbc::RepeatedField<global::Proto.EquipmentInstance>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.EquipmentInstance> EquipmentInstances {
get { return equipmentInstances_; }
}
/// <summary>Field number for the "Story" field.</summary>
public const int StoryFieldNumber = 30;
private global::Proto.StoryInfo story_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.StoryInfo Story {
get { return story_; }
set {
story_ = value;
}
}
/// <summary>Field number for the "VampireSurvivorRecord" field.</summary>
public const int VampireSurvivorRecordFieldNumber = 31;
private global::Proto.VampireSurvivorRecordInfo vampireSurvivorRecord_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.VampireSurvivorRecordInfo VampireSurvivorRecord {
get { return vampireSurvivorRecord_; }
set {
vampireSurvivorRecord_ = value;
}
}
/// <summary>Field number for the "DailyActiveIds" field.</summary>
public const int DailyActiveIdsFieldNumber = 32;
private static readonly pb::FieldCodec<uint> _repeated_dailyActiveIds_codec
= pb::FieldCodec.ForUInt32(258);
private readonly pbc::RepeatedField<uint> dailyActiveIds_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> DailyActiveIds {
get { return dailyActiveIds_; }
}
/// <summary>Field number for the "TourGuideQuestGroup" field.</summary>
public const int TourGuideQuestGroupFieldNumber = 33;
private uint tourGuideQuestGroup_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TourGuideQuestGroup {
get { return tourGuideQuestGroup_; }
set {
tourGuideQuestGroup_ = value;
}
}
/// <summary>Field number for the "HonorList" field.</summary>
public const int HonorListFieldNumber = 123;
private static readonly pb::FieldCodec<uint> _repeated_honorList_codec
= pb::FieldCodec.ForUInt32(986);
private readonly pbc::RepeatedField<uint> honorList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> HonorList {
get { return honorList_; }
}
/// <summary>Field number for the "Honors" field.</summary>
public const int HonorsFieldNumber = 124;
private static readonly pb::FieldCodec<global::Proto.HonorInfo> _repeated_honors_codec
= pb::FieldCodec.ForMessage(994, global::Proto.HonorInfo.Parser);
private readonly pbc::RepeatedField<global::Proto.HonorInfo> honors_ = new pbc::RepeatedField<global::Proto.HonorInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.HonorInfo> Honors {
get { return honors_; }
}
/// <summary>Field number for the "DailyShopRewardStatus" field.</summary>
public const int DailyShopRewardStatusFieldNumber = 125;
private bool dailyShopRewardStatus_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool DailyShopRewardStatus {
get { return dailyShopRewardStatus_; }
set {
dailyShopRewardStatus_ = value;
}
}
/// <summary>Field number for the "TowerTicket" field.</summary>
public const int TowerTicketFieldNumber = 126;
private uint towerTicket_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TowerTicket {
get { return towerTicket_; }
set {
towerTicket_ = value;
}
}
/// <summary>Field number for the "ServerTs" field.</summary>
public const int ServerTsFieldNumber = 127;
private long serverTs_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long ServerTs {
get { return serverTs_; }
set {
serverTs_ = value;
}
}
/// <summary>Field number for the "NextPackage" field.</summary>
public const int NextPackageFieldNumber = 2047;
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString NextPackage {
get { return nextPackage_; }
set {
nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PlayerInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PlayerInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Acc, other.Acc)) return false;
if(!res_.Equals(other.res_)) return false;
if(!items_.Equals(other.items_)) return false;
if(!chars_.Equals(other.chars_)) return false;
if (!object.Equals(Formation, other.Formation)) return false;
if (StarTowerRankTicket != other.StarTowerRankTicket) return false;
if (!object.Equals(Energy, other.Energy)) return false;
if (!object.Equals(WorldClass, other.WorldClass)) return false;
if (!object.Equals(Agent, other.Agent)) return false;
if(!rglPassedIds_.Equals(other.rglPassedIds_)) return false;
if(!equipments_.Equals(other.equipments_)) return false;
if(!regionBossLevels_.Equals(other.regionBossLevels_)) return false;
if (!object.Equals(Quests, other.Quests)) return false;
if (!object.Equals(State, other.State)) return false;
if (SendGiftCnt != other.SendGiftCnt) return false;
if(!board_.Equals(other.board_)) return false;
if(!datingCharIds_.Equals(other.datingCharIds_)) return false;
if (Achievements != other.Achievements) return false;
if(!handbook_.Equals(other.handbook_)) return false;
if (SigninIndex != other.SigninIndex) return false;
if(!titles_.Equals(other.titles_)) return false;
if(!dailyInstances_.Equals(other.dailyInstances_)) return false;
if(!dictionaries_.Equals(other.dictionaries_)) return false;
if(!activities_.Equals(other.activities_)) return false;
if (!object.Equals(Phone, other.Phone)) return false;
if (TalentResetTime != other.TalentResetTime) return false;
if (EquipmentDoubleCount != other.EquipmentDoubleCount) return false;
if(!discs_.Equals(other.discs_)) return false;
if(!equipmentInstances_.Equals(other.equipmentInstances_)) return false;
if (!object.Equals(Story, other.Story)) return false;
if (!object.Equals(VampireSurvivorRecord, other.VampireSurvivorRecord)) return false;
if(!dailyActiveIds_.Equals(other.dailyActiveIds_)) return false;
if (TourGuideQuestGroup != other.TourGuideQuestGroup) return false;
if(!honorList_.Equals(other.honorList_)) return false;
if(!honors_.Equals(other.honors_)) return false;
if (DailyShopRewardStatus != other.DailyShopRewardStatus) return false;
if (TowerTicket != other.TowerTicket) return false;
if (ServerTs != other.ServerTs) return false;
if (NextPackage != other.NextPackage) 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 (acc_ != null) hash ^= Acc.GetHashCode();
hash ^= res_.GetHashCode();
hash ^= items_.GetHashCode();
hash ^= chars_.GetHashCode();
if (formation_ != null) hash ^= Formation.GetHashCode();
if (StarTowerRankTicket != 0) hash ^= StarTowerRankTicket.GetHashCode();
if (energy_ != null) hash ^= Energy.GetHashCode();
if (worldClass_ != null) hash ^= WorldClass.GetHashCode();
if (agent_ != null) hash ^= Agent.GetHashCode();
hash ^= rglPassedIds_.GetHashCode();
hash ^= equipments_.GetHashCode();
hash ^= regionBossLevels_.GetHashCode();
if (quests_ != null) hash ^= Quests.GetHashCode();
if (state_ != null) hash ^= State.GetHashCode();
if (SendGiftCnt != 0) hash ^= SendGiftCnt.GetHashCode();
hash ^= board_.GetHashCode();
hash ^= datingCharIds_.GetHashCode();
if (Achievements.Length != 0) hash ^= Achievements.GetHashCode();
hash ^= handbook_.GetHashCode();
if (SigninIndex != 0) hash ^= SigninIndex.GetHashCode();
hash ^= titles_.GetHashCode();
hash ^= dailyInstances_.GetHashCode();
hash ^= dictionaries_.GetHashCode();
hash ^= activities_.GetHashCode();
if (phone_ != null) hash ^= Phone.GetHashCode();
if (TalentResetTime != 0L) hash ^= TalentResetTime.GetHashCode();
if (EquipmentDoubleCount != 0) hash ^= EquipmentDoubleCount.GetHashCode();
hash ^= discs_.GetHashCode();
hash ^= equipmentInstances_.GetHashCode();
if (story_ != null) hash ^= Story.GetHashCode();
if (vampireSurvivorRecord_ != null) hash ^= VampireSurvivorRecord.GetHashCode();
hash ^= dailyActiveIds_.GetHashCode();
if (TourGuideQuestGroup != 0) hash ^= TourGuideQuestGroup.GetHashCode();
hash ^= honorList_.GetHashCode();
hash ^= honors_.GetHashCode();
if (DailyShopRewardStatus != false) hash ^= DailyShopRewardStatus.GetHashCode();
if (TowerTicket != 0) hash ^= TowerTicket.GetHashCode();
if (ServerTs != 0L) hash ^= ServerTs.GetHashCode();
if (NextPackage.Length != 0) hash ^= NextPackage.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 (acc_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Acc);
}
res_.WriteTo(output, _repeated_res_codec);
items_.WriteTo(output, _repeated_items_codec);
chars_.WriteTo(output, _repeated_chars_codec);
if (formation_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Formation);
}
if (StarTowerRankTicket != 0) {
output.WriteRawTag(48);
output.WriteUInt32(StarTowerRankTicket);
}
if (energy_ != null) {
output.WriteRawTag(58);
output.WriteMessage(Energy);
}
if (worldClass_ != null) {
output.WriteRawTag(66);
output.WriteMessage(WorldClass);
}
if (agent_ != null) {
output.WriteRawTag(74);
output.WriteMessage(Agent);
}
rglPassedIds_.WriteTo(output, _repeated_rglPassedIds_codec);
equipments_.WriteTo(output, _repeated_equipments_codec);
regionBossLevels_.WriteTo(output, _repeated_regionBossLevels_codec);
if (quests_ != null) {
output.WriteRawTag(106);
output.WriteMessage(Quests);
}
if (state_ != null) {
output.WriteRawTag(114);
output.WriteMessage(State);
}
if (SendGiftCnt != 0) {
output.WriteRawTag(120);
output.WriteUInt32(SendGiftCnt);
}
board_.WriteTo(output, _repeated_board_codec);
datingCharIds_.WriteTo(output, _repeated_datingCharIds_codec);
if (Achievements.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteBytes(Achievements);
}
handbook_.WriteTo(output, _repeated_handbook_codec);
if (SigninIndex != 0) {
output.WriteRawTag(160, 1);
output.WriteUInt32(SigninIndex);
}
titles_.WriteTo(output, _repeated_titles_codec);
dailyInstances_.WriteTo(output, _repeated_dailyInstances_codec);
dictionaries_.WriteTo(output, _repeated_dictionaries_codec);
activities_.WriteTo(output, _repeated_activities_codec);
if (phone_ != null) {
output.WriteRawTag(202, 1);
output.WriteMessage(Phone);
}
if (TalentResetTime != 0L) {
output.WriteRawTag(208, 1);
output.WriteInt64(TalentResetTime);
}
if (EquipmentDoubleCount != 0) {
output.WriteRawTag(216, 1);
output.WriteUInt32(EquipmentDoubleCount);
}
discs_.WriteTo(output, _repeated_discs_codec);
equipmentInstances_.WriteTo(output, _repeated_equipmentInstances_codec);
if (story_ != null) {
output.WriteRawTag(242, 1);
output.WriteMessage(Story);
}
if (vampireSurvivorRecord_ != null) {
output.WriteRawTag(250, 1);
output.WriteMessage(VampireSurvivorRecord);
}
dailyActiveIds_.WriteTo(output, _repeated_dailyActiveIds_codec);
if (TourGuideQuestGroup != 0) {
output.WriteRawTag(136, 2);
output.WriteUInt32(TourGuideQuestGroup);
}
honorList_.WriteTo(output, _repeated_honorList_codec);
honors_.WriteTo(output, _repeated_honors_codec);
if (DailyShopRewardStatus != false) {
output.WriteRawTag(232, 7);
output.WriteBool(DailyShopRewardStatus);
}
if (TowerTicket != 0) {
output.WriteRawTag(240, 7);
output.WriteUInt32(TowerTicket);
}
if (ServerTs != 0L) {
output.WriteRawTag(248, 7);
output.WriteInt64(ServerTs);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (acc_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Acc);
}
res_.WriteTo(ref output, _repeated_res_codec);
items_.WriteTo(ref output, _repeated_items_codec);
chars_.WriteTo(ref output, _repeated_chars_codec);
if (formation_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Formation);
}
if (StarTowerRankTicket != 0) {
output.WriteRawTag(48);
output.WriteUInt32(StarTowerRankTicket);
}
if (energy_ != null) {
output.WriteRawTag(58);
output.WriteMessage(Energy);
}
if (worldClass_ != null) {
output.WriteRawTag(66);
output.WriteMessage(WorldClass);
}
if (agent_ != null) {
output.WriteRawTag(74);
output.WriteMessage(Agent);
}
rglPassedIds_.WriteTo(ref output, _repeated_rglPassedIds_codec);
equipments_.WriteTo(ref output, _repeated_equipments_codec);
regionBossLevels_.WriteTo(ref output, _repeated_regionBossLevels_codec);
if (quests_ != null) {
output.WriteRawTag(106);
output.WriteMessage(Quests);
}
if (state_ != null) {
output.WriteRawTag(114);
output.WriteMessage(State);
}
if (SendGiftCnt != 0) {
output.WriteRawTag(120);
output.WriteUInt32(SendGiftCnt);
}
board_.WriteTo(ref output, _repeated_board_codec);
datingCharIds_.WriteTo(ref output, _repeated_datingCharIds_codec);
if (Achievements.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteBytes(Achievements);
}
handbook_.WriteTo(ref output, _repeated_handbook_codec);
if (SigninIndex != 0) {
output.WriteRawTag(160, 1);
output.WriteUInt32(SigninIndex);
}
titles_.WriteTo(ref output, _repeated_titles_codec);
dailyInstances_.WriteTo(ref output, _repeated_dailyInstances_codec);
dictionaries_.WriteTo(ref output, _repeated_dictionaries_codec);
activities_.WriteTo(ref output, _repeated_activities_codec);
if (phone_ != null) {
output.WriteRawTag(202, 1);
output.WriteMessage(Phone);
}
if (TalentResetTime != 0L) {
output.WriteRawTag(208, 1);
output.WriteInt64(TalentResetTime);
}
if (EquipmentDoubleCount != 0) {
output.WriteRawTag(216, 1);
output.WriteUInt32(EquipmentDoubleCount);
}
discs_.WriteTo(ref output, _repeated_discs_codec);
equipmentInstances_.WriteTo(ref output, _repeated_equipmentInstances_codec);
if (story_ != null) {
output.WriteRawTag(242, 1);
output.WriteMessage(Story);
}
if (vampireSurvivorRecord_ != null) {
output.WriteRawTag(250, 1);
output.WriteMessage(VampireSurvivorRecord);
}
dailyActiveIds_.WriteTo(ref output, _repeated_dailyActiveIds_codec);
if (TourGuideQuestGroup != 0) {
output.WriteRawTag(136, 2);
output.WriteUInt32(TourGuideQuestGroup);
}
honorList_.WriteTo(ref output, _repeated_honorList_codec);
honors_.WriteTo(ref output, _repeated_honors_codec);
if (DailyShopRewardStatus != false) {
output.WriteRawTag(232, 7);
output.WriteBool(DailyShopRewardStatus);
}
if (TowerTicket != 0) {
output.WriteRawTag(240, 7);
output.WriteUInt32(TowerTicket);
}
if (ServerTs != 0L) {
output.WriteRawTag(248, 7);
output.WriteInt64(ServerTs);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (acc_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Acc);
}
size += res_.CalculateSize(_repeated_res_codec);
size += items_.CalculateSize(_repeated_items_codec);
size += chars_.CalculateSize(_repeated_chars_codec);
if (formation_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Formation);
}
if (StarTowerRankTicket != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StarTowerRankTicket);
}
if (energy_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Energy);
}
if (worldClass_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(WorldClass);
}
if (agent_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Agent);
}
size += rglPassedIds_.CalculateSize(_repeated_rglPassedIds_codec);
size += equipments_.CalculateSize(_repeated_equipments_codec);
size += regionBossLevels_.CalculateSize(_repeated_regionBossLevels_codec);
if (quests_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Quests);
}
if (state_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(State);
}
if (SendGiftCnt != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SendGiftCnt);
}
size += board_.CalculateSize(_repeated_board_codec);
size += datingCharIds_.CalculateSize(_repeated_datingCharIds_codec);
if (Achievements.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(Achievements);
}
size += handbook_.CalculateSize(_repeated_handbook_codec);
if (SigninIndex != 0) {
size += 2 + pb::CodedOutputStream.ComputeUInt32Size(SigninIndex);
}
size += titles_.CalculateSize(_repeated_titles_codec);
size += dailyInstances_.CalculateSize(_repeated_dailyInstances_codec);
size += dictionaries_.CalculateSize(_repeated_dictionaries_codec);
size += activities_.CalculateSize(_repeated_activities_codec);
if (phone_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Phone);
}
if (TalentResetTime != 0L) {
size += 2 + pb::CodedOutputStream.ComputeInt64Size(TalentResetTime);
}
if (EquipmentDoubleCount != 0) {
size += 2 + pb::CodedOutputStream.ComputeUInt32Size(EquipmentDoubleCount);
}
size += discs_.CalculateSize(_repeated_discs_codec);
size += equipmentInstances_.CalculateSize(_repeated_equipmentInstances_codec);
if (story_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Story);
}
if (vampireSurvivorRecord_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(VampireSurvivorRecord);
}
size += dailyActiveIds_.CalculateSize(_repeated_dailyActiveIds_codec);
if (TourGuideQuestGroup != 0) {
size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TourGuideQuestGroup);
}
size += honorList_.CalculateSize(_repeated_honorList_codec);
size += honors_.CalculateSize(_repeated_honors_codec);
if (DailyShopRewardStatus != false) {
size += 2 + 1;
}
if (TowerTicket != 0) {
size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TowerTicket);
}
if (ServerTs != 0L) {
size += 2 + pb::CodedOutputStream.ComputeInt64Size(ServerTs);
}
if (NextPackage.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PlayerInfo other) {
if (other == null) {
return;
}
if (other.acc_ != null) {
if (acc_ == null) {
Acc = new global::Proto.AccInfo();
}
Acc.MergeFrom(other.Acc);
}
res_.Add(other.res_);
items_.Add(other.items_);
chars_.Add(other.chars_);
if (other.formation_ != null) {
if (formation_ == null) {
Formation = new global::Proto.TowerFormation();
}
Formation.MergeFrom(other.Formation);
}
if (other.StarTowerRankTicket != 0) {
StarTowerRankTicket = other.StarTowerRankTicket;
}
if (other.energy_ != null) {
if (energy_ == null) {
Energy = new global::Proto.EnergyInfo();
}
Energy.MergeFrom(other.Energy);
}
if (other.worldClass_ != null) {
if (worldClass_ == null) {
WorldClass = new global::Proto.WorldClassInfo();
}
WorldClass.MergeFrom(other.WorldClass);
}
if (other.agent_ != null) {
if (agent_ == null) {
Agent = new global::Proto.AgentData();
}
Agent.MergeFrom(other.Agent);
}
rglPassedIds_.Add(other.rglPassedIds_);
equipments_.Add(other.equipments_);
regionBossLevels_.Add(other.regionBossLevels_);
if (other.quests_ != null) {
if (quests_ == null) {
Quests = new global::Proto.Quests();
}
Quests.MergeFrom(other.Quests);
}
if (other.state_ != null) {
if (state_ == null) {
State = new global::Proto.StateInfo();
}
State.MergeFrom(other.State);
}
if (other.SendGiftCnt != 0) {
SendGiftCnt = other.SendGiftCnt;
}
board_.Add(other.board_);
datingCharIds_.Add(other.datingCharIds_);
if (other.Achievements.Length != 0) {
Achievements = other.Achievements;
}
handbook_.Add(other.handbook_);
if (other.SigninIndex != 0) {
SigninIndex = other.SigninIndex;
}
titles_.Add(other.titles_);
dailyInstances_.Add(other.dailyInstances_);
dictionaries_.Add(other.dictionaries_);
activities_.Add(other.activities_);
if (other.phone_ != null) {
if (phone_ == null) {
Phone = new global::Proto.PhoneInfo();
}
Phone.MergeFrom(other.Phone);
}
if (other.TalentResetTime != 0L) {
TalentResetTime = other.TalentResetTime;
}
if (other.EquipmentDoubleCount != 0) {
EquipmentDoubleCount = other.EquipmentDoubleCount;
}
discs_.Add(other.discs_);
equipmentInstances_.Add(other.equipmentInstances_);
if (other.story_ != null) {
if (story_ == null) {
Story = new global::Proto.StoryInfo();
}
Story.MergeFrom(other.Story);
}
if (other.vampireSurvivorRecord_ != null) {
if (vampireSurvivorRecord_ == null) {
VampireSurvivorRecord = new global::Proto.VampireSurvivorRecordInfo();
}
VampireSurvivorRecord.MergeFrom(other.VampireSurvivorRecord);
}
dailyActiveIds_.Add(other.dailyActiveIds_);
if (other.TourGuideQuestGroup != 0) {
TourGuideQuestGroup = other.TourGuideQuestGroup;
}
honorList_.Add(other.honorList_);
honors_.Add(other.honors_);
if (other.DailyShopRewardStatus != false) {
DailyShopRewardStatus = other.DailyShopRewardStatus;
}
if (other.TowerTicket != 0) {
TowerTicket = other.TowerTicket;
}
if (other.ServerTs != 0L) {
ServerTs = other.ServerTs;
}
if (other.NextPackage.Length != 0) {
NextPackage = other.NextPackage;
}
_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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (acc_ == null) {
Acc = new global::Proto.AccInfo();
}
input.ReadMessage(Acc);
break;
}
case 18: {
res_.AddEntriesFrom(input, _repeated_res_codec);
break;
}
case 26: {
items_.AddEntriesFrom(input, _repeated_items_codec);
break;
}
case 34: {
chars_.AddEntriesFrom(input, _repeated_chars_codec);
break;
}
case 42: {
if (formation_ == null) {
Formation = new global::Proto.TowerFormation();
}
input.ReadMessage(Formation);
break;
}
case 48: {
StarTowerRankTicket = input.ReadUInt32();
break;
}
case 58: {
if (energy_ == null) {
Energy = new global::Proto.EnergyInfo();
}
input.ReadMessage(Energy);
break;
}
case 66: {
if (worldClass_ == null) {
WorldClass = new global::Proto.WorldClassInfo();
}
input.ReadMessage(WorldClass);
break;
}
case 74: {
if (agent_ == null) {
Agent = new global::Proto.AgentData();
}
input.ReadMessage(Agent);
break;
}
case 82:
case 80: {
rglPassedIds_.AddEntriesFrom(input, _repeated_rglPassedIds_codec);
break;
}
case 90: {
equipments_.AddEntriesFrom(input, _repeated_equipments_codec);
break;
}
case 98: {
regionBossLevels_.AddEntriesFrom(input, _repeated_regionBossLevels_codec);
break;
}
case 106: {
if (quests_ == null) {
Quests = new global::Proto.Quests();
}
input.ReadMessage(Quests);
break;
}
case 114: {
if (state_ == null) {
State = new global::Proto.StateInfo();
}
input.ReadMessage(State);
break;
}
case 120: {
SendGiftCnt = input.ReadUInt32();
break;
}
case 130:
case 128: {
board_.AddEntriesFrom(input, _repeated_board_codec);
break;
}
case 138:
case 136: {
datingCharIds_.AddEntriesFrom(input, _repeated_datingCharIds_codec);
break;
}
case 146: {
Achievements = input.ReadBytes();
break;
}
case 154: {
handbook_.AddEntriesFrom(input, _repeated_handbook_codec);
break;
}
case 160: {
SigninIndex = input.ReadUInt32();
break;
}
case 170: {
titles_.AddEntriesFrom(input, _repeated_titles_codec);
break;
}
case 178: {
dailyInstances_.AddEntriesFrom(input, _repeated_dailyInstances_codec);
break;
}
case 186: {
dictionaries_.AddEntriesFrom(input, _repeated_dictionaries_codec);
break;
}
case 194: {
activities_.AddEntriesFrom(input, _repeated_activities_codec);
break;
}
case 202: {
if (phone_ == null) {
Phone = new global::Proto.PhoneInfo();
}
input.ReadMessage(Phone);
break;
}
case 208: {
TalentResetTime = input.ReadInt64();
break;
}
case 216: {
EquipmentDoubleCount = input.ReadUInt32();
break;
}
case 226: {
discs_.AddEntriesFrom(input, _repeated_discs_codec);
break;
}
case 234: {
equipmentInstances_.AddEntriesFrom(input, _repeated_equipmentInstances_codec);
break;
}
case 242: {
if (story_ == null) {
Story = new global::Proto.StoryInfo();
}
input.ReadMessage(Story);
break;
}
case 250: {
if (vampireSurvivorRecord_ == null) {
VampireSurvivorRecord = new global::Proto.VampireSurvivorRecordInfo();
}
input.ReadMessage(VampireSurvivorRecord);
break;
}
case 258:
case 256: {
dailyActiveIds_.AddEntriesFrom(input, _repeated_dailyActiveIds_codec);
break;
}
case 264: {
TourGuideQuestGroup = input.ReadUInt32();
break;
}
case 986:
case 984: {
honorList_.AddEntriesFrom(input, _repeated_honorList_codec);
break;
}
case 994: {
honors_.AddEntriesFrom(input, _repeated_honors_codec);
break;
}
case 1000: {
DailyShopRewardStatus = input.ReadBool();
break;
}
case 1008: {
TowerTicket = input.ReadUInt32();
break;
}
case 1016: {
ServerTs = input.ReadInt64();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
if (acc_ == null) {
Acc = new global::Proto.AccInfo();
}
input.ReadMessage(Acc);
break;
}
case 18: {
res_.AddEntriesFrom(ref input, _repeated_res_codec);
break;
}
case 26: {
items_.AddEntriesFrom(ref input, _repeated_items_codec);
break;
}
case 34: {
chars_.AddEntriesFrom(ref input, _repeated_chars_codec);
break;
}
case 42: {
if (formation_ == null) {
Formation = new global::Proto.TowerFormation();
}
input.ReadMessage(Formation);
break;
}
case 48: {
StarTowerRankTicket = input.ReadUInt32();
break;
}
case 58: {
if (energy_ == null) {
Energy = new global::Proto.EnergyInfo();
}
input.ReadMessage(Energy);
break;
}
case 66: {
if (worldClass_ == null) {
WorldClass = new global::Proto.WorldClassInfo();
}
input.ReadMessage(WorldClass);
break;
}
case 74: {
if (agent_ == null) {
Agent = new global::Proto.AgentData();
}
input.ReadMessage(Agent);
break;
}
case 82:
case 80: {
rglPassedIds_.AddEntriesFrom(ref input, _repeated_rglPassedIds_codec);
break;
}
case 90: {
equipments_.AddEntriesFrom(ref input, _repeated_equipments_codec);
break;
}
case 98: {
regionBossLevels_.AddEntriesFrom(ref input, _repeated_regionBossLevels_codec);
break;
}
case 106: {
if (quests_ == null) {
Quests = new global::Proto.Quests();
}
input.ReadMessage(Quests);
break;
}
case 114: {
if (state_ == null) {
State = new global::Proto.StateInfo();
}
input.ReadMessage(State);
break;
}
case 120: {
SendGiftCnt = input.ReadUInt32();
break;
}
case 130:
case 128: {
board_.AddEntriesFrom(ref input, _repeated_board_codec);
break;
}
case 138:
case 136: {
datingCharIds_.AddEntriesFrom(ref input, _repeated_datingCharIds_codec);
break;
}
case 146: {
Achievements = input.ReadBytes();
break;
}
case 154: {
handbook_.AddEntriesFrom(ref input, _repeated_handbook_codec);
break;
}
case 160: {
SigninIndex = input.ReadUInt32();
break;
}
case 170: {
titles_.AddEntriesFrom(ref input, _repeated_titles_codec);
break;
}
case 178: {
dailyInstances_.AddEntriesFrom(ref input, _repeated_dailyInstances_codec);
break;
}
case 186: {
dictionaries_.AddEntriesFrom(ref input, _repeated_dictionaries_codec);
break;
}
case 194: {
activities_.AddEntriesFrom(ref input, _repeated_activities_codec);
break;
}
case 202: {
if (phone_ == null) {
Phone = new global::Proto.PhoneInfo();
}
input.ReadMessage(Phone);
break;
}
case 208: {
TalentResetTime = input.ReadInt64();
break;
}
case 216: {
EquipmentDoubleCount = input.ReadUInt32();
break;
}
case 226: {
discs_.AddEntriesFrom(ref input, _repeated_discs_codec);
break;
}
case 234: {
equipmentInstances_.AddEntriesFrom(ref input, _repeated_equipmentInstances_codec);
break;
}
case 242: {
if (story_ == null) {
Story = new global::Proto.StoryInfo();
}
input.ReadMessage(Story);
break;
}
case 250: {
if (vampireSurvivorRecord_ == null) {
VampireSurvivorRecord = new global::Proto.VampireSurvivorRecordInfo();
}
input.ReadMessage(VampireSurvivorRecord);
break;
}
case 258:
case 256: {
dailyActiveIds_.AddEntriesFrom(ref input, _repeated_dailyActiveIds_codec);
break;
}
case 264: {
TourGuideQuestGroup = input.ReadUInt32();
break;
}
case 986:
case 984: {
honorList_.AddEntriesFrom(ref input, _repeated_honorList_codec);
break;
}
case 994: {
honors_.AddEntriesFrom(ref input, _repeated_honors_codec);
break;
}
case 1000: {
DailyShopRewardStatus = input.ReadBool();
break;
}
case 1008: {
TowerTicket = input.ReadUInt32();
break;
}
case 1016: {
ServerTs = input.ReadInt64();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PhoneInfo : pb::IMessage<PhoneInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PhoneInfo> _parser = new pb::MessageParser<PhoneInfo>(() => new PhoneInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PhoneInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Proto.PlayerDataReflection.Descriptor.MessageTypes[1]; }
}
[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 PhoneInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PhoneInfo(PhoneInfo other) : this() {
newMessage_ = other.newMessage_;
progressMessage_ = other.progressMessage_;
nextPackage_ = other.nextPackage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PhoneInfo Clone() {
return new PhoneInfo(this);
}
/// <summary>Field number for the "NewMessage" field.</summary>
public const int NewMessageFieldNumber = 1;
private uint newMessage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint NewMessage {
get { return newMessage_; }
set {
newMessage_ = value;
}
}
/// <summary>Field number for the "ProgressMessage" field.</summary>
public const int ProgressMessageFieldNumber = 2;
private uint progressMessage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ProgressMessage {
get { return progressMessage_; }
set {
progressMessage_ = value;
}
}
/// <summary>Field number for the "NextPackage" field.</summary>
public const int NextPackageFieldNumber = 2047;
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString NextPackage {
get { return nextPackage_; }
set {
nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PhoneInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PhoneInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (NewMessage != other.NewMessage) return false;
if (ProgressMessage != other.ProgressMessage) return false;
if (NextPackage != other.NextPackage) 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 (NewMessage != 0) hash ^= NewMessage.GetHashCode();
if (ProgressMessage != 0) hash ^= ProgressMessage.GetHashCode();
if (NextPackage.Length != 0) hash ^= NextPackage.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 (NewMessage != 0) {
output.WriteRawTag(8);
output.WriteUInt32(NewMessage);
}
if (ProgressMessage != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ProgressMessage);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (NewMessage != 0) {
output.WriteRawTag(8);
output.WriteUInt32(NewMessage);
}
if (ProgressMessage != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ProgressMessage);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (NewMessage != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NewMessage);
}
if (ProgressMessage != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProgressMessage);
}
if (NextPackage.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PhoneInfo other) {
if (other == null) {
return;
}
if (other.NewMessage != 0) {
NewMessage = other.NewMessage;
}
if (other.ProgressMessage != 0) {
ProgressMessage = other.ProgressMessage;
}
if (other.NextPackage.Length != 0) {
NextPackage = other.NextPackage;
}
_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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
NewMessage = input.ReadUInt32();
break;
}
case 16: {
ProgressMessage = input.ReadUInt32();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
NewMessage = input.ReadUInt32();
break;
}
case 16: {
ProgressMessage = input.ReadUInt32();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DictionaryEntry : pb::IMessage<DictionaryEntry>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<DictionaryEntry> _parser = new pb::MessageParser<DictionaryEntry>(() => new DictionaryEntry());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<DictionaryEntry> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Proto.PlayerDataReflection.Descriptor.MessageTypes[2]; }
}
[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 DictionaryEntry() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DictionaryEntry(DictionaryEntry other) : this() {
index_ = other.index_;
status_ = other.status_;
nextPackage_ = other.nextPackage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DictionaryEntry Clone() {
return new DictionaryEntry(this);
}
/// <summary>Field number for the "Index" field.</summary>
public const int IndexFieldNumber = 1;
private uint index_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Index {
get { return index_; }
set {
index_ = value;
}
}
/// <summary>Field number for the "Status" field.</summary>
public const int StatusFieldNumber = 2;
private uint status_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Status {
get { return status_; }
set {
status_ = value;
}
}
/// <summary>Field number for the "NextPackage" field.</summary>
public const int NextPackageFieldNumber = 2047;
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString NextPackage {
get { return nextPackage_; }
set {
nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DictionaryEntry);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DictionaryEntry other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Index != other.Index) return false;
if (Status != other.Status) return false;
if (NextPackage != other.NextPackage) 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 (Index != 0) hash ^= Index.GetHashCode();
if (Status != 0) hash ^= Status.GetHashCode();
if (NextPackage.Length != 0) hash ^= NextPackage.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 (Index != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Index);
}
if (Status != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Status);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (Index != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Index);
}
if (Status != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Status);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (Index != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
}
if (Status != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status);
}
if (NextPackage.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DictionaryEntry other) {
if (other == null) {
return;
}
if (other.Index != 0) {
Index = other.Index;
}
if (other.Status != 0) {
Status = other.Status;
}
if (other.NextPackage.Length != 0) {
NextPackage = other.NextPackage;
}
_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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Index = input.ReadUInt32();
break;
}
case 16: {
Status = input.ReadUInt32();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Index = input.ReadUInt32();
break;
}
case 16: {
Status = input.ReadUInt32();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DictionaryTab : pb::IMessage<DictionaryTab>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<DictionaryTab> _parser = new pb::MessageParser<DictionaryTab>(() => new DictionaryTab());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<DictionaryTab> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Proto.PlayerDataReflection.Descriptor.MessageTypes[3]; }
}
[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 DictionaryTab() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DictionaryTab(DictionaryTab other) : this() {
tabId_ = other.tabId_;
entries_ = other.entries_.Clone();
nextPackage_ = other.nextPackage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DictionaryTab Clone() {
return new DictionaryTab(this);
}
/// <summary>Field number for the "TabId" field.</summary>
public const int TabIdFieldNumber = 1;
private uint tabId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TabId {
get { return tabId_; }
set {
tabId_ = value;
}
}
/// <summary>Field number for the "Entries" field.</summary>
public const int EntriesFieldNumber = 2;
private static readonly pb::FieldCodec<global::Proto.DictionaryEntry> _repeated_entries_codec
= pb::FieldCodec.ForMessage(18, global::Proto.DictionaryEntry.Parser);
private readonly pbc::RepeatedField<global::Proto.DictionaryEntry> entries_ = new pbc::RepeatedField<global::Proto.DictionaryEntry>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.DictionaryEntry> Entries {
get { return entries_; }
}
/// <summary>Field number for the "NextPackage" field.</summary>
public const int NextPackageFieldNumber = 2047;
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString NextPackage {
get { return nextPackage_; }
set {
nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DictionaryTab);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DictionaryTab other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (TabId != other.TabId) return false;
if(!entries_.Equals(other.entries_)) return false;
if (NextPackage != other.NextPackage) 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 (TabId != 0) hash ^= TabId.GetHashCode();
hash ^= entries_.GetHashCode();
if (NextPackage.Length != 0) hash ^= NextPackage.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 (TabId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(TabId);
}
entries_.WriteTo(output, _repeated_entries_codec);
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (TabId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(TabId);
}
entries_.WriteTo(ref output, _repeated_entries_codec);
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (TabId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TabId);
}
size += entries_.CalculateSize(_repeated_entries_codec);
if (NextPackage.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DictionaryTab other) {
if (other == null) {
return;
}
if (other.TabId != 0) {
TabId = other.TabId;
}
entries_.Add(other.entries_);
if (other.NextPackage.Length != 0) {
NextPackage = other.NextPackage;
}
_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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
TabId = input.ReadUInt32();
break;
}
case 18: {
entries_.AddEntriesFrom(input, _repeated_entries_codec);
break;
}
case 16378: {
NextPackage = input.ReadBytes();
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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
TabId = input.ReadUInt32();
break;
}
case 18: {
entries_.AddEntriesFrom(ref input, _repeated_entries_codec);
break;
}
case 16378: {
NextPackage = input.ReadBytes();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class EnergyInfo : pb::IMessage<EnergyInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<EnergyInfo> _parser = new pb::MessageParser<EnergyInfo>(() => new EnergyInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<EnergyInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Proto.PlayerDataReflection.Descriptor.MessageTypes[4]; }
}
[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 EnergyInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EnergyInfo(EnergyInfo other) : this() {
energy_ = other.energy_ != null ? other.energy_.Clone() : null;
count_ = other.count_;
nextPackage_ = other.nextPackage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EnergyInfo Clone() {
return new EnergyInfo(this);
}
/// <summary>Field number for the "Energy" field.</summary>
public const int EnergyFieldNumber = 1;
private global::Proto.Energy energy_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.Energy Energy {
get { return energy_; }
set {
energy_ = value;
}
}
/// <summary>Field number for the "Count" field.</summary>
public const int CountFieldNumber = 2;
private uint count_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Count {
get { return count_; }
set {
count_ = value;
}
}
/// <summary>Field number for the "NextPackage" field.</summary>
public const int NextPackageFieldNumber = 2047;
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString NextPackage {
get { return nextPackage_; }
set {
nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as EnergyInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(EnergyInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Energy, other.Energy)) return false;
if (Count != other.Count) return false;
if (NextPackage != other.NextPackage) 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 (energy_ != null) hash ^= Energy.GetHashCode();
if (Count != 0) hash ^= Count.GetHashCode();
if (NextPackage.Length != 0) hash ^= NextPackage.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 (energy_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Energy);
}
if (Count != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Count);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (energy_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Energy);
}
if (Count != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Count);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (energy_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Energy);
}
if (Count != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count);
}
if (NextPackage.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(EnergyInfo other) {
if (other == null) {
return;
}
if (other.energy_ != null) {
if (energy_ == null) {
Energy = new global::Proto.Energy();
}
Energy.MergeFrom(other.Energy);
}
if (other.Count != 0) {
Count = other.Count;
}
if (other.NextPackage.Length != 0) {
NextPackage = other.NextPackage;
}
_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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (energy_ == null) {
Energy = new global::Proto.Energy();
}
input.ReadMessage(Energy);
break;
}
case 16: {
Count = input.ReadUInt32();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
if (energy_ == null) {
Energy = new global::Proto.Energy();
}
input.ReadMessage(Energy);
break;
}
case 16: {
Count = input.ReadUInt32();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class WorldClassInfo : pb::IMessage<WorldClassInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<WorldClassInfo> _parser = new pb::MessageParser<WorldClassInfo>(() => new WorldClassInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<WorldClassInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Proto.PlayerDataReflection.Descriptor.MessageTypes[5]; }
}
[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 WorldClassInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WorldClassInfo(WorldClassInfo other) : this() {
cur_ = other.cur_;
lastExp_ = other.lastExp_;
nextPackage_ = other.nextPackage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WorldClassInfo Clone() {
return new WorldClassInfo(this);
}
/// <summary>Field number for the "Cur" field.</summary>
public const int CurFieldNumber = 1;
private uint cur_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Cur {
get { return cur_; }
set {
cur_ = value;
}
}
/// <summary>Field number for the "LastExp" field.</summary>
public const int LastExpFieldNumber = 2;
private int lastExp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int LastExp {
get { return lastExp_; }
set {
lastExp_ = value;
}
}
/// <summary>Field number for the "NextPackage" field.</summary>
public const int NextPackageFieldNumber = 2047;
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString NextPackage {
get { return nextPackage_; }
set {
nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as WorldClassInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(WorldClassInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Cur != other.Cur) return false;
if (LastExp != other.LastExp) return false;
if (NextPackage != other.NextPackage) 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 (Cur != 0) hash ^= Cur.GetHashCode();
if (LastExp != 0) hash ^= LastExp.GetHashCode();
if (NextPackage.Length != 0) hash ^= NextPackage.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 (Cur != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Cur);
}
if (LastExp != 0) {
output.WriteRawTag(16);
output.WriteInt32(LastExp);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (Cur != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Cur);
}
if (LastExp != 0) {
output.WriteRawTag(16);
output.WriteInt32(LastExp);
}
if (NextPackage.Length != 0) {
output.WriteRawTag(250, 127);
output.WriteBytes(NextPackage);
}
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 (Cur != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Cur);
}
if (LastExp != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LastExp);
}
if (NextPackage.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(WorldClassInfo other) {
if (other == null) {
return;
}
if (other.Cur != 0) {
Cur = other.Cur;
}
if (other.LastExp != 0) {
LastExp = other.LastExp;
}
if (other.NextPackage.Length != 0) {
NextPackage = other.NextPackage;
}
_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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Cur = input.ReadUInt32();
break;
}
case 16: {
LastExp = input.ReadInt32();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Cur = input.ReadUInt32();
break;
}
case 16: {
LastExp = input.ReadInt32();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code