KafkaSR/RPG.Network.Proto/CommonDefine.cs

2215 lines
80 KiB
C#
Raw Normal View History

2024-01-29 23:49:21 +00:00
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common.define.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 RPG.Network.Proto {
/// <summary>Holder for reflection information generated from common.define.proto</summary>
public static partial class CommonDefineReflection {
#region Descriptor
/// <summary>File descriptor for common.define.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CommonDefineReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChNjb21tb24uZGVmaW5lLnByb3RvEgVwcm90byLSAQoPUGxheWVyQmFzaWNJ",
"bmZvEhoKCG5pY2tuYW1lGAEgASgJUghuaWNrbmFtZRIUCgVsZXZlbBgCIAEo",
"DVIFbGV2ZWwSEAoDZXhwGAMgASgNUgNleHASGAoHc3RhbWluYRgEIAEoDVIH",
"c3RhbWluYRIUCgVtY29pbhgFIAEoDVIFbWNvaW4SFAoFaGNvaW4YBiABKA1S",
"BWhjb2luEhQKBXNjb2luGAcgASgNUgVzY29pbhIfCgt3b3JsZF9sZXZlbBgI",
"IAEoDVIKd29ybGRMZXZlbCKBAQoJQmxhY2tJbmZvEh0KCmJlZ2luX3RpbWUY",
"ASABKA1SCWJlZ2luVGltZRIZCghlbmRfdGltZRgCIAEoDVIHZW5kVGltZRIf",
"CgtsaW1pdF9sZXZlbBgDIAEoDVIKbGltaXRMZXZlbBIZCghiYW5fdHlwZRgE",
"IAEoDVIHYmFuVHlwZSI+CgxWZXJzaW9uQ291bnQSGAoHdmVyc2lvbhgBIAEo",
"DVIHdmVyc2lvbhIUCgVjb3VudBgCIAEoDVIFY291bnQiVgoSQ2xpZW50RG93",
"bm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TElNSVQQAipfCg9Qcm9kdWN0R2lmdFR5cGUSFQoRUFJP",
"RFVDVF9HSUZUX05PTkUQABIWChJQUk9EVUNUX0dJRlRfSENPSU4QARIdChlQ",
"Uk9EVUNUX0dJRlRfU1VCU0NSSVBUSU9OEAIqRQoRRmVhdHVyZVN3aXRjaFR5",
"cGUSFwoTRkVBVFVSRV9TV0lUQ0hfTk9ORRAAEhcKE0ZFQVRVUkVfU1dJVENI",
"X1NIT1AQAWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.AccountType), typeof(global::RPG.Network.Proto.ChannelIdType), typeof(global::RPG.Network.Proto.AvatarSlotType), typeof(global::RPG.Network.Proto.ItemType), typeof(global::RPG.Network.Proto.VirtualItemType), typeof(global::RPG.Network.Proto.BlackLimitLevel), typeof(global::RPG.Network.Proto.AreaType), typeof(global::RPG.Network.Proto.EntityType), typeof(global::RPG.Network.Proto.LanguageType), typeof(global::RPG.Network.Proto.PlatformType), typeof(global::RPG.Network.Proto.ReloginType), typeof(global::RPG.Network.Proto.AvatarType), typeof(global::RPG.Network.Proto.HeroBasicType), typeof(global::RPG.Network.Proto.Gender), typeof(global::RPG.Network.Proto.ProductType), typeof(global::RPG.Network.Proto.ProductGiftType), typeof(global::RPG.Network.Proto.FeatureSwitchType), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.PlayerBasicInfo), global::RPG.Network.Proto.PlayerBasicInfo.Parser, new[]{ "Nickname", "Level", "Exp", "Stamina", "Mcoin", "Hcoin", "Scoin", "WorldLevel" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.BlackInfo), global::RPG.Network.Proto.BlackInfo.Parser, new[]{ "BeginTime", "EndTime", "LimitLevel", "BanType" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.VersionCount), global::RPG.Network.Proto.VersionCount.Parser, new[]{ "Version", "Count" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.ClientDownloadData), global::RPG.Network.Proto.ClientDownloadData.Parser, new[]{ "Version", "Time", "Data" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.ClientUploadData), global::RPG.Network.Proto.ClientUploadData.Parser, new[]{ "Tag", "Value" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.FeatureSwitchParam), global::RPG.Network.Proto.FeatureSwitchParam.Parser, new[]{ "ParamList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.FeatureSwitchInfo), global::RPG.Network.Proto.FeatureSwitchInfo.Parser, new[]{ "Type", "SwitchList", "IsAllClosed" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum AccountType {
[pbr::OriginalName("ACCOUNT_MIHOYO_GUEST")] AccountMihoyoGuest = 0,
[pbr::OriginalName("ACCOUNT_MIHOYO")] AccountMihoyo = 1,
[pbr::OriginalName("ACCOUNT_XIAOMI")] AccountXiaomi = 11,
[pbr::OriginalName("ACCOUNT_COOLPAD")] AccountCoolpad = 12,
[pbr::OriginalName("ACCOUNT_YYB")] AccountYyb = 13,
[pbr::OriginalName("ACCOUNT_BILI")] AccountBili = 14,
[pbr::OriginalName("ACCOUNT_HUAWEI")] AccountHuawei = 15,
[pbr::OriginalName("ACCOUNT_MEIZU")] AccountMeizu = 16,
[pbr::OriginalName("ACCOUNT_360")] Account360 = 17,
[pbr::OriginalName("ACCOUNT_OPPO")] AccountOppo = 18,
[pbr::OriginalName("ACCOUNT_VIVO")] AccountVivo = 19,
[pbr::OriginalName("ACCOUNT_UC")] AccountUc = 20,
[pbr::OriginalName("ACCOUNT_WANDOJIA")] AccountWandojia = 21,
[pbr::OriginalName("ACCOUNT_LENOVO")] AccountLenovo = 22,
[pbr::OriginalName("ACCOUNT_JINLI")] AccountJinli = 23,
[pbr::OriginalName("ACCOUNT_BAIDU")] AccountBaidu = 25,
[pbr::OriginalName("ACCOUNT_DANGLE")] AccountDangle = 26,
[pbr::OriginalName("ACCOUNT_WEGAME")] AccountWegame = 27,
[pbr::OriginalName("ACCOUNT_RPG_CUSTOM")] AccountRpgCustom = 10000,
}
public enum ChannelIdType {
[pbr::OriginalName("CHANNEL_ID_NONE")] ChannelIdNone = 0,
[pbr::OriginalName("CHANNEL_ID_MIHOYO")] ChannelIdMihoyo = 1,
[pbr::OriginalName("CHANNEL_ID_XIAOMI")] ChannelIdXiaomi = 11,
[pbr::OriginalName("CHANNEL_ID_COOLPAD")] ChannelIdCoolpad = 12,
[pbr::OriginalName("CHANNEL_ID_YYB")] ChannelIdYyb = 13,
[pbr::OriginalName("CHANNEL_ID_BILI")] ChannelIdBili = 14,
[pbr::OriginalName("CHANNEL_ID_HUAWEI")] ChannelIdHuawei = 15,
[pbr::OriginalName("CHANNEL_ID_MEIZU")] ChannelIdMeizu = 16,
[pbr::OriginalName("CHANNEL_ID_360")] ChannelId360 = 17,
[pbr::OriginalName("CHANNEL_ID_OPPO")] ChannelIdOppo = 18,
[pbr::OriginalName("CHANNEL_ID_VIVO")] ChannelIdVivo = 19,
[pbr::OriginalName("CHANNEL_ID_UC")] ChannelIdUc = 20,
[pbr::OriginalName("CHANNEL_ID_WANDOJIA")] ChannelIdWandojia = 21,
[pbr::OriginalName("CHANNEL_ID_LENOVO")] ChannelIdLenovo = 22,
[pbr::OriginalName("CHANNEL_ID_JINLI")] ChannelIdJinli = 23,
[pbr::OriginalName("CHANNEL_ID_BAIDU")] ChannelIdBaidu = 25,
[pbr::OriginalName("CHANNEL_ID_DANGLE")] ChannelIdDangle = 26,
[pbr::OriginalName("CHANNEL_ID_WEGAME")] ChannelIdWegame = 27,
}
public enum AvatarSlotType {
[pbr::OriginalName("AVATAR_SLOT_1")] AvatarSlot1 = 0,
[pbr::OriginalName("AVATAR_SLOT_2")] AvatarSlot2 = 1,
[pbr::OriginalName("AVATAR_SLOT_3")] AvatarSlot3 = 2,
}
public enum ItemType {
[pbr::OriginalName("ITEM_TYPE_NONE")] None = 0,
[pbr::OriginalName("ITEM_AVATAR_CARD")] ItemAvatarCard = 1,
[pbr::OriginalName("ITEM_EQUIPMENT")] ItemEquipment = 2,
[pbr::OriginalName("ITEM_MATERIAL")] ItemMaterial = 3,
[pbr::OriginalName("ITEM_AVATAR_EXP")] ItemAvatarExp = 4,
[pbr::OriginalName("ITEM_RELIC")] ItemRelic = 5,
}
public enum VirtualItemType {
[pbr::OriginalName("VIRTUAL_ITEM_NONE")] VirtualItemNone = 0,
[pbr::OriginalName("VIRTUAL_ITEM_HCOIN")] VirtualItemHcoin = 1,
[pbr::OriginalName("VIRTUAL_ITEM_SCOIN")] VirtualItemScoin = 2,
[pbr::OriginalName("VIRTUAL_ITEM_MCOIN")] VirtualItemMcoin = 3,
[pbr::OriginalName("VIRTUAL_ITEM_STAMINA")] VirtualItemStamina = 11,
[pbr::OriginalName("VIRTUAL_ITEM_EXP")] VirtualItemExp = 22,
[pbr::OriginalName("VIRTUAL_ITEM_ROGUE_COIN")] VirtualItemRogueCoin = 31,
[pbr::OriginalName("VIRTUAL_ITEM_ROGUE_STAMINA")] VirtualItemRogueStamina = 32,
[pbr::OriginalName("VIRTUAL_ITEM_ROGUE_EXPLORE_EXP")] VirtualItemRogueExploreExp = 33,
[pbr::OriginalName("VIRTUAL_ITEM_ACHIEVEMENT_EXP")] VirtualItemAchievementExp = 41,
[pbr::OriginalName("VIRTUAL_ITEM_WARRIOR_EXP")] VirtualItemWarriorExp = 190,
[pbr::OriginalName("VIRTUAL_ITEM_ROGUE_EXP")] VirtualItemRogueExp = 191,
[pbr::OriginalName("VIRTUAL_ITEM_MAGE_EXP")] VirtualItemMageExp = 192,
[pbr::OriginalName("VIRTUAL_ITEM_SHAMAN_EXP")] VirtualItemShamanExp = 193,
[pbr::OriginalName("VIRTUAL_ITEM_WARLOCK_EXP")] VirtualItemWarlockExp = 194,
[pbr::OriginalName("VIRTUAL_ITEM_KNIGHT_EXP")] VirtualItemKnightExp = 195,
[pbr::OriginalName("VIRTUAL_ITEM_PRIEST_EXP")] VirtualItemPriestExp = 196,
}
public enum BlackLimitLevel {
[pbr::OriginalName("BLACK_LIMIT_LEVEL_ALL")] All = 0,
}
public enum AreaType {
[pbr::OriginalName("AREA_NONE")] AreaNone = 0,
[pbr::OriginalName("AREA_CN")] AreaCn = 1,
[pbr::OriginalName("AREA_JP")] AreaJp = 2,
[pbr::OriginalName("AREA_ASIA")] AreaAsia = 3,
[pbr::OriginalName("AREA_WEST")] AreaWest = 4,
[pbr::OriginalName("AREA_KR")] AreaKr = 5,
[pbr::OriginalName("AREA_OVERSEAS")] AreaOverseas = 6,
}
public enum EntityType {
[pbr::OriginalName("ENTITY_NONE")] EntityNone = 0,
[pbr::OriginalName("ENTITY_AVATAR")] EntityAvatar = 1,
[pbr::OriginalName("ENTITY_MONSTER")] EntityMonster = 2,
[pbr::OriginalName("ENTITY_NPC")] EntityNpc = 3,
[pbr::OriginalName("ENTITY_PROP")] EntityProp = 4,
[pbr::OriginalName("ENTITY_TRIGGER")] EntityTrigger = 5,
[pbr::OriginalName("ENTITY_ENV")] EntityEnv = 6,
}
public enum LanguageType {
[pbr::OriginalName("LANGUAGE_NONE")] LanguageNone = 0,
[pbr::OriginalName("LANGUAGE_SC")] LanguageSc = 1,
[pbr::OriginalName("LANGUAGE_TC")] LanguageTc = 2,
[pbr::OriginalName("LANGUAGE_EN")] LanguageEn = 3,
[pbr::OriginalName("LANGUAGE_KR")] LanguageKr = 4,
[pbr::OriginalName("LANGUAGE_JP")] LanguageJp = 5,
[pbr::OriginalName("LANGUAGE_FR")] LanguageFr = 6,
[pbr::OriginalName("LANGUAGE_DE")] LanguageDe = 7,
[pbr::OriginalName("LANGUAGE_ES")] LanguageEs = 8,
[pbr::OriginalName("LANGUAGE_PT")] LanguagePt = 9,
[pbr::OriginalName("LANGUAGE_RU")] LanguageRu = 10,
[pbr::OriginalName("LANGUAGE_TH")] LanguageTh = 11,
[pbr::OriginalName("LANGUAGE_VI")] LanguageVi = 12,
[pbr::OriginalName("LANGUAGE_ID")] LanguageId = 13,
}
public enum PlatformType {
[pbr::OriginalName("EDITOR")] Editor = 0,
[pbr::OriginalName("IOS")] Ios = 1,
[pbr::OriginalName("ANDROID")] Android = 2,
[pbr::OriginalName("PC")] Pc = 3,
}
public enum ReloginType {
[pbr::OriginalName("NO_KICK")] NoKick = 0,
[pbr::OriginalName("FORCE_KICK")] ForceKick = 1,
[pbr::OriginalName("IDLE_KICK")] IdleKick = 2,
}
public enum AvatarType {
[pbr::OriginalName("AVATAR_TYPE_NONE")] None = 0,
[pbr::OriginalName("AVATAR_TRIAL_TYPE")] AvatarTrialType = 1,
[pbr::OriginalName("AVATAR_LIMIT_TYPE")] AvatarLimitType = 2,
[pbr::OriginalName("AVATAR_FORMAL_TYPE")] AvatarFormalType = 3,
}
public enum HeroBasicType {
[pbr::OriginalName("None")] None = 0,
[pbr::OriginalName("BoyWarrior")] BoyWarrior = 8001,
[pbr::OriginalName("GirlWarrior")] GirlWarrior = 8002,
[pbr::OriginalName("BoyKnight")] BoyKnight = 8003,
[pbr::OriginalName("GirlKnight")] GirlKnight = 8004,
[pbr::OriginalName("BoyRogue")] BoyRogue = 8005,
[pbr::OriginalName("GirlRogue")] GirlRogue = 8006,
[pbr::OriginalName("BoyMage")] BoyMage = 8007,
[pbr::OriginalName("GirlMage")] GirlMage = 8008,
[pbr::OriginalName("BoyShaman")] BoyShaman = 8009,
[pbr::OriginalName("GirlShaman")] GirlShaman = 8010,
[pbr::OriginalName("BoyWarlock")] BoyWarlock = 8011,
[pbr::OriginalName("GirlWarlock")] GirlWarlock = 8012,
[pbr::OriginalName("BoyPriest")] BoyPriest = 8013,
[pbr::OriginalName("GirlPriest")] GirlPriest = 8014,
}
public enum Gender {
[pbr::OriginalName("GenderNone")] None = 0,
[pbr::OriginalName("GenderMan")] Man = 1,
[pbr::OriginalName("GenderWoman")] Woman = 2,
}
public enum ProductType {
[pbr::OriginalName("PRODUCT_NONE")] ProductNone = 0,
[pbr::OriginalName("PRODUCT_NORMAL")] ProductNormal = 1,
[pbr::OriginalName("PRODUCT_LIMIT")] ProductLimit = 2,
}
public enum ProductGiftType {
[pbr::OriginalName("PRODUCT_GIFT_NONE")] ProductGiftNone = 0,
[pbr::OriginalName("PRODUCT_GIFT_HCOIN")] ProductGiftHcoin = 1,
[pbr::OriginalName("PRODUCT_GIFT_SUBSCRIPTION")] ProductGiftSubscription = 2,
}
public enum FeatureSwitchType {
[pbr::OriginalName("FEATURE_SWITCH_NONE")] FeatureSwitchNone = 0,
[pbr::OriginalName("FEATURE_SWITCH_SHOP")] FeatureSwitchShop = 1,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PlayerBasicInfo : pb::IMessage<PlayerBasicInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PlayerBasicInfo> _parser = new pb::MessageParser<PlayerBasicInfo>(() => new PlayerBasicInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PlayerBasicInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CommonDefineReflection.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 PlayerBasicInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerBasicInfo(PlayerBasicInfo other) : this() {
nickname_ = other.nickname_;
level_ = other.level_;
exp_ = other.exp_;
stamina_ = other.stamina_;
mcoin_ = other.mcoin_;
hcoin_ = other.hcoin_;
scoin_ = other.scoin_;
worldLevel_ = other.worldLevel_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerBasicInfo Clone() {
return new PlayerBasicInfo(this);
}
/// <summary>Field number for the "nickname" field.</summary>
public const int NicknameFieldNumber = 1;
private string nickname_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Nickname {
get { return nickname_; }
set {
nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "level" field.</summary>
public const int LevelFieldNumber = 2;
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 "exp" field.</summary>
public const int ExpFieldNumber = 3;
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 "stamina" field.</summary>
public const int StaminaFieldNumber = 4;
private uint stamina_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Stamina {
get { return stamina_; }
set {
stamina_ = value;
}
}
/// <summary>Field number for the "mcoin" field.</summary>
public const int McoinFieldNumber = 5;
private uint mcoin_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Mcoin {
get { return mcoin_; }
set {
mcoin_ = value;
}
}
/// <summary>Field number for the "hcoin" field.</summary>
public const int HcoinFieldNumber = 6;
private uint hcoin_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Hcoin {
get { return hcoin_; }
set {
hcoin_ = value;
}
}
/// <summary>Field number for the "scoin" field.</summary>
public const int ScoinFieldNumber = 7;
private uint scoin_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Scoin {
get { return scoin_; }
set {
scoin_ = value;
}
}
/// <summary>Field number for the "world_level" field.</summary>
public const int WorldLevelFieldNumber = 8;
private uint worldLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint WorldLevel {
get { return worldLevel_; }
set {
worldLevel_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PlayerBasicInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PlayerBasicInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Nickname != other.Nickname) return false;
if (Level != other.Level) return false;
if (Exp != other.Exp) return false;
if (Stamina != other.Stamina) return false;
if (Mcoin != other.Mcoin) return false;
if (Hcoin != other.Hcoin) return false;
if (Scoin != other.Scoin) return false;
if (WorldLevel != other.WorldLevel) 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 (Nickname.Length != 0) hash ^= Nickname.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Exp != 0) hash ^= Exp.GetHashCode();
if (Stamina != 0) hash ^= Stamina.GetHashCode();
if (Mcoin != 0) hash ^= Mcoin.GetHashCode();
if (Hcoin != 0) hash ^= Hcoin.GetHashCode();
if (Scoin != 0) hash ^= Scoin.GetHashCode();
if (WorldLevel != 0) hash ^= WorldLevel.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 (Nickname.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Nickname);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Level);
}
if (Exp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Exp);
}
if (Stamina != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Stamina);
}
if (Mcoin != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Mcoin);
}
if (Hcoin != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Hcoin);
}
if (Scoin != 0) {
output.WriteRawTag(56);
output.WriteUInt32(Scoin);
}
if (WorldLevel != 0) {
output.WriteRawTag(64);
output.WriteUInt32(WorldLevel);
}
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 (Nickname.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Nickname);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Level);
}
if (Exp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Exp);
}
if (Stamina != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Stamina);
}
if (Mcoin != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Mcoin);
}
if (Hcoin != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Hcoin);
}
if (Scoin != 0) {
output.WriteRawTag(56);
output.WriteUInt32(Scoin);
}
if (WorldLevel != 0) {
output.WriteRawTag(64);
output.WriteUInt32(WorldLevel);
}
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 (Nickname.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
}
if (Exp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
}
if (Stamina != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Stamina);
}
if (Mcoin != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Mcoin);
}
if (Hcoin != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Hcoin);
}
if (Scoin != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Scoin);
}
if (WorldLevel != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PlayerBasicInfo other) {
if (other == null) {
return;
}
if (other.Nickname.Length != 0) {
Nickname = other.Nickname;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Exp != 0) {
Exp = other.Exp;
}
if (other.Stamina != 0) {
Stamina = other.Stamina;
}
if (other.Mcoin != 0) {
Mcoin = other.Mcoin;
}
if (other.Hcoin != 0) {
Hcoin = other.Hcoin;
}
if (other.Scoin != 0) {
Scoin = other.Scoin;
}
if (other.WorldLevel != 0) {
WorldLevel = other.WorldLevel;
}
_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 10: {
Nickname = input.ReadString();
break;
}
case 16: {
Level = input.ReadUInt32();
break;
}
case 24: {
Exp = input.ReadUInt32();
break;
}
case 32: {
Stamina = input.ReadUInt32();
break;
}
case 40: {
Mcoin = input.ReadUInt32();
break;
}
case 48: {
Hcoin = input.ReadUInt32();
break;
}
case 56: {
Scoin = input.ReadUInt32();
break;
}
case 64: {
WorldLevel = 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 10: {
Nickname = input.ReadString();
break;
}
case 16: {
Level = input.ReadUInt32();
break;
}
case 24: {
Exp = input.ReadUInt32();
break;
}
case 32: {
Stamina = input.ReadUInt32();
break;
}
case 40: {
Mcoin = input.ReadUInt32();
break;
}
case 48: {
Hcoin = input.ReadUInt32();
break;
}
case 56: {
Scoin = input.ReadUInt32();
break;
}
case 64: {
WorldLevel = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BlackInfo : pb::IMessage<BlackInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BlackInfo> _parser = new pb::MessageParser<BlackInfo>(() => new BlackInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BlackInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CommonDefineReflection.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 BlackInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BlackInfo(BlackInfo other) : this() {
beginTime_ = other.beginTime_;
endTime_ = other.endTime_;
limitLevel_ = other.limitLevel_;
banType_ = other.banType_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BlackInfo Clone() {
return new BlackInfo(this);
}
/// <summary>Field number for the "begin_time" field.</summary>
public const int BeginTimeFieldNumber = 1;
private uint beginTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BeginTime {
get { return beginTime_; }
set {
beginTime_ = value;
}
}
/// <summary>Field number for the "end_time" field.</summary>
public const int EndTimeFieldNumber = 2;
private uint endTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EndTime {
get { return endTime_; }
set {
endTime_ = value;
}
}
/// <summary>Field number for the "limit_level" field.</summary>
public const int LimitLevelFieldNumber = 3;
private uint limitLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint LimitLevel {
get { return limitLevel_; }
set {
limitLevel_ = value;
}
}
/// <summary>Field number for the "ban_type" field.</summary>
public const int BanTypeFieldNumber = 4;
private uint banType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BanType {
get { return banType_; }
set {
banType_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BlackInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BlackInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (BeginTime != other.BeginTime) return false;
if (EndTime != other.EndTime) return false;
if (LimitLevel != other.LimitLevel) return false;
if (BanType != other.BanType) 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 (BeginTime != 0) hash ^= BeginTime.GetHashCode();
if (EndTime != 0) hash ^= EndTime.GetHashCode();
if (LimitLevel != 0) hash ^= LimitLevel.GetHashCode();
if (BanType != 0) hash ^= BanType.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 (BeginTime != 0) {
output.WriteRawTag(8);
output.WriteUInt32(BeginTime);
}
if (EndTime != 0) {
output.WriteRawTag(16);
output.WriteUInt32(EndTime);
}
if (LimitLevel != 0) {
output.WriteRawTag(24);
output.WriteUInt32(LimitLevel);
}
if (BanType != 0) {
output.WriteRawTag(32);
output.WriteUInt32(BanType);
}
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 (BeginTime != 0) {
output.WriteRawTag(8);
output.WriteUInt32(BeginTime);
}
if (EndTime != 0) {
output.WriteRawTag(16);
output.WriteUInt32(EndTime);
}
if (LimitLevel != 0) {
output.WriteRawTag(24);
output.WriteUInt32(LimitLevel);
}
if (BanType != 0) {
output.WriteRawTag(32);
output.WriteUInt32(BanType);
}
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 (BeginTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BeginTime);
}
if (EndTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EndTime);
}
if (LimitLevel != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LimitLevel);
}
if (BanType != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BanType);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BlackInfo other) {
if (other == null) {
return;
}
if (other.BeginTime != 0) {
BeginTime = other.BeginTime;
}
if (other.EndTime != 0) {
EndTime = other.EndTime;
}
if (other.LimitLevel != 0) {
LimitLevel = other.LimitLevel;
}
if (other.BanType != 0) {
BanType = other.BanType;
}
_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: {
BeginTime = input.ReadUInt32();
break;
}
case 16: {
EndTime = input.ReadUInt32();
break;
}
case 24: {
LimitLevel = input.ReadUInt32();
break;
}
case 32: {
BanType = 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: {
BeginTime = input.ReadUInt32();
break;
}
case 16: {
EndTime = input.ReadUInt32();
break;
}
case 24: {
LimitLevel = input.ReadUInt32();
break;
}
case 32: {
BanType = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class VersionCount : pb::IMessage<VersionCount>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<VersionCount> _parser = new pb::MessageParser<VersionCount>(() => new VersionCount());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<VersionCount> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CommonDefineReflection.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 VersionCount() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public VersionCount(VersionCount other) : this() {
version_ = other.version_;
count_ = other.count_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public VersionCount Clone() {
return new VersionCount(this);
}
/// <summary>Field number for the "version" field.</summary>
public const int VersionFieldNumber = 1;
private uint version_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Version {
get { return version_; }
set {
version_ = 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;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as VersionCount);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(VersionCount other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Version != other.Version) return false;
if (Count != other.Count) 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 (Version != 0) hash ^= Version.GetHashCode();
if (Count != 0) hash ^= Count.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 (Version != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Version);
}
if (Count != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Count);
}
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 (Version != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Version);
}
if (Count != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Count);
}
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 (Version != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version);
}
if (Count != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(VersionCount other) {
if (other == null) {
return;
}
if (other.Version != 0) {
Version = other.Version;
}
if (other.Count != 0) {
Count = other.Count;
}
_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: {
Version = input.ReadUInt32();
break;
}
case 16: {
Count = 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: {
Version = input.ReadUInt32();
break;
}
case 16: {
Count = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ClientDownloadData : pb::IMessage<ClientDownloadData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ClientDownloadData> _parser = new pb::MessageParser<ClientDownloadData>(() => new ClientDownloadData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ClientDownloadData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CommonDefineReflection.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 ClientDownloadData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ClientDownloadData(ClientDownloadData other) : this() {
version_ = other.version_;
time_ = other.time_;
data_ = other.data_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ClientDownloadData Clone() {
return new ClientDownloadData(this);
}
/// <summary>Field number for the "version" field.</summary>
public const int VersionFieldNumber = 1;
private uint version_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Version {
get { return version_; }
set {
version_ = value;
}
}
/// <summary>Field number for the "time" field.</summary>
public const int TimeFieldNumber = 2;
private uint time_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Time {
get { return time_; }
set {
time_ = value;
}
}
/// <summary>Field number for the "data" field.</summary>
public const int DataFieldNumber = 3;
private pb::ByteString data_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString Data {
get { return data_; }
set {
data_ = 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 ClientDownloadData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ClientDownloadData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Version != other.Version) return false;
if (Time != other.Time) return false;
if (Data != other.Data) 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 (Version != 0) hash ^= Version.GetHashCode();
if (Time != 0) hash ^= Time.GetHashCode();
if (Data.Length != 0) hash ^= Data.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 (Version != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Version);
}
if (Time != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Time);
}
if (Data.Length != 0) {
output.WriteRawTag(26);
output.WriteBytes(Data);
}
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 (Version != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Version);
}
if (Time != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Time);
}
if (Data.Length != 0) {
output.WriteRawTag(26);
output.WriteBytes(Data);
}
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 (Version != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version);
}
if (Time != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time);
}
if (Data.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ClientDownloadData other) {
if (other == null) {
return;
}
if (other.Version != 0) {
Version = other.Version;
}
if (other.Time != 0) {
Time = other.Time;
}
if (other.Data.Length != 0) {
Data = other.Data;
}
_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: {
Version = input.ReadUInt32();
break;
}
case 16: {
Time = input.ReadUInt32();
break;
}
case 26: {
Data = 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) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Version = input.ReadUInt32();
break;
}
case 16: {
Time = input.ReadUInt32();
break;
}
case 26: {
Data = input.ReadBytes();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ClientUploadData : pb::IMessage<ClientUploadData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ClientUploadData> _parser = new pb::MessageParser<ClientUploadData>(() => new ClientUploadData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ClientUploadData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CommonDefineReflection.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 ClientUploadData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ClientUploadData(ClientUploadData other) : this() {
tag_ = other.tag_;
value_ = other.value_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ClientUploadData Clone() {
return new ClientUploadData(this);
}
/// <summary>Field number for the "tag" field.</summary>
public const int TagFieldNumber = 1;
private string tag_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Tag {
get { return tag_; }
set {
tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "value" field.</summary>
public const int ValueFieldNumber = 2;
private string value_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Value {
get { return value_; }
set {
value_ = 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 ClientUploadData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ClientUploadData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Tag != other.Tag) return false;
if (Value != other.Value) 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 (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (Value.Length != 0) hash ^= Value.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 (Tag.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Tag);
}
if (Value.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Value);
}
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 (Tag.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Tag);
}
if (Value.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Value);
}
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 (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
}
if (Value.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ClientUploadData other) {
if (other == null) {
return;
}
if (other.Tag.Length != 0) {
Tag = other.Tag;
}
if (other.Value.Length != 0) {
Value = other.Value;
}
_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 10: {
Tag = input.ReadString();
break;
}
case 18: {
Value = input.ReadString();
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 10: {
Tag = input.ReadString();
break;
}
case 18: {
Value = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class FeatureSwitchParam : pb::IMessage<FeatureSwitchParam>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<FeatureSwitchParam> _parser = new pb::MessageParser<FeatureSwitchParam>(() => new FeatureSwitchParam());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<FeatureSwitchParam> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CommonDefineReflection.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 FeatureSwitchParam() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FeatureSwitchParam(FeatureSwitchParam other) : this() {
paramList_ = other.paramList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FeatureSwitchParam Clone() {
return new FeatureSwitchParam(this);
}
/// <summary>Field number for the "param_list" field.</summary>
public const int ParamListFieldNumber = 1;
private static readonly pb::FieldCodec<uint> _repeated_paramList_codec
= pb::FieldCodec.ForUInt32(10);
private readonly pbc::RepeatedField<uint> paramList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> ParamList {
get { return paramList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as FeatureSwitchParam);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(FeatureSwitchParam other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!paramList_.Equals(other.paramList_)) 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;
hash ^= paramList_.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
paramList_.WriteTo(output, _repeated_paramList_codec);
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) {
paramList_.WriteTo(ref output, _repeated_paramList_codec);
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;
size += paramList_.CalculateSize(_repeated_paramList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(FeatureSwitchParam other) {
if (other == null) {
return;
}
paramList_.Add(other.paramList_);
_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 10:
case 8: {
paramList_.AddEntriesFrom(input, _repeated_paramList_codec);
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 10:
case 8: {
paramList_.AddEntriesFrom(ref input, _repeated_paramList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class FeatureSwitchInfo : pb::IMessage<FeatureSwitchInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<FeatureSwitchInfo> _parser = new pb::MessageParser<FeatureSwitchInfo>(() => new FeatureSwitchInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<FeatureSwitchInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CommonDefineReflection.Descriptor.MessageTypes[6]; }
}
[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 FeatureSwitchInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FeatureSwitchInfo(FeatureSwitchInfo other) : this() {
type_ = other.type_;
switchList_ = other.switchList_.Clone();
isAllClosed_ = other.isAllClosed_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FeatureSwitchInfo Clone() {
return new FeatureSwitchInfo(this);
}
/// <summary>Field number for the "type" field.</summary>
public const int TypeFieldNumber = 1;
private global::RPG.Network.Proto.FeatureSwitchType type_ = global::RPG.Network.Proto.FeatureSwitchType.FeatureSwitchNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.FeatureSwitchType Type {
get { return type_; }
set {
type_ = value;
}
}
/// <summary>Field number for the "switch_list" field.</summary>
public const int SwitchListFieldNumber = 2;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.FeatureSwitchParam> _repeated_switchList_codec
= pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.FeatureSwitchParam.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.FeatureSwitchParam> switchList_ = new pbc::RepeatedField<global::RPG.Network.Proto.FeatureSwitchParam>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.FeatureSwitchParam> SwitchList {
get { return switchList_; }
}
/// <summary>Field number for the "is_all_closed" field.</summary>
public const int IsAllClosedFieldNumber = 3;
private bool isAllClosed_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsAllClosed {
get { return isAllClosed_; }
set {
isAllClosed_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as FeatureSwitchInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(FeatureSwitchInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Type != other.Type) return false;
if(!switchList_.Equals(other.switchList_)) return false;
if (IsAllClosed != other.IsAllClosed) 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 (Type != global::RPG.Network.Proto.FeatureSwitchType.FeatureSwitchNone) hash ^= Type.GetHashCode();
hash ^= switchList_.GetHashCode();
if (IsAllClosed != false) hash ^= IsAllClosed.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 (Type != global::RPG.Network.Proto.FeatureSwitchType.FeatureSwitchNone) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
switchList_.WriteTo(output, _repeated_switchList_codec);
if (IsAllClosed != false) {
output.WriteRawTag(24);
output.WriteBool(IsAllClosed);
}
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 (Type != global::RPG.Network.Proto.FeatureSwitchType.FeatureSwitchNone) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
switchList_.WriteTo(ref output, _repeated_switchList_codec);
if (IsAllClosed != false) {
output.WriteRawTag(24);
output.WriteBool(IsAllClosed);
}
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 (Type != global::RPG.Network.Proto.FeatureSwitchType.FeatureSwitchNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
}
size += switchList_.CalculateSize(_repeated_switchList_codec);
if (IsAllClosed != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(FeatureSwitchInfo other) {
if (other == null) {
return;
}
if (other.Type != global::RPG.Network.Proto.FeatureSwitchType.FeatureSwitchNone) {
Type = other.Type;
}
switchList_.Add(other.switchList_);
if (other.IsAllClosed != false) {
IsAllClosed = other.IsAllClosed;
}
_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: {
Type = (global::RPG.Network.Proto.FeatureSwitchType) input.ReadEnum();
break;
}
case 18: {
switchList_.AddEntriesFrom(input, _repeated_switchList_codec);
break;
}
case 24: {
IsAllClosed = input.ReadBool();
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: {
Type = (global::RPG.Network.Proto.FeatureSwitchType) input.ReadEnum();
break;
}
case 18: {
switchList_.AddEntriesFrom(ref input, _repeated_switchList_codec);
break;
}
case 24: {
IsAllClosed = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code