From 0e408c9dad1eb3f64421f2fff9746a8d244e8df4 Mon Sep 17 00:00:00 2001 From: Naruse <71993948+DevilProMT@users.noreply.github.com> Date: Mon, 27 Apr 2026 15:15:20 +0800 Subject: [PATCH] delete proto and use prebuilt proto --- Proto/Core.cs | 11020 ++++++++++++++++++++++++++++++++++++++++ Proto/Core.proto | 302 -- Proto/SnowBreak.cs | 10814 +++++++++++++++++++++++++++++++++++++++ Proto/Snowbreak.proto | 381 -- 4 files changed, 21834 insertions(+), 683 deletions(-) create mode 100644 Proto/Core.cs delete mode 100644 Proto/Core.proto create mode 100644 Proto/SnowBreak.cs delete mode 100644 Proto/Snowbreak.proto diff --git a/Proto/Core.cs b/Proto/Core.cs new file mode 100644 index 0000000..052848e --- /dev/null +++ b/Proto/Core.cs @@ -0,0 +1,11020 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Core.proto +// +#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 MikuSB.Proto { + + /// Holder for reflection information generated from Core.proto + public static partial class CoreReflection { + + #region Descriptor + /// File descriptor for Core.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CoreReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CgpDb3JlLnByb3RvEgRDb3JlIgcKBUVtcHR5Ih0KDVNpbXBsZUJvb2xlYW4S", + "DAoEZGF0YRgBIAEoCCIaCgpTaW1wbGVVaW50EgwKBGRhdGEYASABKAQiHAoM", + "U2ltcGxlU3RyaW5nEgwKBGRhdGEYASABKAkiFgoHSURBcnJheRILCgNpZHMY", + "ASADKAQiGwoLU3RyaW5nQXJyYXkSDAoEbGlzdBgBIAMoCSI3ChJQbGF5ZXJQ", + "cm9maWxlQXJyYXkSIQoEbGlzdBgBIAMoCzITLkNvcmUuUGxheWVyUHJvZmls", + "ZSIyCgpDaGFubmVsT3B0Eg8KB2NoYW5uZWwYASABKAkSEwoLc3ViY2hhbm5l", + "bHMYAiADKAkiRwoKU2ltcGxlSXRlbRIJCgFHGAEgASgNEgkKAUQYAiABKA0S", + "CQoBUBgDIAEoDRIJCgFMGAQgASgNEg0KBUNvdW50GAUgASgNIoYBCgdFbmhh", + "bmNlEg0KBWxldmVsGAEgASgNEgsKA2V4cBgCIAEoDRINCgVicmVhaxgDIAEo", + "DRIOCgZldm9sdWUYBCABKA0SDQoFdHJ1c3QYBSABKA0SEQoJcHJvX2xldmVs", + "GAYgASgNEg4KBnNwaW5lcxgLIAMoBBIOCgZhZmZpeHMYDCADKA0i2wEKBEl0", + "ZW0SCgoCaWQYASABKAQSEAoIdGVtcGxhdGUYAiABKAQSDQoFY291bnQYAyAB", + "KA0SDAoEZmxhZxgEIAEoDRIQCgh1c2VyZGF0YRgFIAEoDRISCgpleHBpcmF0", + "aW9uGAYgASgNEh4KB2VuaGFuY2UYByABKAsyDS5Db3JlLkVuaGFuY2USJAoF", + "c2xvdHMYCCADKAsyFS5Db3JlLkl0ZW0uU2xvdHNFbnRyeRosCgpTbG90c0Vu", + "dHJ5EgsKA2tleRgBIAEoDRINCgV2YWx1ZRgCIAEoBDoCOAEiWAoGTGluZXVw", + "Eg0KBWluZGV4GAEgASgNEgwKBG5hbWUYAiABKAkSDwoHbWVtYmVyMRgDIAEo", + "BBIPCgdtZW1iZXIyGAQgASgEEg8KB21lbWJlcjMYBSABKAQinAkKBlBsYXll", + "chILCgNwaWQYASABKAQSDwoHYWNjb3VudBgCIAEoCRIQCghwcm92aWRlchgD", + "IAEoCRIPCgdjaGFubmVsGAQgASgJEhIKCnN1YmNoYW5uZWwYBSABKAkSDAoE", + "bmFtZRgLIAEoCRIMCgRzaWduGAwgASgJEhYKA3NleBgNIAEoDjIJLkNvcmUu", + "U2V4Eg0KBWxldmVsGA4gASgNEgsKA2V4cBgPIAEoDRINCgV2aWdvchgQIAEo", + "DRImCgVtb25leRgRIAMoCzIXLkNvcmUuUGxheWVyLk1vbmV5RW50cnkSDwoH", + "Y2hhcmdlZBgSIAEoDRITCgtjcmVhdGVfdGltZRgfIAEoDRIXCg9sYXN0X2xv", + "Z2luX3RpbWUYICABKA0SFwoPbGFzdF92aWdvcl90aW1lGCEgASgNEhUKDWl0", + "ZW1faWRfYWxsb2MYKSABKAQSGQoFaXRlbXMYKiADKAsyCi5Db3JlLkl0ZW0S", + "HwoJc29sdXRpb25zGCsgAygLMgwuQ29yZS5MaW5ldXASJgoFYXR0cnMYLCAD", + "KAsyFy5Db3JlLlBsYXllci5BdHRyc0VudHJ5Ei0KCXN0cl9hdHRycxgtIAMo", + "CzIaLkNvcmUuUGxheWVyLlN0ckF0dHJzRW50cnkSEgoKc2hvd19pdGVtcxgu", + "IAMoBBISCgpzaG93X2F0dHJzGC8gAygNEjUKDWZyaWVuZF9waWVjZXMYMCAD", + "KAsyHi5Db3JlLlBsYXllci5GcmllbmRQaWVjZXNFbnRyeRITCgtsYXN0X3Bp", + "ZWNlcxgxIAEoBBIrCghtYWlsX2JveBgyIAMoCzIZLkNvcmUuUGxheWVyLk1h", + "aWxCb3hFbnRyeRIdChVsYXN0X2dsb2JhbF9tYWlsX3RpbWUYMyABKA0SFwoP", + "bGFzdF9wZXJzb25fbWlkGDQgASgEEg4KBmJhZGdlcxg1IAMoBBItCglvcmRl", + "cl9ib3gYPCADKAsyGi5Db3JlLlBsYXllci5PcmRlckJveEVudHJ5EgwKBHRh", + "Z3MYYCADKAQSDgoGc2VyaWFsGGEgASgEEhAKCGJhbl90eXBlGGIgASgNEhAK", + "CGJhbl9leHByGGMgASgNGiwKCk1vbmV5RW50cnkSCwoDa2V5GAEgASgJEg0K", + "BXZhbHVlGAIgASgFOgI4ARosCgpBdHRyc0VudHJ5EgsKA2tleRgBIAEoDRIN", + "CgV2YWx1ZRgCIAEoDToCOAEaLwoNU3RyQXR0cnNFbnRyeRILCgNrZXkYASAB", + "KA0SDQoFdmFsdWUYAiABKAk6AjgBGkcKEUZyaWVuZFBpZWNlc0VudHJ5EgsK", + "A2tleRgBIAEoBBIhCgV2YWx1ZRgCIAEoCzISLkNvcmUuRnJpZW5kUGllY2Vz", + "OgI4ARpACgxNYWlsQm94RW50cnkSCwoDa2V5GAEgASgEEh8KBXZhbHVlGAIg", + "ASgLMhAuQ29yZS5QbGF5ZXJNYWlsOgI4ARpCCg1PcmRlckJveEVudHJ5EgsK", + "A2tleRgBIAEoCRIgCgV2YWx1ZRgCIAEoCzIRLkNvcmUuUGxheWVyT3JkZXI6", + "AjgBIlgKDEZyaWVuZFBpZWNlcxINCgVpbmRleBgBIAEoBBILCgNwaWQYAiAB", + "KAQSDQoFc2hhcGUYAyABKA0SDAoEZXhwchgEIAEoDRIPCgdkZWxldGVkGAUg", + "ASgIIlkKClBsYXllck1haWwSCwoDbWlkGAEgASgEEhwKBHN0YXQYAiABKA4y", + "Di5Db3JlLk1haWxTdGF0EgwKBHRpbWUYAyABKA0SEgoKZXhwaXJhdGlvbhgE", + "IAEoDSLZAQoETWFpbBILCgNtaWQYASABKAQSDQoFdGl0bGUYAiABKAkSDwoH", + "bWVzc2FnZRgDIAEoCRIlCgthdHRhY2htZW50cxgEIAMoCzIQLkNvcmUuU2lt", + "cGxlSXRlbRIOCgZzZW5kZXIYBSABKAkSCwoDcGlkGAYgASgEEgwKBHRpbWUY", + "ByABKA0SEgoKZXhwaXJhdGlvbhgIIAEoDRIMCgRsaWZlGAkgASgNEhwKBHN0", + "YXQYCiABKA4yDi5Db3JlLk1haWxTdGF0EhIKCmlzX2RlbGV0ZWQYYyABKAgi", + "0AIKCkdsb2JhbE1haWwSCwoDbWlkGAEgASgEEg4KBnNlbmRlchgCIAEoCRIN", + "CgV0aXRsZRgDIAEoCRIPCgdtZXNzYWdlGAQgASgJEiUKC2F0dGFjaG1lbnRz", + "GAUgAygLMhAuQ29yZS5TaW1wbGVJdGVtEhIKCnN0YXJ0X3RpbWUYBiABKA0S", + "EAoIZW5kX3RpbWUYByABKA0SDAoEbGlmZRgIIAEoDRISCgpleHBpcmF0aW9u", + "GAkgASgNEhEKCW1pbl9sZXZlbBgKIAEoDRIRCgltYXhfbGV2ZWwYDCABKA0S", + "FAoMY3JlYXRlX2JlZ2luGA0gASgNEhIKCmNyZWF0ZV9lbmQYDiABKA0SIgoI", + "Y2hhbm5lbHMYDyADKAsyEC5Db3JlLkNoYW5uZWxPcHQSIgoEc3RhdBhjIAEo", + "DjIULkNvcmUuR2xvYmFsTWFpbFN0YXQivAIKBU9yZGVyEhAKCHRyYWRlX25v", + "GAEgASgJEhYKDnRoaXJkX3RyYWRlX25vGAIgASgJEgsKA3BpZBgDIAEoBBIS", + "Cgpwcm9kdWN0X2lkGAQgASgJEhgKEHByb2R1Y3RfcXVhbnRpdHkYBSABKA0S", + "EwoLdG90YWxfcHJpY2UYBiABKA0SEgoKcGFpZF9wcmljZRgHIAEoDRITCgtm", + "aW5pc2hfdGltZRgIIAEoCRIOCgZzdGF0dXMYCSABKAgSFQoNcmVmdW5kX3N0", + "YXR1cxgKIAEoCBITCgtyZWZ1bmRfdGltZRgLIAEoCRISCgpzdWJjaGFubmVs", + "GAwgASgJEhEKCXByaWNldW5pdBgNIAEoCRIZChFzdXBwbGVtZW50X3N0YXR1", + "cxgOIAEoCBISCgpleHRlbmRpbmZvGA8gASgJIoIBCgtQbGF5ZXJPcmRlchIQ", + "Cgh0cmFkZV9ubxgBIAEoCRISCgpzdWJjaGFubmVsGAIgASgJEhEKCWRvbmVf", + "dGltZRgDIAEoDRITCgtyZWZ1bmRfdGltZRgEIAEoDRIRCglpc191bnJlYWwY", + "BSABKAgSEgoKc3VwcGxlbWVudBgGIAEoDSKOAgoNUGxheWVyUHJvZmlsZRIL", + "CgNwaWQYASABKAQSDwoHYWNjb3VudBgCIAEoCRITCgtjcmVhdGVfdGltZRgD", + "IAEoDRIMCgRuYW1lGAQgASgJEgwKBHNpZ24YBSABKAkSFgoDc2V4GAYgASgO", + "MgkuQ29yZS5TZXgSDQoFbGV2ZWwYByABKA0SEwoLbG9nb3V0X3RpbWUYCCAB", + "KA0SFAoMZnJpZW5kX2NvdW50GAkgASgNEh4KCnNob3dfaXRlbXMYCiADKAsy", + "Ci5Db3JlLkl0ZW0SEgoKc2hvd19hdHRycxgLIAMoDRIaCgZiYWRnZXMYDCAD", + "KAsyCi5Db3JlLkl0ZW0SDAoEdGFncxgNIAMoBCLHAgoNQ2xpZW50UHJvZmls", + "ZRIPCgdwbGF0X2lkGAEgASgNEg8KB3ZlcnNpb24YAiABKAkSEgoKb3NfdmVy", + "c2lvbhgDIAEoCRITCgtvc19oYXJkd2FyZRgEIAEoCRIUCgx0ZWxlY29tX29w", + "ZXIYBSABKAkSDwoHbmV0d29yaxgGIAEoCRIUCgxzY3JlZW5fd2lkdGgYByAB", + "KA0SFQoNc2NyZWVuX2hlaWdodBgIIAEoDRIPCgdkZW5zaXR5GAkgASgCEhMK", + "C2NwdV9wcm9maWxlGAogASgJEgsKA3JhbRgLIAEoDRIRCglnbF9yZW5kZXIY", + "DCABKAkSEgoKZ2xfdmVyc2lvbhgNIAEoCRIRCglkZXZpY2VfaWQYDiABKAkS", + "GAoQcmVzb3VyY2VfdmVyc2lvbhgPIAEoCRIQCghsYW5ndWFnZRgQIAEoCSKp", + "AgoMT25saW5lUGxheWVyEgsKA3BpZBgBIAEoBBIMCgRuYW1lGAIgASgJEgwK", + "BGZhY2UYAyABKAQSEQoJZmFjZWZyYW1lGAQgASgEEg0KBWxldmVsGAUgASgN", + "EhwKBmxpbmV1cBgGIAEoCzIMLkNvcmUuTGluZXVwEhkKBWl0ZW1zGAcgAygL", + "MgouQ29yZS5JdGVtEg8KB2NhcHRhaW4YCCABKAgSEQoJc3RhdGVmbGFnGAkg", + "ASgNEhUKDWdpcmxsb3ZlbGV2ZWwYCiADKA0SLAoFYXR0cnMYCyADKAsyHS5D", + "b3JlLk9ubGluZVBsYXllci5BdHRyc0VudHJ5GiwKCkF0dHJzRW50cnkSCwoD", + "a2V5GAEgASgNEg0KBXZhbHVlGAIgASgNOgI4ASI+Cg1PbmxpbmVFbmREYXRh", + "EgsKA3BpZBgBIAEoBBIQCghpbmZvZGF0YRgCIAEoCRIOCgZzdGF0dXMYAyAB", + "KA0iUgoLQWNjb3VudEluZm8SDwoHYWNjb3VudBgBIAEoCRILCgNwaWQYAiAB", + "KAQSEQoJbmV3X2d1aWRlGAMgASgNEhIKCmVycm9yX2luZm8YBCADKA0isgEK", + "B0NoYXRNc2cSHAoEdHlwZRgBIAEoDjIOLkNvcmUuQ2hhdFR5cGUSEgoKY2hh", + "bm5lbF9pZBgCIAEoDRIOCgZzZW5kZXIYAyABKAQSDgoGcmVjdmVyGAQgASgE", + "EhIKCnRpbWVfc3RhbXAYBSABKA0SDQoFZW1vamkYCyABKAQSDAoEdGV4dBgM", + "IAEoCRIkCgdwcm9maWxlGBUgASgLMhMuQ29yZS5QbGF5ZXJQcm9maWxlInoK", + "DEN1c3RvbVJvc3RlchILCgNwaWQYASABKAQSLgoGcm9zdGVyGAIgAygLMh4u", + "Q29yZS5DdXN0b21Sb3N0ZXIuUm9zdGVyRW50cnkaLQoLUm9zdGVyRW50cnkS", + "CwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASLNAQoLR2xvYmFsQXR0", + "cnMSKwoFYXR0cnMYASADKAsyHC5Db3JlLkdsb2JhbEF0dHJzLkF0dHJzRW50", + "cnkSMgoJc3RyX2F0dHJzGAIgAygLMh8uQ29yZS5HbG9iYWxBdHRycy5TdHJB", + "dHRyc0VudHJ5GiwKCkF0dHJzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVl", + "GAIgASgNOgI4ARovCg1TdHJBdHRyc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2", + "YWx1ZRgCIAEoCToCOAEqGwoDU2V4EggKBE1BTEUQABIKCgZGRU1BTEUQASpR", + "ChNQbGF5ZXJDb3JlQXR0cmlidXRlEgkKBUxFVkVMEAASBwoDRVhQEAESCQoF", + "VklHT1IQAhILCgdDSEFSR0VEEAMSDgoKVklHT1JfVElNRRAEKjcKCE1haWxT", + "dGF0EgcKA05ldxAAEgoKBlJlYWRlZBABEgkKBUdldGVkEAISCwoHUmVtb3Zl", + "ZBADKjYKDkdsb2JhbE1haWxTdGF0EgsKB0RlZmF1bHQQABIKCgZCYW5uZWQQ", + "ARILCgdEZWxldGVkEAIqOQoIQ2hhdFR5cGUSCgoGU1lTVEVNEAASCQoFV09S", + "TEQQARIKCgZGUklFTkQQAhIKCgZPTkxJTkUQA0IPqgIMTWlrdVNCLlByb3Rv", + "YgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::MikuSB.Proto.Sex), typeof(global::MikuSB.Proto.PlayerCoreAttribute), typeof(global::MikuSB.Proto.MailStat), typeof(global::MikuSB.Proto.GlobalMailStat), typeof(global::MikuSB.Proto.ChatType), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.Empty), global::MikuSB.Proto.Empty.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.SimpleBoolean), global::MikuSB.Proto.SimpleBoolean.Parser, new[]{ "Data" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.SimpleUint), global::MikuSB.Proto.SimpleUint.Parser, new[]{ "Data" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.SimpleString), global::MikuSB.Proto.SimpleString.Parser, new[]{ "Data" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.IDArray), global::MikuSB.Proto.IDArray.Parser, new[]{ "Ids" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.StringArray), global::MikuSB.Proto.StringArray.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.PlayerProfileArray), global::MikuSB.Proto.PlayerProfileArray.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ChannelOpt), global::MikuSB.Proto.ChannelOpt.Parser, new[]{ "Channel", "Subchannels" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.SimpleItem), global::MikuSB.Proto.SimpleItem.Parser, new[]{ "G", "D", "P", "L", "Count" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.Enhance), global::MikuSB.Proto.Enhance.Parser, new[]{ "Level", "Exp", "Break", "Evolue", "Trust", "ProLevel", "Spines", "Affixs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.Item), global::MikuSB.Proto.Item.Parser, new[]{ "Id", "Template", "Count", "Flag", "Userdata", "Expiration", "Enhance", "Slots" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.Lineup), global::MikuSB.Proto.Lineup.Parser, new[]{ "Index", "Name", "Member1", "Member2", "Member3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.Player), global::MikuSB.Proto.Player.Parser, new[]{ "Pid", "Account", "Provider", "Channel", "Subchannel", "Name", "Sign", "Sex", "Level", "Exp", "Vigor", "Money", "Charged", "CreateTime", "LastLoginTime", "LastVigorTime", "ItemIdAlloc", "Items", "Solutions", "Attrs", "StrAttrs", "ShowItems", "ShowAttrs", "FriendPieces", "LastPieces", "MailBox", "LastGlobalMailTime", "LastPersonMid", "Badges", "OrderBox", "Tags", "Serial", "BanType", "BanExpr" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, null, null, null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.FriendPieces), global::MikuSB.Proto.FriendPieces.Parser, new[]{ "Index", "Pid", "Shape", "Expr", "Deleted" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.PlayerMail), global::MikuSB.Proto.PlayerMail.Parser, new[]{ "Mid", "Stat", "Time", "Expiration" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.Mail), global::MikuSB.Proto.Mail.Parser, new[]{ "Mid", "Title", "Message", "Attachments", "Sender", "Pid", "Time", "Expiration", "Life", "Stat", "IsDeleted" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.GlobalMail), global::MikuSB.Proto.GlobalMail.Parser, new[]{ "Mid", "Sender", "Title", "Message", "Attachments", "StartTime", "EndTime", "Life", "Expiration", "MinLevel", "MaxLevel", "CreateBegin", "CreateEnd", "Channels", "Stat" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.Order), global::MikuSB.Proto.Order.Parser, new[]{ "TradeNo", "ThirdTradeNo", "Pid", "ProductId", "ProductQuantity", "TotalPrice", "PaidPrice", "FinishTime", "Status", "RefundStatus", "RefundTime", "Subchannel", "Priceunit", "SupplementStatus", "Extendinfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.PlayerOrder), global::MikuSB.Proto.PlayerOrder.Parser, new[]{ "TradeNo", "Subchannel", "DoneTime", "RefundTime", "IsUnreal", "Supplement" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.PlayerProfile), global::MikuSB.Proto.PlayerProfile.Parser, new[]{ "Pid", "Account", "CreateTime", "Name", "Sign", "Sex", "Level", "LogoutTime", "FriendCount", "ShowItems", "ShowAttrs", "Badges", "Tags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ClientProfile), global::MikuSB.Proto.ClientProfile.Parser, new[]{ "PlatId", "Version", "OsVersion", "OsHardware", "TelecomOper", "Network", "ScreenWidth", "ScreenHeight", "Density", "CpuProfile", "Ram", "GlRender", "GlVersion", "DeviceId", "ResourceVersion", "Language" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.OnlinePlayer), global::MikuSB.Proto.OnlinePlayer.Parser, new[]{ "Pid", "Name", "Face", "Faceframe", "Level", "Lineup", "Items", "Captain", "Stateflag", "Girllovelevel", "Attrs" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.OnlineEndData), global::MikuSB.Proto.OnlineEndData.Parser, new[]{ "Pid", "Infodata", "Status" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.AccountInfo), global::MikuSB.Proto.AccountInfo.Parser, new[]{ "Account", "Pid", "NewGuide", "ErrorInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ChatMsg), global::MikuSB.Proto.ChatMsg.Parser, new[]{ "Type", "ChannelId", "Sender", "Recver", "TimeStamp", "Emoji", "Text", "Profile" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.CustomRoster), global::MikuSB.Proto.CustomRoster.Parser, new[]{ "Pid", "Roster" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.GlobalAttrs), global::MikuSB.Proto.GlobalAttrs.Parser, new[]{ "Attrs", "StrAttrs" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }) + })); + } + #endregion + + } + #region Enums + public enum Sex { + [pbr::OriginalName("MALE")] Male = 0, + [pbr::OriginalName("FEMALE")] Female = 1, + } + + public enum PlayerCoreAttribute { + [pbr::OriginalName("LEVEL")] Level = 0, + [pbr::OriginalName("EXP")] Exp = 1, + [pbr::OriginalName("VIGOR")] Vigor = 2, + [pbr::OriginalName("CHARGED")] Charged = 3, + [pbr::OriginalName("VIGOR_TIME")] VigorTime = 4, + } + + public enum MailStat { + [pbr::OriginalName("New")] New = 0, + [pbr::OriginalName("Readed")] Readed = 1, + [pbr::OriginalName("Geted")] Geted = 2, + [pbr::OriginalName("Removed")] Removed = 3, + } + + public enum GlobalMailStat { + [pbr::OriginalName("Default")] Default = 0, + [pbr::OriginalName("Banned")] Banned = 1, + [pbr::OriginalName("Deleted")] Deleted = 2, + } + + public enum ChatType { + [pbr::OriginalName("SYSTEM")] System = 0, + [pbr::OriginalName("WORLD")] World = 1, + [pbr::OriginalName("FRIEND")] Friend = 2, + [pbr::OriginalName("ONLINE")] Online = 3, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Empty : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Empty()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.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 Empty() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Empty(Empty other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Empty Clone() { + return new Empty(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Empty); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Empty other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + 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 (_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 (_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 (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Empty other) { + if (other == null) { + return; + } + _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; + } + } + #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; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SimpleBoolean : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SimpleBoolean()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.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 SimpleBoolean() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SimpleBoolean(SimpleBoolean other) : this() { + data_ = other.data_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SimpleBoolean Clone() { + return new SimpleBoolean(this); + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private bool data_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Data { + get { return data_; } + set { + data_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SimpleBoolean); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SimpleBoolean other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + 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 (Data != false) 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 (Data != false) { + output.WriteRawTag(8); + output.WriteBool(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 (Data != false) { + output.WriteRawTag(8); + output.WriteBool(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 (Data != 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(SimpleBoolean other) { + if (other == null) { + return; + } + if (other.Data != false) { + 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Data = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Data = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SimpleUint : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SimpleUint()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.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 SimpleUint() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SimpleUint(SimpleUint other) : this() { + data_ = other.data_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SimpleUint Clone() { + return new SimpleUint(this); + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private ulong data_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Data { + get { return data_; } + set { + data_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SimpleUint); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SimpleUint other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + 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 (Data != 0UL) 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 (Data != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(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 (Data != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(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 (Data != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Data); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SimpleUint other) { + if (other == null) { + return; + } + if (other.Data != 0UL) { + 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Data = input.ReadUInt64(); + 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: { + Data = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SimpleString : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SimpleString()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.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 SimpleString() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SimpleString(SimpleString other) : this() { + data_ = other.data_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SimpleString Clone() { + return new SimpleString(this); + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private string data_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string 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 SimpleString); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SimpleString other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + 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 (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 (Data.Length != 0) { + output.WriteRawTag(10); + output.WriteString(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 (Data.Length != 0) { + output.WriteRawTag(10); + output.WriteString(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 (Data.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SimpleString other) { + if (other == null) { + return; + } + 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Data = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Data = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IDArray : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IDArray()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.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 IDArray() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IDArray(IDArray other) : this() { + ids_ = other.ids_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IDArray Clone() { + return new IDArray(this); + } + + /// Field number for the "ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ids { + get { return ids_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IDArray); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IDArray other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) 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 ^= ids_.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 + ids_.WriteTo(output, _repeated_ids_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) { + ids_.WriteTo(ref output, _repeated_ids_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 += ids_.CalculateSize(_repeated_ids_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IDArray other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + _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: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StringArray : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StringArray()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.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 StringArray() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StringArray(StringArray other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StringArray Clone() { + return new StringArray(this); + } + + /// Field number for the "list" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StringArray); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StringArray other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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 ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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 += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StringArray other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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: { + list_.AddEntriesFrom(input, _repeated_list_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerProfileArray : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerProfileArray()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.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 PlayerProfileArray() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerProfileArray(PlayerProfileArray other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerProfileArray Clone() { + return new PlayerProfileArray(this); + } + + /// Field number for the "list" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::MikuSB.Proto.PlayerProfile.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerProfileArray); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerProfileArray other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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 ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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 += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerProfileArray other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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: { + list_.AddEntriesFrom(input, _repeated_list_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChannelOpt : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChannelOpt()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[7]; } + } + + [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 ChannelOpt() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelOpt(ChannelOpt other) : this() { + channel_ = other.channel_; + subchannels_ = other.subchannels_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChannelOpt Clone() { + return new ChannelOpt(this); + } + + /// Field number for the "channel" field. + public const int ChannelFieldNumber = 1; + private string channel_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Channel { + get { return channel_; } + set { + channel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "subchannels" field. + public const int SubchannelsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_subchannels_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField subchannels_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Subchannels { + get { return subchannels_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChannelOpt); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChannelOpt other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Channel != other.Channel) return false; + if(!subchannels_.Equals(other.subchannels_)) 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 (Channel.Length != 0) hash ^= Channel.GetHashCode(); + hash ^= subchannels_.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 (Channel.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Channel); + } + subchannels_.WriteTo(output, _repeated_subchannels_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) { + if (Channel.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Channel); + } + subchannels_.WriteTo(ref output, _repeated_subchannels_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; + if (Channel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Channel); + } + size += subchannels_.CalculateSize(_repeated_subchannels_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChannelOpt other) { + if (other == null) { + return; + } + if (other.Channel.Length != 0) { + Channel = other.Channel; + } + subchannels_.Add(other.subchannels_); + _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: { + Channel = input.ReadString(); + break; + } + case 18: { + subchannels_.AddEntriesFrom(input, _repeated_subchannels_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Channel = input.ReadString(); + break; + } + case 18: { + subchannels_.AddEntriesFrom(ref input, _repeated_subchannels_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SimpleItem : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SimpleItem()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[8]; } + } + + [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 SimpleItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SimpleItem(SimpleItem other) : this() { + g_ = other.g_; + d_ = other.d_; + p_ = other.p_; + l_ = other.l_; + count_ = other.count_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SimpleItem Clone() { + return new SimpleItem(this); + } + + /// Field number for the "G" field. + public const int GFieldNumber = 1; + private uint g_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint G { + get { return g_; } + set { + g_ = value; + } + } + + /// Field number for the "D" field. + public const int DFieldNumber = 2; + private uint d_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint D { + get { return d_; } + set { + d_ = value; + } + } + + /// Field number for the "P" field. + public const int PFieldNumber = 3; + private uint p_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint P { + get { return p_; } + set { + p_ = value; + } + } + + /// Field number for the "L" field. + public const int LFieldNumber = 4; + private uint l_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint L { + get { return l_; } + set { + l_ = value; + } + } + + /// Field number for the "Count" field. + public const int CountFieldNumber = 5; + 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 SimpleItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SimpleItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (G != other.G) return false; + if (D != other.D) return false; + if (P != other.P) return false; + if (L != other.L) 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 (G != 0) hash ^= G.GetHashCode(); + if (D != 0) hash ^= D.GetHashCode(); + if (P != 0) hash ^= P.GetHashCode(); + if (L != 0) hash ^= L.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 (G != 0) { + output.WriteRawTag(8); + output.WriteUInt32(G); + } + if (D != 0) { + output.WriteRawTag(16); + output.WriteUInt32(D); + } + if (P != 0) { + output.WriteRawTag(24); + output.WriteUInt32(P); + } + if (L != 0) { + output.WriteRawTag(32); + output.WriteUInt32(L); + } + if (Count != 0) { + output.WriteRawTag(40); + 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 (G != 0) { + output.WriteRawTag(8); + output.WriteUInt32(G); + } + if (D != 0) { + output.WriteRawTag(16); + output.WriteUInt32(D); + } + if (P != 0) { + output.WriteRawTag(24); + output.WriteUInt32(P); + } + if (L != 0) { + output.WriteRawTag(32); + output.WriteUInt32(L); + } + if (Count != 0) { + output.WriteRawTag(40); + 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 (G != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(G); + } + if (D != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(D); + } + if (P != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(P); + } + if (L != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(L); + } + 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(SimpleItem other) { + if (other == null) { + return; + } + if (other.G != 0) { + G = other.G; + } + if (other.D != 0) { + D = other.D; + } + if (other.P != 0) { + P = other.P; + } + if (other.L != 0) { + L = other.L; + } + 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + G = input.ReadUInt32(); + break; + } + case 16: { + D = input.ReadUInt32(); + break; + } + case 24: { + P = input.ReadUInt32(); + break; + } + case 32: { + L = input.ReadUInt32(); + break; + } + case 40: { + 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + G = input.ReadUInt32(); + break; + } + case 16: { + D = input.ReadUInt32(); + break; + } + case 24: { + P = input.ReadUInt32(); + break; + } + case 32: { + L = input.ReadUInt32(); + break; + } + case 40: { + Count = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Enhance : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Enhance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[9]; } + } + + [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 Enhance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Enhance(Enhance other) : this() { + level_ = other.level_; + exp_ = other.exp_; + break_ = other.break_; + evolue_ = other.evolue_; + trust_ = other.trust_; + proLevel_ = other.proLevel_; + spines_ = other.spines_.Clone(); + affixs_ = other.affixs_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Enhance Clone() { + return new Enhance(this); + } + + /// Field number for the "level" field. + public const int LevelFieldNumber = 1; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// Field number for the "exp" field. + public const int ExpFieldNumber = 2; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "break" field. + public const int BreakFieldNumber = 3; + private uint break_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Break { + get { return break_; } + set { + break_ = value; + } + } + + /// Field number for the "evolue" field. + public const int EvolueFieldNumber = 4; + private uint evolue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Evolue { + get { return evolue_; } + set { + evolue_ = value; + } + } + + /// Field number for the "trust" field. + public const int TrustFieldNumber = 5; + private uint trust_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Trust { + get { return trust_; } + set { + trust_ = value; + } + } + + /// Field number for the "pro_level" field. + public const int ProLevelFieldNumber = 6; + private uint proLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ProLevel { + get { return proLevel_; } + set { + proLevel_ = value; + } + } + + /// Field number for the "spines" field. + public const int SpinesFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_spines_codec + = pb::FieldCodec.ForUInt64(90); + private readonly pbc::RepeatedField spines_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Spines { + get { return spines_; } + } + + /// Field number for the "affixs" field. + public const int AffixsFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_affixs_codec + = pb::FieldCodec.ForUInt32(98); + private readonly pbc::RepeatedField affixs_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Affixs { + get { return affixs_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Enhance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Enhance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Level != other.Level) return false; + if (Exp != other.Exp) return false; + if (Break != other.Break) return false; + if (Evolue != other.Evolue) return false; + if (Trust != other.Trust) return false; + if (ProLevel != other.ProLevel) return false; + if(!spines_.Equals(other.spines_)) return false; + if(!affixs_.Equals(other.affixs_)) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (Break != 0) hash ^= Break.GetHashCode(); + if (Evolue != 0) hash ^= Evolue.GetHashCode(); + if (Trust != 0) hash ^= Trust.GetHashCode(); + if (ProLevel != 0) hash ^= ProLevel.GetHashCode(); + hash ^= spines_.GetHashCode(); + hash ^= affixs_.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 (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (Break != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Break); + } + if (Evolue != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Evolue); + } + if (Trust != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Trust); + } + if (ProLevel != 0) { + output.WriteRawTag(48); + output.WriteUInt32(ProLevel); + } + spines_.WriteTo(output, _repeated_spines_codec); + affixs_.WriteTo(output, _repeated_affixs_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) { + if (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (Break != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Break); + } + if (Evolue != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Evolue); + } + if (Trust != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Trust); + } + if (ProLevel != 0) { + output.WriteRawTag(48); + output.WriteUInt32(ProLevel); + } + spines_.WriteTo(ref output, _repeated_spines_codec); + affixs_.WriteTo(ref output, _repeated_affixs_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; + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (Break != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Break); + } + if (Evolue != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Evolue); + } + if (Trust != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Trust); + } + if (ProLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProLevel); + } + size += spines_.CalculateSize(_repeated_spines_codec); + size += affixs_.CalculateSize(_repeated_affixs_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Enhance other) { + if (other == null) { + return; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.Break != 0) { + Break = other.Break; + } + if (other.Evolue != 0) { + Evolue = other.Evolue; + } + if (other.Trust != 0) { + Trust = other.Trust; + } + if (other.ProLevel != 0) { + ProLevel = other.ProLevel; + } + spines_.Add(other.spines_); + affixs_.Add(other.affixs_); + _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: { + Level = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 24: { + Break = input.ReadUInt32(); + break; + } + case 32: { + Evolue = input.ReadUInt32(); + break; + } + case 40: { + Trust = input.ReadUInt32(); + break; + } + case 48: { + ProLevel = input.ReadUInt32(); + break; + } + case 90: + case 88: { + spines_.AddEntriesFrom(input, _repeated_spines_codec); + break; + } + case 98: + case 96: { + affixs_.AddEntriesFrom(input, _repeated_affixs_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Level = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 24: { + Break = input.ReadUInt32(); + break; + } + case 32: { + Evolue = input.ReadUInt32(); + break; + } + case 40: { + Trust = input.ReadUInt32(); + break; + } + case 48: { + ProLevel = input.ReadUInt32(); + break; + } + case 90: + case 88: { + spines_.AddEntriesFrom(ref input, _repeated_spines_codec); + break; + } + case 98: + case 96: { + affixs_.AddEntriesFrom(ref input, _repeated_affixs_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Item : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Item()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[10]; } + } + + [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 Item() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Item(Item other) : this() { + id_ = other.id_; + template_ = other.template_; + count_ = other.count_; + flag_ = other.flag_; + userdata_ = other.userdata_; + expiration_ = other.expiration_; + enhance_ = other.enhance_ != null ? other.enhance_.Clone() : null; + slots_ = other.slots_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Item Clone() { + return new Item(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "template" field. + public const int TemplateFieldNumber = 2; + private ulong template_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Template { + get { return template_; } + set { + template_ = value; + } + } + + /// Field number for the "count" field. + public const int CountFieldNumber = 3; + private uint count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Count { + get { return count_; } + set { + count_ = value; + } + } + + /// Field number for the "flag" field. + public const int FlagFieldNumber = 4; + private uint flag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Flag { + get { return flag_; } + set { + flag_ = value; + } + } + + /// Field number for the "userdata" field. + public const int UserdataFieldNumber = 5; + private uint userdata_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Userdata { + get { return userdata_; } + set { + userdata_ = value; + } + } + + /// Field number for the "expiration" field. + public const int ExpirationFieldNumber = 6; + private uint expiration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Expiration { + get { return expiration_; } + set { + expiration_ = value; + } + } + + /// Field number for the "enhance" field. + public const int EnhanceFieldNumber = 7; + private global::MikuSB.Proto.Enhance enhance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.Enhance Enhance { + get { return enhance_; } + set { + enhance_ = value; + } + } + + /// Field number for the "slots" field. + public const int SlotsFieldNumber = 8; + private static readonly pbc::MapField.Codec _map_slots_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt64(16, 0UL), 66); + private readonly pbc::MapField slots_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Slots { + get { return slots_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Item); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Item other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Template != other.Template) return false; + if (Count != other.Count) return false; + if (Flag != other.Flag) return false; + if (Userdata != other.Userdata) return false; + if (Expiration != other.Expiration) return false; + if (!object.Equals(Enhance, other.Enhance)) return false; + if (!Slots.Equals(other.Slots)) 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 (Id != 0UL) hash ^= Id.GetHashCode(); + if (Template != 0UL) hash ^= Template.GetHashCode(); + if (Count != 0) hash ^= Count.GetHashCode(); + if (Flag != 0) hash ^= Flag.GetHashCode(); + if (Userdata != 0) hash ^= Userdata.GetHashCode(); + if (Expiration != 0) hash ^= Expiration.GetHashCode(); + if (enhance_ != null) hash ^= Enhance.GetHashCode(); + hash ^= Slots.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 (Id != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Template != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Template); + } + if (Count != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Count); + } + if (Flag != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Flag); + } + if (Userdata != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Userdata); + } + if (Expiration != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Expiration); + } + if (enhance_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Enhance); + } + slots_.WriteTo(output, _map_slots_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) { + if (Id != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Template != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Template); + } + if (Count != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Count); + } + if (Flag != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Flag); + } + if (Userdata != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Userdata); + } + if (Expiration != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Expiration); + } + if (enhance_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Enhance); + } + slots_.WriteTo(ref output, _map_slots_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; + if (Id != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Template != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Template); + } + if (Count != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count); + } + if (Flag != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Flag); + } + if (Userdata != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Userdata); + } + if (Expiration != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Expiration); + } + if (enhance_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Enhance); + } + size += slots_.CalculateSize(_map_slots_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Item other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Template != 0UL) { + Template = other.Template; + } + if (other.Count != 0) { + Count = other.Count; + } + if (other.Flag != 0) { + Flag = other.Flag; + } + if (other.Userdata != 0) { + Userdata = other.Userdata; + } + if (other.Expiration != 0) { + Expiration = other.Expiration; + } + if (other.enhance_ != null) { + if (enhance_ == null) { + Enhance = new global::MikuSB.Proto.Enhance(); + } + Enhance.MergeFrom(other.Enhance); + } + slots_.MergeFrom(other.slots_); + _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: { + Id = input.ReadUInt64(); + break; + } + case 16: { + Template = input.ReadUInt64(); + break; + } + case 24: { + Count = input.ReadUInt32(); + break; + } + case 32: { + Flag = input.ReadUInt32(); + break; + } + case 40: { + Userdata = input.ReadUInt32(); + break; + } + case 48: { + Expiration = input.ReadUInt32(); + break; + } + case 58: { + if (enhance_ == null) { + Enhance = new global::MikuSB.Proto.Enhance(); + } + input.ReadMessage(Enhance); + break; + } + case 66: { + slots_.AddEntriesFrom(input, _map_slots_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt64(); + break; + } + case 16: { + Template = input.ReadUInt64(); + break; + } + case 24: { + Count = input.ReadUInt32(); + break; + } + case 32: { + Flag = input.ReadUInt32(); + break; + } + case 40: { + Userdata = input.ReadUInt32(); + break; + } + case 48: { + Expiration = input.ReadUInt32(); + break; + } + case 58: { + if (enhance_ == null) { + Enhance = new global::MikuSB.Proto.Enhance(); + } + input.ReadMessage(Enhance); + break; + } + case 66: { + slots_.AddEntriesFrom(ref input, _map_slots_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Lineup : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Lineup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[11]; } + } + + [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 Lineup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Lineup(Lineup other) : this() { + index_ = other.index_; + name_ = other.name_; + member1_ = other.member1_; + member2_ = other.member2_; + member3_ = other.member3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Lineup Clone() { + return new Lineup(this); + } + + /// Field number for the "index" field. + 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; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private string name_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "member1" field. + public const int Member1FieldNumber = 3; + private ulong member1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Member1 { + get { return member1_; } + set { + member1_ = value; + } + } + + /// Field number for the "member2" field. + public const int Member2FieldNumber = 4; + private ulong member2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Member2 { + get { return member2_; } + set { + member2_ = value; + } + } + + /// Field number for the "member3" field. + public const int Member3FieldNumber = 5; + private ulong member3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Member3 { + get { return member3_; } + set { + member3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Lineup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Lineup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Index != other.Index) return false; + if (Name != other.Name) return false; + if (Member1 != other.Member1) return false; + if (Member2 != other.Member2) return false; + if (Member3 != other.Member3) 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 (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Member1 != 0UL) hash ^= Member1.GetHashCode(); + if (Member2 != 0UL) hash ^= Member2.GetHashCode(); + if (Member3 != 0UL) hash ^= Member3.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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Member1 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Member1); + } + if (Member2 != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(Member2); + } + if (Member3 != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(Member3); + } + 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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Member1 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Member1); + } + if (Member2 != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(Member2); + } + if (Member3 != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(Member3); + } + 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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Member1 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Member1); + } + if (Member2 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Member2); + } + if (Member3 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Member3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Lineup other) { + if (other == null) { + return; + } + if (other.Index != 0) { + Index = other.Index; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Member1 != 0UL) { + Member1 = other.Member1; + } + if (other.Member2 != 0UL) { + Member2 = other.Member2; + } + if (other.Member3 != 0UL) { + Member3 = other.Member3; + } + _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 18: { + Name = input.ReadString(); + break; + } + case 24: { + Member1 = input.ReadUInt64(); + break; + } + case 32: { + Member2 = input.ReadUInt64(); + break; + } + case 40: { + Member3 = input.ReadUInt64(); + 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + Member1 = input.ReadUInt64(); + break; + } + case 32: { + Member2 = input.ReadUInt64(); + break; + } + case 40: { + Member3 = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Player : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Player()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[12]; } + } + + [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 Player() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Player(Player other) : this() { + pid_ = other.pid_; + account_ = other.account_; + provider_ = other.provider_; + channel_ = other.channel_; + subchannel_ = other.subchannel_; + name_ = other.name_; + sign_ = other.sign_; + sex_ = other.sex_; + level_ = other.level_; + exp_ = other.exp_; + vigor_ = other.vigor_; + money_ = other.money_.Clone(); + charged_ = other.charged_; + createTime_ = other.createTime_; + lastLoginTime_ = other.lastLoginTime_; + lastVigorTime_ = other.lastVigorTime_; + itemIdAlloc_ = other.itemIdAlloc_; + items_ = other.items_.Clone(); + solutions_ = other.solutions_.Clone(); + attrs_ = other.attrs_.Clone(); + strAttrs_ = other.strAttrs_.Clone(); + showItems_ = other.showItems_.Clone(); + showAttrs_ = other.showAttrs_.Clone(); + friendPieces_ = other.friendPieces_.Clone(); + lastPieces_ = other.lastPieces_; + mailBox_ = other.mailBox_.Clone(); + lastGlobalMailTime_ = other.lastGlobalMailTime_; + lastPersonMid_ = other.lastPersonMid_; + badges_ = other.badges_.Clone(); + orderBox_ = other.orderBox_.Clone(); + tags_ = other.tags_.Clone(); + serial_ = other.serial_; + banType_ = other.banType_; + banExpr_ = other.banExpr_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Player Clone() { + return new Player(this); + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 1; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "account" field. + public const int AccountFieldNumber = 2; + private string account_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Account { + get { return account_; } + set { + account_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "provider" field. + public const int ProviderFieldNumber = 3; + private string provider_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Provider { + get { return provider_; } + set { + provider_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "channel" field. + public const int ChannelFieldNumber = 4; + private string channel_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Channel { + get { return channel_; } + set { + channel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "subchannel" field. + public const int SubchannelFieldNumber = 5; + private string subchannel_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subchannel { + get { return subchannel_; } + set { + subchannel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 11; + private string name_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "sign" field. + public const int SignFieldNumber = 12; + private string sign_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Sign { + get { return sign_; } + set { + sign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "sex" field. + public const int SexFieldNumber = 13; + private global::MikuSB.Proto.Sex sex_ = global::MikuSB.Proto.Sex.Male; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.Sex Sex { + get { return sex_; } + set { + sex_ = value; + } + } + + /// Field number for the "level" field. + public const int LevelFieldNumber = 14; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// Field number for the "exp" field. + public const int ExpFieldNumber = 15; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "vigor" field. + public const int VigorFieldNumber = 16; + private uint vigor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Vigor { + get { return vigor_; } + set { + vigor_ = value; + } + } + + /// Field number for the "money" field. + public const int MoneyFieldNumber = 17; + private static readonly pbc::MapField.Codec _map_money_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForInt32(16, 0), 138); + private readonly pbc::MapField money_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Money { + get { return money_; } + } + + /// Field number for the "charged" field. + public const int ChargedFieldNumber = 18; + private uint charged_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Charged { + get { return charged_; } + set { + charged_ = value; + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 31; + private uint createTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "last_login_time" field. + public const int LastLoginTimeFieldNumber = 32; + private uint lastLoginTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LastLoginTime { + get { return lastLoginTime_; } + set { + lastLoginTime_ = value; + } + } + + /// Field number for the "last_vigor_time" field. + public const int LastVigorTimeFieldNumber = 33; + private uint lastVigorTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LastVigorTime { + get { return lastVigorTime_; } + set { + lastVigorTime_ = value; + } + } + + /// Field number for the "item_id_alloc" field. + public const int ItemIdAllocFieldNumber = 41; + private ulong itemIdAlloc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ItemIdAlloc { + get { return itemIdAlloc_; } + set { + itemIdAlloc_ = value; + } + } + + /// Field number for the "items" field. + public const int ItemsFieldNumber = 42; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(338, global::MikuSB.Proto.Item.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "solutions" field. + public const int SolutionsFieldNumber = 43; + private static readonly pb::FieldCodec _repeated_solutions_codec + = pb::FieldCodec.ForMessage(346, global::MikuSB.Proto.Lineup.Parser); + private readonly pbc::RepeatedField solutions_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Solutions { + get { return solutions_; } + } + + /// Field number for the "attrs" field. + public const int AttrsFieldNumber = 44; + private static readonly pbc::MapField.Codec _map_attrs_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 354); + private readonly pbc::MapField attrs_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Attrs { + get { return attrs_; } + } + + /// Field number for the "str_attrs" field. + public const int StrAttrsFieldNumber = 45; + private static readonly pbc::MapField.Codec _map_strAttrs_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForString(18, ""), 362); + private readonly pbc::MapField strAttrs_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField StrAttrs { + get { return strAttrs_; } + } + + /// Field number for the "show_items" field. + public const int ShowItemsFieldNumber = 46; + private static readonly pb::FieldCodec _repeated_showItems_codec + = pb::FieldCodec.ForUInt64(370); + private readonly pbc::RepeatedField showItems_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ShowItems { + get { return showItems_; } + } + + /// Field number for the "show_attrs" field. + public const int ShowAttrsFieldNumber = 47; + private static readonly pb::FieldCodec _repeated_showAttrs_codec + = pb::FieldCodec.ForUInt32(378); + private readonly pbc::RepeatedField showAttrs_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ShowAttrs { + get { return showAttrs_; } + } + + /// Field number for the "friend_pieces" field. + public const int FriendPiecesFieldNumber = 48; + private static readonly pbc::MapField.Codec _map_friendPieces_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForUInt64(8, 0UL), pb::FieldCodec.ForMessage(18, global::MikuSB.Proto.FriendPieces.Parser), 386); + private readonly pbc::MapField friendPieces_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField FriendPieces { + get { return friendPieces_; } + } + + /// Field number for the "last_pieces" field. + public const int LastPiecesFieldNumber = 49; + private ulong lastPieces_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LastPieces { + get { return lastPieces_; } + set { + lastPieces_ = value; + } + } + + /// Field number for the "mail_box" field. + public const int MailBoxFieldNumber = 50; + private static readonly pbc::MapField.Codec _map_mailBox_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForUInt64(8, 0UL), pb::FieldCodec.ForMessage(18, global::MikuSB.Proto.PlayerMail.Parser), 402); + private readonly pbc::MapField mailBox_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField MailBox { + get { return mailBox_; } + } + + /// Field number for the "last_global_mail_time" field. + public const int LastGlobalMailTimeFieldNumber = 51; + private uint lastGlobalMailTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LastGlobalMailTime { + get { return lastGlobalMailTime_; } + set { + lastGlobalMailTime_ = value; + } + } + + /// Field number for the "last_person_mid" field. + public const int LastPersonMidFieldNumber = 52; + private ulong lastPersonMid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong LastPersonMid { + get { return lastPersonMid_; } + set { + lastPersonMid_ = value; + } + } + + /// Field number for the "badges" field. + public const int BadgesFieldNumber = 53; + private static readonly pb::FieldCodec _repeated_badges_codec + = pb::FieldCodec.ForUInt64(426); + private readonly pbc::RepeatedField badges_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Badges { + get { return badges_; } + } + + /// Field number for the "order_box" field. + public const int OrderBoxFieldNumber = 60; + private static readonly pbc::MapField.Codec _map_orderBox_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::MikuSB.Proto.PlayerOrder.Parser), 482); + private readonly pbc::MapField orderBox_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField OrderBox { + get { return orderBox_; } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 96; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForUInt64(770); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + /// Field number for the "serial" field. + public const int SerialFieldNumber = 97; + private ulong serial_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Serial { + get { return serial_; } + set { + serial_ = value; + } + } + + /// Field number for the "ban_type" field. + public const int BanTypeFieldNumber = 98; + private uint banType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BanType { + get { return banType_; } + set { + banType_ = value; + } + } + + /// Field number for the "ban_expr" field. + public const int BanExprFieldNumber = 99; + private uint banExpr_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BanExpr { + get { return banExpr_; } + set { + banExpr_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Player); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Player other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Pid != other.Pid) return false; + if (Account != other.Account) return false; + if (Provider != other.Provider) return false; + if (Channel != other.Channel) return false; + if (Subchannel != other.Subchannel) return false; + if (Name != other.Name) return false; + if (Sign != other.Sign) return false; + if (Sex != other.Sex) return false; + if (Level != other.Level) return false; + if (Exp != other.Exp) return false; + if (Vigor != other.Vigor) return false; + if (!Money.Equals(other.Money)) return false; + if (Charged != other.Charged) return false; + if (CreateTime != other.CreateTime) return false; + if (LastLoginTime != other.LastLoginTime) return false; + if (LastVigorTime != other.LastVigorTime) return false; + if (ItemIdAlloc != other.ItemIdAlloc) return false; + if(!items_.Equals(other.items_)) return false; + if(!solutions_.Equals(other.solutions_)) return false; + if (!Attrs.Equals(other.Attrs)) return false; + if (!StrAttrs.Equals(other.StrAttrs)) return false; + if(!showItems_.Equals(other.showItems_)) return false; + if(!showAttrs_.Equals(other.showAttrs_)) return false; + if (!FriendPieces.Equals(other.FriendPieces)) return false; + if (LastPieces != other.LastPieces) return false; + if (!MailBox.Equals(other.MailBox)) return false; + if (LastGlobalMailTime != other.LastGlobalMailTime) return false; + if (LastPersonMid != other.LastPersonMid) return false; + if(!badges_.Equals(other.badges_)) return false; + if (!OrderBox.Equals(other.OrderBox)) return false; + if(!tags_.Equals(other.tags_)) return false; + if (Serial != other.Serial) return false; + if (BanType != other.BanType) return false; + if (BanExpr != other.BanExpr) 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 (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (Account.Length != 0) hash ^= Account.GetHashCode(); + if (Provider.Length != 0) hash ^= Provider.GetHashCode(); + if (Channel.Length != 0) hash ^= Channel.GetHashCode(); + if (Subchannel.Length != 0) hash ^= Subchannel.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Sign.Length != 0) hash ^= Sign.GetHashCode(); + if (Sex != global::MikuSB.Proto.Sex.Male) hash ^= Sex.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (Vigor != 0) hash ^= Vigor.GetHashCode(); + hash ^= Money.GetHashCode(); + if (Charged != 0) hash ^= Charged.GetHashCode(); + if (CreateTime != 0) hash ^= CreateTime.GetHashCode(); + if (LastLoginTime != 0) hash ^= LastLoginTime.GetHashCode(); + if (LastVigorTime != 0) hash ^= LastVigorTime.GetHashCode(); + if (ItemIdAlloc != 0UL) hash ^= ItemIdAlloc.GetHashCode(); + hash ^= items_.GetHashCode(); + hash ^= solutions_.GetHashCode(); + hash ^= Attrs.GetHashCode(); + hash ^= StrAttrs.GetHashCode(); + hash ^= showItems_.GetHashCode(); + hash ^= showAttrs_.GetHashCode(); + hash ^= FriendPieces.GetHashCode(); + if (LastPieces != 0UL) hash ^= LastPieces.GetHashCode(); + hash ^= MailBox.GetHashCode(); + if (LastGlobalMailTime != 0) hash ^= LastGlobalMailTime.GetHashCode(); + if (LastPersonMid != 0UL) hash ^= LastPersonMid.GetHashCode(); + hash ^= badges_.GetHashCode(); + hash ^= OrderBox.GetHashCode(); + hash ^= tags_.GetHashCode(); + if (Serial != 0UL) hash ^= Serial.GetHashCode(); + if (BanType != 0) hash ^= BanType.GetHashCode(); + if (BanExpr != 0) hash ^= BanExpr.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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (Account.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Account); + } + if (Provider.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Provider); + } + if (Channel.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Channel); + } + if (Subchannel.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Subchannel); + } + if (Name.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Name); + } + if (Sign.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Sign); + } + if (Sex != global::MikuSB.Proto.Sex.Male) { + output.WriteRawTag(104); + output.WriteEnum((int) Sex); + } + if (Level != 0) { + output.WriteRawTag(112); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(120); + output.WriteUInt32(Exp); + } + if (Vigor != 0) { + output.WriteRawTag(128, 1); + output.WriteUInt32(Vigor); + } + money_.WriteTo(output, _map_money_codec); + if (Charged != 0) { + output.WriteRawTag(144, 1); + output.WriteUInt32(Charged); + } + if (CreateTime != 0) { + output.WriteRawTag(248, 1); + output.WriteUInt32(CreateTime); + } + if (LastLoginTime != 0) { + output.WriteRawTag(128, 2); + output.WriteUInt32(LastLoginTime); + } + if (LastVigorTime != 0) { + output.WriteRawTag(136, 2); + output.WriteUInt32(LastVigorTime); + } + if (ItemIdAlloc != 0UL) { + output.WriteRawTag(200, 2); + output.WriteUInt64(ItemIdAlloc); + } + items_.WriteTo(output, _repeated_items_codec); + solutions_.WriteTo(output, _repeated_solutions_codec); + attrs_.WriteTo(output, _map_attrs_codec); + strAttrs_.WriteTo(output, _map_strAttrs_codec); + showItems_.WriteTo(output, _repeated_showItems_codec); + showAttrs_.WriteTo(output, _repeated_showAttrs_codec); + friendPieces_.WriteTo(output, _map_friendPieces_codec); + if (LastPieces != 0UL) { + output.WriteRawTag(136, 3); + output.WriteUInt64(LastPieces); + } + mailBox_.WriteTo(output, _map_mailBox_codec); + if (LastGlobalMailTime != 0) { + output.WriteRawTag(152, 3); + output.WriteUInt32(LastGlobalMailTime); + } + if (LastPersonMid != 0UL) { + output.WriteRawTag(160, 3); + output.WriteUInt64(LastPersonMid); + } + badges_.WriteTo(output, _repeated_badges_codec); + orderBox_.WriteTo(output, _map_orderBox_codec); + tags_.WriteTo(output, _repeated_tags_codec); + if (Serial != 0UL) { + output.WriteRawTag(136, 6); + output.WriteUInt64(Serial); + } + if (BanType != 0) { + output.WriteRawTag(144, 6); + output.WriteUInt32(BanType); + } + if (BanExpr != 0) { + output.WriteRawTag(152, 6); + output.WriteUInt32(BanExpr); + } + 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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (Account.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Account); + } + if (Provider.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Provider); + } + if (Channel.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Channel); + } + if (Subchannel.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Subchannel); + } + if (Name.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Name); + } + if (Sign.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Sign); + } + if (Sex != global::MikuSB.Proto.Sex.Male) { + output.WriteRawTag(104); + output.WriteEnum((int) Sex); + } + if (Level != 0) { + output.WriteRawTag(112); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(120); + output.WriteUInt32(Exp); + } + if (Vigor != 0) { + output.WriteRawTag(128, 1); + output.WriteUInt32(Vigor); + } + money_.WriteTo(ref output, _map_money_codec); + if (Charged != 0) { + output.WriteRawTag(144, 1); + output.WriteUInt32(Charged); + } + if (CreateTime != 0) { + output.WriteRawTag(248, 1); + output.WriteUInt32(CreateTime); + } + if (LastLoginTime != 0) { + output.WriteRawTag(128, 2); + output.WriteUInt32(LastLoginTime); + } + if (LastVigorTime != 0) { + output.WriteRawTag(136, 2); + output.WriteUInt32(LastVigorTime); + } + if (ItemIdAlloc != 0UL) { + output.WriteRawTag(200, 2); + output.WriteUInt64(ItemIdAlloc); + } + items_.WriteTo(ref output, _repeated_items_codec); + solutions_.WriteTo(ref output, _repeated_solutions_codec); + attrs_.WriteTo(ref output, _map_attrs_codec); + strAttrs_.WriteTo(ref output, _map_strAttrs_codec); + showItems_.WriteTo(ref output, _repeated_showItems_codec); + showAttrs_.WriteTo(ref output, _repeated_showAttrs_codec); + friendPieces_.WriteTo(ref output, _map_friendPieces_codec); + if (LastPieces != 0UL) { + output.WriteRawTag(136, 3); + output.WriteUInt64(LastPieces); + } + mailBox_.WriteTo(ref output, _map_mailBox_codec); + if (LastGlobalMailTime != 0) { + output.WriteRawTag(152, 3); + output.WriteUInt32(LastGlobalMailTime); + } + if (LastPersonMid != 0UL) { + output.WriteRawTag(160, 3); + output.WriteUInt64(LastPersonMid); + } + badges_.WriteTo(ref output, _repeated_badges_codec); + orderBox_.WriteTo(ref output, _map_orderBox_codec); + tags_.WriteTo(ref output, _repeated_tags_codec); + if (Serial != 0UL) { + output.WriteRawTag(136, 6); + output.WriteUInt64(Serial); + } + if (BanType != 0) { + output.WriteRawTag(144, 6); + output.WriteUInt32(BanType); + } + if (BanExpr != 0) { + output.WriteRawTag(152, 6); + output.WriteUInt32(BanExpr); + } + 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 (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (Account.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Account); + } + if (Provider.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Provider); + } + if (Channel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Channel); + } + if (Subchannel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subchannel); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Sign.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Sign); + } + if (Sex != global::MikuSB.Proto.Sex.Male) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Sex); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (Vigor != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(Vigor); + } + size += money_.CalculateSize(_map_money_codec); + if (Charged != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(Charged); + } + if (CreateTime != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(CreateTime); + } + if (LastLoginTime != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(LastLoginTime); + } + if (LastVigorTime != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(LastVigorTime); + } + if (ItemIdAlloc != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(ItemIdAlloc); + } + size += items_.CalculateSize(_repeated_items_codec); + size += solutions_.CalculateSize(_repeated_solutions_codec); + size += attrs_.CalculateSize(_map_attrs_codec); + size += strAttrs_.CalculateSize(_map_strAttrs_codec); + size += showItems_.CalculateSize(_repeated_showItems_codec); + size += showAttrs_.CalculateSize(_repeated_showAttrs_codec); + size += friendPieces_.CalculateSize(_map_friendPieces_codec); + if (LastPieces != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(LastPieces); + } + size += mailBox_.CalculateSize(_map_mailBox_codec); + if (LastGlobalMailTime != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(LastGlobalMailTime); + } + if (LastPersonMid != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(LastPersonMid); + } + size += badges_.CalculateSize(_repeated_badges_codec); + size += orderBox_.CalculateSize(_map_orderBox_codec); + size += tags_.CalculateSize(_repeated_tags_codec); + if (Serial != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(Serial); + } + if (BanType != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(BanType); + } + if (BanExpr != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(BanExpr); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Player other) { + if (other == null) { + return; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.Account.Length != 0) { + Account = other.Account; + } + if (other.Provider.Length != 0) { + Provider = other.Provider; + } + if (other.Channel.Length != 0) { + Channel = other.Channel; + } + if (other.Subchannel.Length != 0) { + Subchannel = other.Subchannel; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Sign.Length != 0) { + Sign = other.Sign; + } + if (other.Sex != global::MikuSB.Proto.Sex.Male) { + Sex = other.Sex; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.Vigor != 0) { + Vigor = other.Vigor; + } + money_.MergeFrom(other.money_); + if (other.Charged != 0) { + Charged = other.Charged; + } + if (other.CreateTime != 0) { + CreateTime = other.CreateTime; + } + if (other.LastLoginTime != 0) { + LastLoginTime = other.LastLoginTime; + } + if (other.LastVigorTime != 0) { + LastVigorTime = other.LastVigorTime; + } + if (other.ItemIdAlloc != 0UL) { + ItemIdAlloc = other.ItemIdAlloc; + } + items_.Add(other.items_); + solutions_.Add(other.solutions_); + attrs_.MergeFrom(other.attrs_); + strAttrs_.MergeFrom(other.strAttrs_); + showItems_.Add(other.showItems_); + showAttrs_.Add(other.showAttrs_); + friendPieces_.MergeFrom(other.friendPieces_); + if (other.LastPieces != 0UL) { + LastPieces = other.LastPieces; + } + mailBox_.MergeFrom(other.mailBox_); + if (other.LastGlobalMailTime != 0) { + LastGlobalMailTime = other.LastGlobalMailTime; + } + if (other.LastPersonMid != 0UL) { + LastPersonMid = other.LastPersonMid; + } + badges_.Add(other.badges_); + orderBox_.MergeFrom(other.orderBox_); + tags_.Add(other.tags_); + if (other.Serial != 0UL) { + Serial = other.Serial; + } + if (other.BanType != 0) { + BanType = other.BanType; + } + if (other.BanExpr != 0) { + BanExpr = other.BanExpr; + } + _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: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + Account = input.ReadString(); + break; + } + case 26: { + Provider = input.ReadString(); + break; + } + case 34: { + Channel = input.ReadString(); + break; + } + case 42: { + Subchannel = input.ReadString(); + break; + } + case 90: { + Name = input.ReadString(); + break; + } + case 98: { + Sign = input.ReadString(); + break; + } + case 104: { + Sex = (global::MikuSB.Proto.Sex) input.ReadEnum(); + break; + } + case 112: { + Level = input.ReadUInt32(); + break; + } + case 120: { + Exp = input.ReadUInt32(); + break; + } + case 128: { + Vigor = input.ReadUInt32(); + break; + } + case 138: { + money_.AddEntriesFrom(input, _map_money_codec); + break; + } + case 144: { + Charged = input.ReadUInt32(); + break; + } + case 248: { + CreateTime = input.ReadUInt32(); + break; + } + case 256: { + LastLoginTime = input.ReadUInt32(); + break; + } + case 264: { + LastVigorTime = input.ReadUInt32(); + break; + } + case 328: { + ItemIdAlloc = input.ReadUInt64(); + break; + } + case 338: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 346: { + solutions_.AddEntriesFrom(input, _repeated_solutions_codec); + break; + } + case 354: { + attrs_.AddEntriesFrom(input, _map_attrs_codec); + break; + } + case 362: { + strAttrs_.AddEntriesFrom(input, _map_strAttrs_codec); + break; + } + case 370: + case 368: { + showItems_.AddEntriesFrom(input, _repeated_showItems_codec); + break; + } + case 378: + case 376: { + showAttrs_.AddEntriesFrom(input, _repeated_showAttrs_codec); + break; + } + case 386: { + friendPieces_.AddEntriesFrom(input, _map_friendPieces_codec); + break; + } + case 392: { + LastPieces = input.ReadUInt64(); + break; + } + case 402: { + mailBox_.AddEntriesFrom(input, _map_mailBox_codec); + break; + } + case 408: { + LastGlobalMailTime = input.ReadUInt32(); + break; + } + case 416: { + LastPersonMid = input.ReadUInt64(); + break; + } + case 426: + case 424: { + badges_.AddEntriesFrom(input, _repeated_badges_codec); + break; + } + case 482: { + orderBox_.AddEntriesFrom(input, _map_orderBox_codec); + break; + } + case 770: + case 768: { + tags_.AddEntriesFrom(input, _repeated_tags_codec); + break; + } + case 776: { + Serial = input.ReadUInt64(); + break; + } + case 784: { + BanType = input.ReadUInt32(); + break; + } + case 792: { + BanExpr = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + Account = input.ReadString(); + break; + } + case 26: { + Provider = input.ReadString(); + break; + } + case 34: { + Channel = input.ReadString(); + break; + } + case 42: { + Subchannel = input.ReadString(); + break; + } + case 90: { + Name = input.ReadString(); + break; + } + case 98: { + Sign = input.ReadString(); + break; + } + case 104: { + Sex = (global::MikuSB.Proto.Sex) input.ReadEnum(); + break; + } + case 112: { + Level = input.ReadUInt32(); + break; + } + case 120: { + Exp = input.ReadUInt32(); + break; + } + case 128: { + Vigor = input.ReadUInt32(); + break; + } + case 138: { + money_.AddEntriesFrom(ref input, _map_money_codec); + break; + } + case 144: { + Charged = input.ReadUInt32(); + break; + } + case 248: { + CreateTime = input.ReadUInt32(); + break; + } + case 256: { + LastLoginTime = input.ReadUInt32(); + break; + } + case 264: { + LastVigorTime = input.ReadUInt32(); + break; + } + case 328: { + ItemIdAlloc = input.ReadUInt64(); + break; + } + case 338: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 346: { + solutions_.AddEntriesFrom(ref input, _repeated_solutions_codec); + break; + } + case 354: { + attrs_.AddEntriesFrom(ref input, _map_attrs_codec); + break; + } + case 362: { + strAttrs_.AddEntriesFrom(ref input, _map_strAttrs_codec); + break; + } + case 370: + case 368: { + showItems_.AddEntriesFrom(ref input, _repeated_showItems_codec); + break; + } + case 378: + case 376: { + showAttrs_.AddEntriesFrom(ref input, _repeated_showAttrs_codec); + break; + } + case 386: { + friendPieces_.AddEntriesFrom(ref input, _map_friendPieces_codec); + break; + } + case 392: { + LastPieces = input.ReadUInt64(); + break; + } + case 402: { + mailBox_.AddEntriesFrom(ref input, _map_mailBox_codec); + break; + } + case 408: { + LastGlobalMailTime = input.ReadUInt32(); + break; + } + case 416: { + LastPersonMid = input.ReadUInt64(); + break; + } + case 426: + case 424: { + badges_.AddEntriesFrom(ref input, _repeated_badges_codec); + break; + } + case 482: { + orderBox_.AddEntriesFrom(ref input, _map_orderBox_codec); + break; + } + case 770: + case 768: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + case 776: { + Serial = input.ReadUInt64(); + break; + } + case 784: { + BanType = input.ReadUInt32(); + break; + } + case 792: { + BanExpr = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendPieces : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendPieces()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[13]; } + } + + [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 FriendPieces() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendPieces(FriendPieces other) : this() { + index_ = other.index_; + pid_ = other.pid_; + shape_ = other.shape_; + expr_ = other.expr_; + deleted_ = other.deleted_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendPieces Clone() { + return new FriendPieces(this); + } + + /// Field number for the "index" field. + public const int IndexFieldNumber = 1; + private ulong index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Index { + get { return index_; } + set { + index_ = value; + } + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 2; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "shape" field. + public const int ShapeFieldNumber = 3; + private uint shape_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Shape { + get { return shape_; } + set { + shape_ = value; + } + } + + /// Field number for the "expr" field. + public const int ExprFieldNumber = 4; + private uint expr_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Expr { + get { return expr_; } + set { + expr_ = value; + } + } + + /// Field number for the "deleted" field. + public const int DeletedFieldNumber = 5; + private bool deleted_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Deleted { + get { return deleted_; } + set { + deleted_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FriendPieces); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendPieces other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Index != other.Index) return false; + if (Pid != other.Pid) return false; + if (Shape != other.Shape) return false; + if (Expr != other.Expr) return false; + if (Deleted != other.Deleted) 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 != 0UL) hash ^= Index.GetHashCode(); + if (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (Shape != 0) hash ^= Shape.GetHashCode(); + if (Expr != 0) hash ^= Expr.GetHashCode(); + if (Deleted != false) hash ^= Deleted.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Index); + } + if (Pid != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Pid); + } + if (Shape != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Shape); + } + if (Expr != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Expr); + } + if (Deleted != false) { + output.WriteRawTag(40); + output.WriteBool(Deleted); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Index); + } + if (Pid != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Pid); + } + if (Shape != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Shape); + } + if (Expr != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Expr); + } + if (Deleted != false) { + output.WriteRawTag(40); + output.WriteBool(Deleted); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Index); + } + if (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (Shape != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Shape); + } + if (Expr != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Expr); + } + if (Deleted != 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(FriendPieces other) { + if (other == null) { + return; + } + if (other.Index != 0UL) { + Index = other.Index; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.Shape != 0) { + Shape = other.Shape; + } + if (other.Expr != 0) { + Expr = other.Expr; + } + if (other.Deleted != false) { + Deleted = other.Deleted; + } + _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.ReadUInt64(); + break; + } + case 16: { + Pid = input.ReadUInt64(); + break; + } + case 24: { + Shape = input.ReadUInt32(); + break; + } + case 32: { + Expr = input.ReadUInt32(); + break; + } + case 40: { + Deleted = 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) { + 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.ReadUInt64(); + break; + } + case 16: { + Pid = input.ReadUInt64(); + break; + } + case 24: { + Shape = input.ReadUInt32(); + break; + } + case 32: { + Expr = input.ReadUInt32(); + break; + } + case 40: { + Deleted = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerMail : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerMail()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[14]; } + } + + [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 PlayerMail() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerMail(PlayerMail other) : this() { + mid_ = other.mid_; + stat_ = other.stat_; + time_ = other.time_; + expiration_ = other.expiration_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerMail Clone() { + return new PlayerMail(this); + } + + /// Field number for the "mid" field. + public const int MidFieldNumber = 1; + private ulong mid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Mid { + get { return mid_; } + set { + mid_ = value; + } + } + + /// Field number for the "stat" field. + public const int StatFieldNumber = 2; + private global::MikuSB.Proto.MailStat stat_ = global::MikuSB.Proto.MailStat.New; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.MailStat Stat { + get { return stat_; } + set { + stat_ = value; + } + } + + /// Field number for the "time" field. + public const int TimeFieldNumber = 3; + private uint time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Time { + get { return time_; } + set { + time_ = value; + } + } + + /// Field number for the "expiration" field. + public const int ExpirationFieldNumber = 4; + private uint expiration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Expiration { + get { return expiration_; } + set { + expiration_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerMail); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerMail other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Mid != other.Mid) return false; + if (Stat != other.Stat) return false; + if (Time != other.Time) return false; + if (Expiration != other.Expiration) 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 (Mid != 0UL) hash ^= Mid.GetHashCode(); + if (Stat != global::MikuSB.Proto.MailStat.New) hash ^= Stat.GetHashCode(); + if (Time != 0) hash ^= Time.GetHashCode(); + if (Expiration != 0) hash ^= Expiration.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 (Mid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Mid); + } + if (Stat != global::MikuSB.Proto.MailStat.New) { + output.WriteRawTag(16); + output.WriteEnum((int) Stat); + } + if (Time != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Time); + } + if (Expiration != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Expiration); + } + 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 (Mid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Mid); + } + if (Stat != global::MikuSB.Proto.MailStat.New) { + output.WriteRawTag(16); + output.WriteEnum((int) Stat); + } + if (Time != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Time); + } + if (Expiration != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Expiration); + } + 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 (Mid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Mid); + } + if (Stat != global::MikuSB.Proto.MailStat.New) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Stat); + } + if (Time != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time); + } + if (Expiration != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Expiration); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerMail other) { + if (other == null) { + return; + } + if (other.Mid != 0UL) { + Mid = other.Mid; + } + if (other.Stat != global::MikuSB.Proto.MailStat.New) { + Stat = other.Stat; + } + if (other.Time != 0) { + Time = other.Time; + } + if (other.Expiration != 0) { + Expiration = other.Expiration; + } + _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: { + Mid = input.ReadUInt64(); + break; + } + case 16: { + Stat = (global::MikuSB.Proto.MailStat) input.ReadEnum(); + break; + } + case 24: { + Time = input.ReadUInt32(); + break; + } + case 32: { + Expiration = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Mid = input.ReadUInt64(); + break; + } + case 16: { + Stat = (global::MikuSB.Proto.MailStat) input.ReadEnum(); + break; + } + case 24: { + Time = input.ReadUInt32(); + break; + } + case 32: { + Expiration = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Mail : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Mail()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[15]; } + } + + [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 Mail() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Mail(Mail other) : this() { + mid_ = other.mid_; + title_ = other.title_; + message_ = other.message_; + attachments_ = other.attachments_.Clone(); + sender_ = other.sender_; + pid_ = other.pid_; + time_ = other.time_; + expiration_ = other.expiration_; + life_ = other.life_; + stat_ = other.stat_; + isDeleted_ = other.isDeleted_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Mail Clone() { + return new Mail(this); + } + + /// Field number for the "mid" field. + public const int MidFieldNumber = 1; + private ulong mid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Mid { + get { return mid_; } + set { + mid_ = value; + } + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 3; + private string message_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "attachments" field. + public const int AttachmentsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_attachments_codec + = pb::FieldCodec.ForMessage(34, global::MikuSB.Proto.SimpleItem.Parser); + private readonly pbc::RepeatedField attachments_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attachments { + get { return attachments_; } + } + + /// Field number for the "sender" field. + public const int SenderFieldNumber = 5; + private string sender_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Sender { + get { return sender_; } + set { + sender_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 6; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "time" field. + public const int TimeFieldNumber = 7; + private uint time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Time { + get { return time_; } + set { + time_ = value; + } + } + + /// Field number for the "expiration" field. + public const int ExpirationFieldNumber = 8; + private uint expiration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Expiration { + get { return expiration_; } + set { + expiration_ = value; + } + } + + /// Field number for the "life" field. + public const int LifeFieldNumber = 9; + private uint life_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Life { + get { return life_; } + set { + life_ = value; + } + } + + /// Field number for the "stat" field. + public const int StatFieldNumber = 10; + private global::MikuSB.Proto.MailStat stat_ = global::MikuSB.Proto.MailStat.New; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.MailStat Stat { + get { return stat_; } + set { + stat_ = value; + } + } + + /// Field number for the "is_deleted" field. + public const int IsDeletedFieldNumber = 99; + private bool isDeleted_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsDeleted { + get { return isDeleted_; } + set { + isDeleted_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Mail); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Mail other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Mid != other.Mid) return false; + if (Title != other.Title) return false; + if (Message != other.Message) return false; + if(!attachments_.Equals(other.attachments_)) return false; + if (Sender != other.Sender) return false; + if (Pid != other.Pid) return false; + if (Time != other.Time) return false; + if (Expiration != other.Expiration) return false; + if (Life != other.Life) return false; + if (Stat != other.Stat) return false; + if (IsDeleted != other.IsDeleted) 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 (Mid != 0UL) hash ^= Mid.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Message.Length != 0) hash ^= Message.GetHashCode(); + hash ^= attachments_.GetHashCode(); + if (Sender.Length != 0) hash ^= Sender.GetHashCode(); + if (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (Time != 0) hash ^= Time.GetHashCode(); + if (Expiration != 0) hash ^= Expiration.GetHashCode(); + if (Life != 0) hash ^= Life.GetHashCode(); + if (Stat != global::MikuSB.Proto.MailStat.New) hash ^= Stat.GetHashCode(); + if (IsDeleted != false) hash ^= IsDeleted.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 (Mid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Mid); + } + if (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Message.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Message); + } + attachments_.WriteTo(output, _repeated_attachments_codec); + if (Sender.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Sender); + } + if (Pid != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(Pid); + } + if (Time != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Time); + } + if (Expiration != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Expiration); + } + if (Life != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Life); + } + if (Stat != global::MikuSB.Proto.MailStat.New) { + output.WriteRawTag(80); + output.WriteEnum((int) Stat); + } + if (IsDeleted != false) { + output.WriteRawTag(152, 6); + output.WriteBool(IsDeleted); + } + 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 (Mid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Mid); + } + if (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Message.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Message); + } + attachments_.WriteTo(ref output, _repeated_attachments_codec); + if (Sender.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Sender); + } + if (Pid != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(Pid); + } + if (Time != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Time); + } + if (Expiration != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Expiration); + } + if (Life != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Life); + } + if (Stat != global::MikuSB.Proto.MailStat.New) { + output.WriteRawTag(80); + output.WriteEnum((int) Stat); + } + if (IsDeleted != false) { + output.WriteRawTag(152, 6); + output.WriteBool(IsDeleted); + } + 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 (Mid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Mid); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + size += attachments_.CalculateSize(_repeated_attachments_codec); + if (Sender.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Sender); + } + if (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (Time != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time); + } + if (Expiration != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Expiration); + } + if (Life != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Life); + } + if (Stat != global::MikuSB.Proto.MailStat.New) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Stat); + } + if (IsDeleted != false) { + size += 2 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Mail other) { + if (other == null) { + return; + } + if (other.Mid != 0UL) { + Mid = other.Mid; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + attachments_.Add(other.attachments_); + if (other.Sender.Length != 0) { + Sender = other.Sender; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.Time != 0) { + Time = other.Time; + } + if (other.Expiration != 0) { + Expiration = other.Expiration; + } + if (other.Life != 0) { + Life = other.Life; + } + if (other.Stat != global::MikuSB.Proto.MailStat.New) { + Stat = other.Stat; + } + if (other.IsDeleted != false) { + IsDeleted = other.IsDeleted; + } + _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: { + Mid = input.ReadUInt64(); + break; + } + case 18: { + Title = input.ReadString(); + break; + } + case 26: { + Message = input.ReadString(); + break; + } + case 34: { + attachments_.AddEntriesFrom(input, _repeated_attachments_codec); + break; + } + case 42: { + Sender = input.ReadString(); + break; + } + case 48: { + Pid = input.ReadUInt64(); + break; + } + case 56: { + Time = input.ReadUInt32(); + break; + } + case 64: { + Expiration = input.ReadUInt32(); + break; + } + case 72: { + Life = input.ReadUInt32(); + break; + } + case 80: { + Stat = (global::MikuSB.Proto.MailStat) input.ReadEnum(); + break; + } + case 792: { + IsDeleted = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Mid = input.ReadUInt64(); + break; + } + case 18: { + Title = input.ReadString(); + break; + } + case 26: { + Message = input.ReadString(); + break; + } + case 34: { + attachments_.AddEntriesFrom(ref input, _repeated_attachments_codec); + break; + } + case 42: { + Sender = input.ReadString(); + break; + } + case 48: { + Pid = input.ReadUInt64(); + break; + } + case 56: { + Time = input.ReadUInt32(); + break; + } + case 64: { + Expiration = input.ReadUInt32(); + break; + } + case 72: { + Life = input.ReadUInt32(); + break; + } + case 80: { + Stat = (global::MikuSB.Proto.MailStat) input.ReadEnum(); + break; + } + case 792: { + IsDeleted = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GlobalMail : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GlobalMail()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[16]; } + } + + [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 GlobalMail() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GlobalMail(GlobalMail other) : this() { + mid_ = other.mid_; + sender_ = other.sender_; + title_ = other.title_; + message_ = other.message_; + attachments_ = other.attachments_.Clone(); + startTime_ = other.startTime_; + endTime_ = other.endTime_; + life_ = other.life_; + expiration_ = other.expiration_; + minLevel_ = other.minLevel_; + maxLevel_ = other.maxLevel_; + createBegin_ = other.createBegin_; + createEnd_ = other.createEnd_; + channels_ = other.channels_.Clone(); + stat_ = other.stat_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GlobalMail Clone() { + return new GlobalMail(this); + } + + /// Field number for the "mid" field. + public const int MidFieldNumber = 1; + private ulong mid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Mid { + get { return mid_; } + set { + mid_ = value; + } + } + + /// Field number for the "sender" field. + public const int SenderFieldNumber = 2; + private string sender_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Sender { + get { return sender_; } + set { + sender_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 3; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 4; + private string message_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "attachments" field. + public const int AttachmentsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_attachments_codec + = pb::FieldCodec.ForMessage(42, global::MikuSB.Proto.SimpleItem.Parser); + private readonly pbc::RepeatedField attachments_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attachments { + get { return attachments_; } + } + + /// Field number for the "start_time" field. + public const int StartTimeFieldNumber = 6; + private uint startTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint StartTime { + get { return startTime_; } + set { + startTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 7; + private uint endTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "life" field. + public const int LifeFieldNumber = 8; + private uint life_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Life { + get { return life_; } + set { + life_ = value; + } + } + + /// Field number for the "expiration" field. + public const int ExpirationFieldNumber = 9; + private uint expiration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Expiration { + get { return expiration_; } + set { + expiration_ = value; + } + } + + /// Field number for the "min_level" field. + public const int MinLevelFieldNumber = 10; + private uint minLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MinLevel { + get { return minLevel_; } + set { + minLevel_ = value; + } + } + + /// Field number for the "max_level" field. + public const int MaxLevelFieldNumber = 12; + private uint maxLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxLevel { + get { return maxLevel_; } + set { + maxLevel_ = value; + } + } + + /// Field number for the "create_begin" field. + public const int CreateBeginFieldNumber = 13; + private uint createBegin_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CreateBegin { + get { return createBegin_; } + set { + createBegin_ = value; + } + } + + /// Field number for the "create_end" field. + public const int CreateEndFieldNumber = 14; + private uint createEnd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CreateEnd { + get { return createEnd_; } + set { + createEnd_ = value; + } + } + + /// Field number for the "channels" field. + public const int ChannelsFieldNumber = 15; + private static readonly pb::FieldCodec _repeated_channels_codec + = pb::FieldCodec.ForMessage(122, global::MikuSB.Proto.ChannelOpt.Parser); + private readonly pbc::RepeatedField channels_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Channels { + get { return channels_; } + } + + /// Field number for the "stat" field. + public const int StatFieldNumber = 99; + private global::MikuSB.Proto.GlobalMailStat stat_ = global::MikuSB.Proto.GlobalMailStat.Default; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.GlobalMailStat Stat { + get { return stat_; } + set { + stat_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GlobalMail); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GlobalMail other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Mid != other.Mid) return false; + if (Sender != other.Sender) return false; + if (Title != other.Title) return false; + if (Message != other.Message) return false; + if(!attachments_.Equals(other.attachments_)) return false; + if (StartTime != other.StartTime) return false; + if (EndTime != other.EndTime) return false; + if (Life != other.Life) return false; + if (Expiration != other.Expiration) return false; + if (MinLevel != other.MinLevel) return false; + if (MaxLevel != other.MaxLevel) return false; + if (CreateBegin != other.CreateBegin) return false; + if (CreateEnd != other.CreateEnd) return false; + if(!channels_.Equals(other.channels_)) return false; + if (Stat != other.Stat) 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 (Mid != 0UL) hash ^= Mid.GetHashCode(); + if (Sender.Length != 0) hash ^= Sender.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Message.Length != 0) hash ^= Message.GetHashCode(); + hash ^= attachments_.GetHashCode(); + if (StartTime != 0) hash ^= StartTime.GetHashCode(); + if (EndTime != 0) hash ^= EndTime.GetHashCode(); + if (Life != 0) hash ^= Life.GetHashCode(); + if (Expiration != 0) hash ^= Expiration.GetHashCode(); + if (MinLevel != 0) hash ^= MinLevel.GetHashCode(); + if (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); + if (CreateBegin != 0) hash ^= CreateBegin.GetHashCode(); + if (CreateEnd != 0) hash ^= CreateEnd.GetHashCode(); + hash ^= channels_.GetHashCode(); + if (Stat != global::MikuSB.Proto.GlobalMailStat.Default) hash ^= Stat.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 (Mid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Mid); + } + if (Sender.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Sender); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Message.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Message); + } + attachments_.WriteTo(output, _repeated_attachments_codec); + if (StartTime != 0) { + output.WriteRawTag(48); + output.WriteUInt32(StartTime); + } + if (EndTime != 0) { + output.WriteRawTag(56); + output.WriteUInt32(EndTime); + } + if (Life != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Life); + } + if (Expiration != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Expiration); + } + if (MinLevel != 0) { + output.WriteRawTag(80); + output.WriteUInt32(MinLevel); + } + if (MaxLevel != 0) { + output.WriteRawTag(96); + output.WriteUInt32(MaxLevel); + } + if (CreateBegin != 0) { + output.WriteRawTag(104); + output.WriteUInt32(CreateBegin); + } + if (CreateEnd != 0) { + output.WriteRawTag(112); + output.WriteUInt32(CreateEnd); + } + channels_.WriteTo(output, _repeated_channels_codec); + if (Stat != global::MikuSB.Proto.GlobalMailStat.Default) { + output.WriteRawTag(152, 6); + output.WriteEnum((int) Stat); + } + 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 (Mid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Mid); + } + if (Sender.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Sender); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Message.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Message); + } + attachments_.WriteTo(ref output, _repeated_attachments_codec); + if (StartTime != 0) { + output.WriteRawTag(48); + output.WriteUInt32(StartTime); + } + if (EndTime != 0) { + output.WriteRawTag(56); + output.WriteUInt32(EndTime); + } + if (Life != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Life); + } + if (Expiration != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Expiration); + } + if (MinLevel != 0) { + output.WriteRawTag(80); + output.WriteUInt32(MinLevel); + } + if (MaxLevel != 0) { + output.WriteRawTag(96); + output.WriteUInt32(MaxLevel); + } + if (CreateBegin != 0) { + output.WriteRawTag(104); + output.WriteUInt32(CreateBegin); + } + if (CreateEnd != 0) { + output.WriteRawTag(112); + output.WriteUInt32(CreateEnd); + } + channels_.WriteTo(ref output, _repeated_channels_codec); + if (Stat != global::MikuSB.Proto.GlobalMailStat.Default) { + output.WriteRawTag(152, 6); + output.WriteEnum((int) Stat); + } + 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 (Mid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Mid); + } + if (Sender.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Sender); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + size += attachments_.CalculateSize(_repeated_attachments_codec); + if (StartTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StartTime); + } + if (EndTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EndTime); + } + if (Life != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Life); + } + if (Expiration != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Expiration); + } + if (MinLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinLevel); + } + if (MaxLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxLevel); + } + if (CreateBegin != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CreateBegin); + } + if (CreateEnd != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CreateEnd); + } + size += channels_.CalculateSize(_repeated_channels_codec); + if (Stat != global::MikuSB.Proto.GlobalMailStat.Default) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Stat); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GlobalMail other) { + if (other == null) { + return; + } + if (other.Mid != 0UL) { + Mid = other.Mid; + } + if (other.Sender.Length != 0) { + Sender = other.Sender; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + attachments_.Add(other.attachments_); + if (other.StartTime != 0) { + StartTime = other.StartTime; + } + if (other.EndTime != 0) { + EndTime = other.EndTime; + } + if (other.Life != 0) { + Life = other.Life; + } + if (other.Expiration != 0) { + Expiration = other.Expiration; + } + if (other.MinLevel != 0) { + MinLevel = other.MinLevel; + } + if (other.MaxLevel != 0) { + MaxLevel = other.MaxLevel; + } + if (other.CreateBegin != 0) { + CreateBegin = other.CreateBegin; + } + if (other.CreateEnd != 0) { + CreateEnd = other.CreateEnd; + } + channels_.Add(other.channels_); + if (other.Stat != global::MikuSB.Proto.GlobalMailStat.Default) { + Stat = other.Stat; + } + _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: { + Mid = input.ReadUInt64(); + break; + } + case 18: { + Sender = input.ReadString(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + Message = input.ReadString(); + break; + } + case 42: { + attachments_.AddEntriesFrom(input, _repeated_attachments_codec); + break; + } + case 48: { + StartTime = input.ReadUInt32(); + break; + } + case 56: { + EndTime = input.ReadUInt32(); + break; + } + case 64: { + Life = input.ReadUInt32(); + break; + } + case 72: { + Expiration = input.ReadUInt32(); + break; + } + case 80: { + MinLevel = input.ReadUInt32(); + break; + } + case 96: { + MaxLevel = input.ReadUInt32(); + break; + } + case 104: { + CreateBegin = input.ReadUInt32(); + break; + } + case 112: { + CreateEnd = input.ReadUInt32(); + break; + } + case 122: { + channels_.AddEntriesFrom(input, _repeated_channels_codec); + break; + } + case 792: { + Stat = (global::MikuSB.Proto.GlobalMailStat) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Mid = input.ReadUInt64(); + break; + } + case 18: { + Sender = input.ReadString(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + Message = input.ReadString(); + break; + } + case 42: { + attachments_.AddEntriesFrom(ref input, _repeated_attachments_codec); + break; + } + case 48: { + StartTime = input.ReadUInt32(); + break; + } + case 56: { + EndTime = input.ReadUInt32(); + break; + } + case 64: { + Life = input.ReadUInt32(); + break; + } + case 72: { + Expiration = input.ReadUInt32(); + break; + } + case 80: { + MinLevel = input.ReadUInt32(); + break; + } + case 96: { + MaxLevel = input.ReadUInt32(); + break; + } + case 104: { + CreateBegin = input.ReadUInt32(); + break; + } + case 112: { + CreateEnd = input.ReadUInt32(); + break; + } + case 122: { + channels_.AddEntriesFrom(ref input, _repeated_channels_codec); + break; + } + case 792: { + Stat = (global::MikuSB.Proto.GlobalMailStat) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Order : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Order()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[17]; } + } + + [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 Order() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Order(Order other) : this() { + tradeNo_ = other.tradeNo_; + thirdTradeNo_ = other.thirdTradeNo_; + pid_ = other.pid_; + productId_ = other.productId_; + productQuantity_ = other.productQuantity_; + totalPrice_ = other.totalPrice_; + paidPrice_ = other.paidPrice_; + finishTime_ = other.finishTime_; + status_ = other.status_; + refundStatus_ = other.refundStatus_; + refundTime_ = other.refundTime_; + subchannel_ = other.subchannel_; + priceunit_ = other.priceunit_; + supplementStatus_ = other.supplementStatus_; + extendinfo_ = other.extendinfo_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Order Clone() { + return new Order(this); + } + + /// Field number for the "trade_no" field. + public const int TradeNoFieldNumber = 1; + private string tradeNo_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TradeNo { + get { return tradeNo_; } + set { + tradeNo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "third_trade_no" field. + public const int ThirdTradeNoFieldNumber = 2; + private string thirdTradeNo_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ThirdTradeNo { + get { return thirdTradeNo_; } + set { + thirdTradeNo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 3; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "product_id" field. + public const int ProductIdFieldNumber = 4; + private string productId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ProductId { + get { return productId_; } + set { + productId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "product_quantity" field. + public const int ProductQuantityFieldNumber = 5; + private uint productQuantity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ProductQuantity { + get { return productQuantity_; } + set { + productQuantity_ = value; + } + } + + /// Field number for the "total_price" field. + public const int TotalPriceFieldNumber = 6; + private uint totalPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TotalPrice { + get { return totalPrice_; } + set { + totalPrice_ = value; + } + } + + /// Field number for the "paid_price" field. + public const int PaidPriceFieldNumber = 7; + private uint paidPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PaidPrice { + get { return paidPrice_; } + set { + paidPrice_ = value; + } + } + + /// Field number for the "finish_time" field. + public const int FinishTimeFieldNumber = 8; + private string finishTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FinishTime { + get { return finishTime_; } + set { + finishTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "status" field. + public const int StatusFieldNumber = 9; + private bool status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Status { + get { return status_; } + set { + status_ = value; + } + } + + /// Field number for the "refund_status" field. + public const int RefundStatusFieldNumber = 10; + private bool refundStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RefundStatus { + get { return refundStatus_; } + set { + refundStatus_ = value; + } + } + + /// Field number for the "refund_time" field. + public const int RefundTimeFieldNumber = 11; + private string refundTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RefundTime { + get { return refundTime_; } + set { + refundTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "subchannel" field. + public const int SubchannelFieldNumber = 12; + private string subchannel_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subchannel { + get { return subchannel_; } + set { + subchannel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "priceunit" field. + public const int PriceunitFieldNumber = 13; + private string priceunit_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Priceunit { + get { return priceunit_; } + set { + priceunit_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "supplement_status" field. + public const int SupplementStatusFieldNumber = 14; + private bool supplementStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SupplementStatus { + get { return supplementStatus_; } + set { + supplementStatus_ = value; + } + } + + /// Field number for the "extendinfo" field. + public const int ExtendinfoFieldNumber = 15; + private string extendinfo_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Extendinfo { + get { return extendinfo_; } + set { + extendinfo_ = 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 Order); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Order other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TradeNo != other.TradeNo) return false; + if (ThirdTradeNo != other.ThirdTradeNo) return false; + if (Pid != other.Pid) return false; + if (ProductId != other.ProductId) return false; + if (ProductQuantity != other.ProductQuantity) return false; + if (TotalPrice != other.TotalPrice) return false; + if (PaidPrice != other.PaidPrice) return false; + if (FinishTime != other.FinishTime) return false; + if (Status != other.Status) return false; + if (RefundStatus != other.RefundStatus) return false; + if (RefundTime != other.RefundTime) return false; + if (Subchannel != other.Subchannel) return false; + if (Priceunit != other.Priceunit) return false; + if (SupplementStatus != other.SupplementStatus) return false; + if (Extendinfo != other.Extendinfo) 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 (TradeNo.Length != 0) hash ^= TradeNo.GetHashCode(); + if (ThirdTradeNo.Length != 0) hash ^= ThirdTradeNo.GetHashCode(); + if (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (ProductId.Length != 0) hash ^= ProductId.GetHashCode(); + if (ProductQuantity != 0) hash ^= ProductQuantity.GetHashCode(); + if (TotalPrice != 0) hash ^= TotalPrice.GetHashCode(); + if (PaidPrice != 0) hash ^= PaidPrice.GetHashCode(); + if (FinishTime.Length != 0) hash ^= FinishTime.GetHashCode(); + if (Status != false) hash ^= Status.GetHashCode(); + if (RefundStatus != false) hash ^= RefundStatus.GetHashCode(); + if (RefundTime.Length != 0) hash ^= RefundTime.GetHashCode(); + if (Subchannel.Length != 0) hash ^= Subchannel.GetHashCode(); + if (Priceunit.Length != 0) hash ^= Priceunit.GetHashCode(); + if (SupplementStatus != false) hash ^= SupplementStatus.GetHashCode(); + if (Extendinfo.Length != 0) hash ^= Extendinfo.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 (TradeNo.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TradeNo); + } + if (ThirdTradeNo.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ThirdTradeNo); + } + if (Pid != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Pid); + } + if (ProductId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ProductId); + } + if (ProductQuantity != 0) { + output.WriteRawTag(40); + output.WriteUInt32(ProductQuantity); + } + if (TotalPrice != 0) { + output.WriteRawTag(48); + output.WriteUInt32(TotalPrice); + } + if (PaidPrice != 0) { + output.WriteRawTag(56); + output.WriteUInt32(PaidPrice); + } + if (FinishTime.Length != 0) { + output.WriteRawTag(66); + output.WriteString(FinishTime); + } + if (Status != false) { + output.WriteRawTag(72); + output.WriteBool(Status); + } + if (RefundStatus != false) { + output.WriteRawTag(80); + output.WriteBool(RefundStatus); + } + if (RefundTime.Length != 0) { + output.WriteRawTag(90); + output.WriteString(RefundTime); + } + if (Subchannel.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Subchannel); + } + if (Priceunit.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Priceunit); + } + if (SupplementStatus != false) { + output.WriteRawTag(112); + output.WriteBool(SupplementStatus); + } + if (Extendinfo.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Extendinfo); + } + 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 (TradeNo.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TradeNo); + } + if (ThirdTradeNo.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ThirdTradeNo); + } + if (Pid != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Pid); + } + if (ProductId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ProductId); + } + if (ProductQuantity != 0) { + output.WriteRawTag(40); + output.WriteUInt32(ProductQuantity); + } + if (TotalPrice != 0) { + output.WriteRawTag(48); + output.WriteUInt32(TotalPrice); + } + if (PaidPrice != 0) { + output.WriteRawTag(56); + output.WriteUInt32(PaidPrice); + } + if (FinishTime.Length != 0) { + output.WriteRawTag(66); + output.WriteString(FinishTime); + } + if (Status != false) { + output.WriteRawTag(72); + output.WriteBool(Status); + } + if (RefundStatus != false) { + output.WriteRawTag(80); + output.WriteBool(RefundStatus); + } + if (RefundTime.Length != 0) { + output.WriteRawTag(90); + output.WriteString(RefundTime); + } + if (Subchannel.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Subchannel); + } + if (Priceunit.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Priceunit); + } + if (SupplementStatus != false) { + output.WriteRawTag(112); + output.WriteBool(SupplementStatus); + } + if (Extendinfo.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Extendinfo); + } + 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 (TradeNo.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TradeNo); + } + if (ThirdTradeNo.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ThirdTradeNo); + } + if (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (ProductId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ProductId); + } + if (ProductQuantity != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProductQuantity); + } + if (TotalPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalPrice); + } + if (PaidPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PaidPrice); + } + if (FinishTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FinishTime); + } + if (Status != false) { + size += 1 + 1; + } + if (RefundStatus != false) { + size += 1 + 1; + } + if (RefundTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RefundTime); + } + if (Subchannel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subchannel); + } + if (Priceunit.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Priceunit); + } + if (SupplementStatus != false) { + size += 1 + 1; + } + if (Extendinfo.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Extendinfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Order other) { + if (other == null) { + return; + } + if (other.TradeNo.Length != 0) { + TradeNo = other.TradeNo; + } + if (other.ThirdTradeNo.Length != 0) { + ThirdTradeNo = other.ThirdTradeNo; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.ProductId.Length != 0) { + ProductId = other.ProductId; + } + if (other.ProductQuantity != 0) { + ProductQuantity = other.ProductQuantity; + } + if (other.TotalPrice != 0) { + TotalPrice = other.TotalPrice; + } + if (other.PaidPrice != 0) { + PaidPrice = other.PaidPrice; + } + if (other.FinishTime.Length != 0) { + FinishTime = other.FinishTime; + } + if (other.Status != false) { + Status = other.Status; + } + if (other.RefundStatus != false) { + RefundStatus = other.RefundStatus; + } + if (other.RefundTime.Length != 0) { + RefundTime = other.RefundTime; + } + if (other.Subchannel.Length != 0) { + Subchannel = other.Subchannel; + } + if (other.Priceunit.Length != 0) { + Priceunit = other.Priceunit; + } + if (other.SupplementStatus != false) { + SupplementStatus = other.SupplementStatus; + } + if (other.Extendinfo.Length != 0) { + Extendinfo = other.Extendinfo; + } + _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: { + TradeNo = input.ReadString(); + break; + } + case 18: { + ThirdTradeNo = input.ReadString(); + break; + } + case 24: { + Pid = input.ReadUInt64(); + break; + } + case 34: { + ProductId = input.ReadString(); + break; + } + case 40: { + ProductQuantity = input.ReadUInt32(); + break; + } + case 48: { + TotalPrice = input.ReadUInt32(); + break; + } + case 56: { + PaidPrice = input.ReadUInt32(); + break; + } + case 66: { + FinishTime = input.ReadString(); + break; + } + case 72: { + Status = input.ReadBool(); + break; + } + case 80: { + RefundStatus = input.ReadBool(); + break; + } + case 90: { + RefundTime = input.ReadString(); + break; + } + case 98: { + Subchannel = input.ReadString(); + break; + } + case 106: { + Priceunit = input.ReadString(); + break; + } + case 112: { + SupplementStatus = input.ReadBool(); + break; + } + case 122: { + Extendinfo = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TradeNo = input.ReadString(); + break; + } + case 18: { + ThirdTradeNo = input.ReadString(); + break; + } + case 24: { + Pid = input.ReadUInt64(); + break; + } + case 34: { + ProductId = input.ReadString(); + break; + } + case 40: { + ProductQuantity = input.ReadUInt32(); + break; + } + case 48: { + TotalPrice = input.ReadUInt32(); + break; + } + case 56: { + PaidPrice = input.ReadUInt32(); + break; + } + case 66: { + FinishTime = input.ReadString(); + break; + } + case 72: { + Status = input.ReadBool(); + break; + } + case 80: { + RefundStatus = input.ReadBool(); + break; + } + case 90: { + RefundTime = input.ReadString(); + break; + } + case 98: { + Subchannel = input.ReadString(); + break; + } + case 106: { + Priceunit = input.ReadString(); + break; + } + case 112: { + SupplementStatus = input.ReadBool(); + break; + } + case 122: { + Extendinfo = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerOrder : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerOrder()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[18]; } + } + + [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 PlayerOrder() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerOrder(PlayerOrder other) : this() { + tradeNo_ = other.tradeNo_; + subchannel_ = other.subchannel_; + doneTime_ = other.doneTime_; + refundTime_ = other.refundTime_; + isUnreal_ = other.isUnreal_; + supplement_ = other.supplement_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerOrder Clone() { + return new PlayerOrder(this); + } + + /// Field number for the "trade_no" field. + public const int TradeNoFieldNumber = 1; + private string tradeNo_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TradeNo { + get { return tradeNo_; } + set { + tradeNo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "subchannel" field. + public const int SubchannelFieldNumber = 2; + private string subchannel_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subchannel { + get { return subchannel_; } + set { + subchannel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "done_time" field. + public const int DoneTimeFieldNumber = 3; + private uint doneTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DoneTime { + get { return doneTime_; } + set { + doneTime_ = value; + } + } + + /// Field number for the "refund_time" field. + public const int RefundTimeFieldNumber = 4; + private uint refundTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RefundTime { + get { return refundTime_; } + set { + refundTime_ = value; + } + } + + /// Field number for the "is_unreal" field. + public const int IsUnrealFieldNumber = 5; + private bool isUnreal_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsUnreal { + get { return isUnreal_; } + set { + isUnreal_ = value; + } + } + + /// Field number for the "supplement" field. + public const int SupplementFieldNumber = 6; + private uint supplement_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Supplement { + get { return supplement_; } + set { + supplement_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerOrder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerOrder other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TradeNo != other.TradeNo) return false; + if (Subchannel != other.Subchannel) return false; + if (DoneTime != other.DoneTime) return false; + if (RefundTime != other.RefundTime) return false; + if (IsUnreal != other.IsUnreal) return false; + if (Supplement != other.Supplement) 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 (TradeNo.Length != 0) hash ^= TradeNo.GetHashCode(); + if (Subchannel.Length != 0) hash ^= Subchannel.GetHashCode(); + if (DoneTime != 0) hash ^= DoneTime.GetHashCode(); + if (RefundTime != 0) hash ^= RefundTime.GetHashCode(); + if (IsUnreal != false) hash ^= IsUnreal.GetHashCode(); + if (Supplement != 0) hash ^= Supplement.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 (TradeNo.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TradeNo); + } + if (Subchannel.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Subchannel); + } + if (DoneTime != 0) { + output.WriteRawTag(24); + output.WriteUInt32(DoneTime); + } + if (RefundTime != 0) { + output.WriteRawTag(32); + output.WriteUInt32(RefundTime); + } + if (IsUnreal != false) { + output.WriteRawTag(40); + output.WriteBool(IsUnreal); + } + if (Supplement != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Supplement); + } + 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 (TradeNo.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TradeNo); + } + if (Subchannel.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Subchannel); + } + if (DoneTime != 0) { + output.WriteRawTag(24); + output.WriteUInt32(DoneTime); + } + if (RefundTime != 0) { + output.WriteRawTag(32); + output.WriteUInt32(RefundTime); + } + if (IsUnreal != false) { + output.WriteRawTag(40); + output.WriteBool(IsUnreal); + } + if (Supplement != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Supplement); + } + 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 (TradeNo.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TradeNo); + } + if (Subchannel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subchannel); + } + if (DoneTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DoneTime); + } + if (RefundTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RefundTime); + } + if (IsUnreal != false) { + size += 1 + 1; + } + if (Supplement != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Supplement); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerOrder other) { + if (other == null) { + return; + } + if (other.TradeNo.Length != 0) { + TradeNo = other.TradeNo; + } + if (other.Subchannel.Length != 0) { + Subchannel = other.Subchannel; + } + if (other.DoneTime != 0) { + DoneTime = other.DoneTime; + } + if (other.RefundTime != 0) { + RefundTime = other.RefundTime; + } + if (other.IsUnreal != false) { + IsUnreal = other.IsUnreal; + } + if (other.Supplement != 0) { + Supplement = other.Supplement; + } + _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: { + TradeNo = input.ReadString(); + break; + } + case 18: { + Subchannel = input.ReadString(); + break; + } + case 24: { + DoneTime = input.ReadUInt32(); + break; + } + case 32: { + RefundTime = input.ReadUInt32(); + break; + } + case 40: { + IsUnreal = input.ReadBool(); + break; + } + case 48: { + Supplement = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TradeNo = input.ReadString(); + break; + } + case 18: { + Subchannel = input.ReadString(); + break; + } + case 24: { + DoneTime = input.ReadUInt32(); + break; + } + case 32: { + RefundTime = input.ReadUInt32(); + break; + } + case 40: { + IsUnreal = input.ReadBool(); + break; + } + case 48: { + Supplement = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerProfile : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerProfile()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[19]; } + } + + [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 PlayerProfile() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerProfile(PlayerProfile other) : this() { + pid_ = other.pid_; + account_ = other.account_; + createTime_ = other.createTime_; + name_ = other.name_; + sign_ = other.sign_; + sex_ = other.sex_; + level_ = other.level_; + logoutTime_ = other.logoutTime_; + friendCount_ = other.friendCount_; + showItems_ = other.showItems_.Clone(); + showAttrs_ = other.showAttrs_.Clone(); + badges_ = other.badges_.Clone(); + tags_ = other.tags_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerProfile Clone() { + return new PlayerProfile(this); + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 1; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "account" field. + public const int AccountFieldNumber = 2; + private string account_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Account { + get { return account_; } + set { + account_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 3; + private uint createTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 4; + private string name_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "sign" field. + public const int SignFieldNumber = 5; + private string sign_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Sign { + get { return sign_; } + set { + sign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "sex" field. + public const int SexFieldNumber = 6; + private global::MikuSB.Proto.Sex sex_ = global::MikuSB.Proto.Sex.Male; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.Sex Sex { + get { return sex_; } + set { + sex_ = value; + } + } + + /// Field number for the "level" field. + public const int LevelFieldNumber = 7; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// Field number for the "logout_time" field. + public const int LogoutTimeFieldNumber = 8; + private uint logoutTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LogoutTime { + get { return logoutTime_; } + set { + logoutTime_ = value; + } + } + + /// Field number for the "friend_count" field. + public const int FriendCountFieldNumber = 9; + private uint friendCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FriendCount { + get { return friendCount_; } + set { + friendCount_ = value; + } + } + + /// Field number for the "show_items" field. + public const int ShowItemsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_showItems_codec + = pb::FieldCodec.ForMessage(82, global::MikuSB.Proto.Item.Parser); + private readonly pbc::RepeatedField showItems_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ShowItems { + get { return showItems_; } + } + + /// Field number for the "show_attrs" field. + public const int ShowAttrsFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_showAttrs_codec + = pb::FieldCodec.ForUInt32(90); + private readonly pbc::RepeatedField showAttrs_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ShowAttrs { + get { return showAttrs_; } + } + + /// Field number for the "badges" field. + public const int BadgesFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_badges_codec + = pb::FieldCodec.ForMessage(98, global::MikuSB.Proto.Item.Parser); + private readonly pbc::RepeatedField badges_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Badges { + get { return badges_; } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForUInt64(106); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerProfile); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerProfile other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Pid != other.Pid) return false; + if (Account != other.Account) return false; + if (CreateTime != other.CreateTime) return false; + if (Name != other.Name) return false; + if (Sign != other.Sign) return false; + if (Sex != other.Sex) return false; + if (Level != other.Level) return false; + if (LogoutTime != other.LogoutTime) return false; + if (FriendCount != other.FriendCount) return false; + if(!showItems_.Equals(other.showItems_)) return false; + if(!showAttrs_.Equals(other.showAttrs_)) return false; + if(!badges_.Equals(other.badges_)) return false; + if(!tags_.Equals(other.tags_)) 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 (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (Account.Length != 0) hash ^= Account.GetHashCode(); + if (CreateTime != 0) hash ^= CreateTime.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Sign.Length != 0) hash ^= Sign.GetHashCode(); + if (Sex != global::MikuSB.Proto.Sex.Male) hash ^= Sex.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (LogoutTime != 0) hash ^= LogoutTime.GetHashCode(); + if (FriendCount != 0) hash ^= FriendCount.GetHashCode(); + hash ^= showItems_.GetHashCode(); + hash ^= showAttrs_.GetHashCode(); + hash ^= badges_.GetHashCode(); + hash ^= tags_.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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (Account.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Account); + } + if (CreateTime != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CreateTime); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Sign.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Sign); + } + if (Sex != global::MikuSB.Proto.Sex.Male) { + output.WriteRawTag(48); + output.WriteEnum((int) Sex); + } + if (Level != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Level); + } + if (LogoutTime != 0) { + output.WriteRawTag(64); + output.WriteUInt32(LogoutTime); + } + if (FriendCount != 0) { + output.WriteRawTag(72); + output.WriteUInt32(FriendCount); + } + showItems_.WriteTo(output, _repeated_showItems_codec); + showAttrs_.WriteTo(output, _repeated_showAttrs_codec); + badges_.WriteTo(output, _repeated_badges_codec); + tags_.WriteTo(output, _repeated_tags_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) { + if (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (Account.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Account); + } + if (CreateTime != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CreateTime); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Sign.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Sign); + } + if (Sex != global::MikuSB.Proto.Sex.Male) { + output.WriteRawTag(48); + output.WriteEnum((int) Sex); + } + if (Level != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Level); + } + if (LogoutTime != 0) { + output.WriteRawTag(64); + output.WriteUInt32(LogoutTime); + } + if (FriendCount != 0) { + output.WriteRawTag(72); + output.WriteUInt32(FriendCount); + } + showItems_.WriteTo(ref output, _repeated_showItems_codec); + showAttrs_.WriteTo(ref output, _repeated_showAttrs_codec); + badges_.WriteTo(ref output, _repeated_badges_codec); + tags_.WriteTo(ref output, _repeated_tags_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; + if (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (Account.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Account); + } + if (CreateTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CreateTime); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Sign.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Sign); + } + if (Sex != global::MikuSB.Proto.Sex.Male) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Sex); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (LogoutTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LogoutTime); + } + if (FriendCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FriendCount); + } + size += showItems_.CalculateSize(_repeated_showItems_codec); + size += showAttrs_.CalculateSize(_repeated_showAttrs_codec); + size += badges_.CalculateSize(_repeated_badges_codec); + size += tags_.CalculateSize(_repeated_tags_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerProfile other) { + if (other == null) { + return; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.Account.Length != 0) { + Account = other.Account; + } + if (other.CreateTime != 0) { + CreateTime = other.CreateTime; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Sign.Length != 0) { + Sign = other.Sign; + } + if (other.Sex != global::MikuSB.Proto.Sex.Male) { + Sex = other.Sex; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.LogoutTime != 0) { + LogoutTime = other.LogoutTime; + } + if (other.FriendCount != 0) { + FriendCount = other.FriendCount; + } + showItems_.Add(other.showItems_); + showAttrs_.Add(other.showAttrs_); + badges_.Add(other.badges_); + tags_.Add(other.tags_); + _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: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + Account = input.ReadString(); + break; + } + case 24: { + CreateTime = input.ReadUInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Sign = input.ReadString(); + break; + } + case 48: { + Sex = (global::MikuSB.Proto.Sex) input.ReadEnum(); + break; + } + case 56: { + Level = input.ReadUInt32(); + break; + } + case 64: { + LogoutTime = input.ReadUInt32(); + break; + } + case 72: { + FriendCount = input.ReadUInt32(); + break; + } + case 82: { + showItems_.AddEntriesFrom(input, _repeated_showItems_codec); + break; + } + case 90: + case 88: { + showAttrs_.AddEntriesFrom(input, _repeated_showAttrs_codec); + break; + } + case 98: { + badges_.AddEntriesFrom(input, _repeated_badges_codec); + break; + } + case 106: + case 104: { + tags_.AddEntriesFrom(input, _repeated_tags_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + Account = input.ReadString(); + break; + } + case 24: { + CreateTime = input.ReadUInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Sign = input.ReadString(); + break; + } + case 48: { + Sex = (global::MikuSB.Proto.Sex) input.ReadEnum(); + break; + } + case 56: { + Level = input.ReadUInt32(); + break; + } + case 64: { + LogoutTime = input.ReadUInt32(); + break; + } + case 72: { + FriendCount = input.ReadUInt32(); + break; + } + case 82: { + showItems_.AddEntriesFrom(ref input, _repeated_showItems_codec); + break; + } + case 90: + case 88: { + showAttrs_.AddEntriesFrom(ref input, _repeated_showAttrs_codec); + break; + } + case 98: { + badges_.AddEntriesFrom(ref input, _repeated_badges_codec); + break; + } + case 106: + case 104: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ClientProfile : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientProfile()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[20]; } + } + + [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 ClientProfile() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientProfile(ClientProfile other) : this() { + platId_ = other.platId_; + version_ = other.version_; + osVersion_ = other.osVersion_; + osHardware_ = other.osHardware_; + telecomOper_ = other.telecomOper_; + network_ = other.network_; + screenWidth_ = other.screenWidth_; + screenHeight_ = other.screenHeight_; + density_ = other.density_; + cpuProfile_ = other.cpuProfile_; + ram_ = other.ram_; + glRender_ = other.glRender_; + glVersion_ = other.glVersion_; + deviceId_ = other.deviceId_; + resourceVersion_ = other.resourceVersion_; + language_ = other.language_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClientProfile Clone() { + return new ClientProfile(this); + } + + /// Field number for the "plat_id" field. + public const int PlatIdFieldNumber = 1; + private uint platId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PlatId { + get { return platId_; } + set { + platId_ = value; + } + } + + /// Field number for the "version" field. + public const int VersionFieldNumber = 2; + private string version_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Version { + get { return version_; } + set { + version_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "os_version" field. + public const int OsVersionFieldNumber = 3; + private string osVersion_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OsVersion { + get { return osVersion_; } + set { + osVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "os_hardware" field. + public const int OsHardwareFieldNumber = 4; + private string osHardware_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OsHardware { + get { return osHardware_; } + set { + osHardware_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "telecom_oper" field. + public const int TelecomOperFieldNumber = 5; + private string telecomOper_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TelecomOper { + get { return telecomOper_; } + set { + telecomOper_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "network" field. + public const int NetworkFieldNumber = 6; + private string network_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Network { + get { return network_; } + set { + network_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "screen_width" field. + public const int ScreenWidthFieldNumber = 7; + private uint screenWidth_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ScreenWidth { + get { return screenWidth_; } + set { + screenWidth_ = value; + } + } + + /// Field number for the "screen_height" field. + public const int ScreenHeightFieldNumber = 8; + private uint screenHeight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ScreenHeight { + get { return screenHeight_; } + set { + screenHeight_ = value; + } + } + + /// Field number for the "density" field. + public const int DensityFieldNumber = 9; + private float density_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Density { + get { return density_; } + set { + density_ = value; + } + } + + /// Field number for the "cpu_profile" field. + public const int CpuProfileFieldNumber = 10; + private string cpuProfile_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CpuProfile { + get { return cpuProfile_; } + set { + cpuProfile_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ram" field. + public const int RamFieldNumber = 11; + private uint ram_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Ram { + get { return ram_; } + set { + ram_ = value; + } + } + + /// Field number for the "gl_render" field. + public const int GlRenderFieldNumber = 12; + private string glRender_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GlRender { + get { return glRender_; } + set { + glRender_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "gl_version" field. + public const int GlVersionFieldNumber = 13; + private string glVersion_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GlVersion { + get { return glVersion_; } + set { + glVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "device_id" field. + public const int DeviceIdFieldNumber = 14; + private string deviceId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DeviceId { + get { return deviceId_; } + set { + deviceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "resource_version" field. + public const int ResourceVersionFieldNumber = 15; + private string resourceVersion_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ResourceVersion { + get { return resourceVersion_; } + set { + resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "language" field. + public const int LanguageFieldNumber = 16; + private string language_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Language { + get { return language_; } + set { + language_ = 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 ClientProfile); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClientProfile other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PlatId != other.PlatId) return false; + if (Version != other.Version) return false; + if (OsVersion != other.OsVersion) return false; + if (OsHardware != other.OsHardware) return false; + if (TelecomOper != other.TelecomOper) return false; + if (Network != other.Network) return false; + if (ScreenWidth != other.ScreenWidth) return false; + if (ScreenHeight != other.ScreenHeight) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Density, other.Density)) return false; + if (CpuProfile != other.CpuProfile) return false; + if (Ram != other.Ram) return false; + if (GlRender != other.GlRender) return false; + if (GlVersion != other.GlVersion) return false; + if (DeviceId != other.DeviceId) return false; + if (ResourceVersion != other.ResourceVersion) return false; + if (Language != other.Language) 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 (PlatId != 0) hash ^= PlatId.GetHashCode(); + if (Version.Length != 0) hash ^= Version.GetHashCode(); + if (OsVersion.Length != 0) hash ^= OsVersion.GetHashCode(); + if (OsHardware.Length != 0) hash ^= OsHardware.GetHashCode(); + if (TelecomOper.Length != 0) hash ^= TelecomOper.GetHashCode(); + if (Network.Length != 0) hash ^= Network.GetHashCode(); + if (ScreenWidth != 0) hash ^= ScreenWidth.GetHashCode(); + if (ScreenHeight != 0) hash ^= ScreenHeight.GetHashCode(); + if (Density != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Density); + if (CpuProfile.Length != 0) hash ^= CpuProfile.GetHashCode(); + if (Ram != 0) hash ^= Ram.GetHashCode(); + if (GlRender.Length != 0) hash ^= GlRender.GetHashCode(); + if (GlVersion.Length != 0) hash ^= GlVersion.GetHashCode(); + if (DeviceId.Length != 0) hash ^= DeviceId.GetHashCode(); + if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode(); + if (Language.Length != 0) hash ^= Language.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 (PlatId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(PlatId); + } + if (Version.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Version); + } + if (OsVersion.Length != 0) { + output.WriteRawTag(26); + output.WriteString(OsVersion); + } + if (OsHardware.Length != 0) { + output.WriteRawTag(34); + output.WriteString(OsHardware); + } + if (TelecomOper.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TelecomOper); + } + if (Network.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Network); + } + if (ScreenWidth != 0) { + output.WriteRawTag(56); + output.WriteUInt32(ScreenWidth); + } + if (ScreenHeight != 0) { + output.WriteRawTag(64); + output.WriteUInt32(ScreenHeight); + } + if (Density != 0F) { + output.WriteRawTag(77); + output.WriteFloat(Density); + } + if (CpuProfile.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CpuProfile); + } + if (Ram != 0) { + output.WriteRawTag(88); + output.WriteUInt32(Ram); + } + if (GlRender.Length != 0) { + output.WriteRawTag(98); + output.WriteString(GlRender); + } + if (GlVersion.Length != 0) { + output.WriteRawTag(106); + output.WriteString(GlVersion); + } + if (DeviceId.Length != 0) { + output.WriteRawTag(114); + output.WriteString(DeviceId); + } + if (ResourceVersion.Length != 0) { + output.WriteRawTag(122); + output.WriteString(ResourceVersion); + } + if (Language.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Language); + } + 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 (PlatId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(PlatId); + } + if (Version.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Version); + } + if (OsVersion.Length != 0) { + output.WriteRawTag(26); + output.WriteString(OsVersion); + } + if (OsHardware.Length != 0) { + output.WriteRawTag(34); + output.WriteString(OsHardware); + } + if (TelecomOper.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TelecomOper); + } + if (Network.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Network); + } + if (ScreenWidth != 0) { + output.WriteRawTag(56); + output.WriteUInt32(ScreenWidth); + } + if (ScreenHeight != 0) { + output.WriteRawTag(64); + output.WriteUInt32(ScreenHeight); + } + if (Density != 0F) { + output.WriteRawTag(77); + output.WriteFloat(Density); + } + if (CpuProfile.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CpuProfile); + } + if (Ram != 0) { + output.WriteRawTag(88); + output.WriteUInt32(Ram); + } + if (GlRender.Length != 0) { + output.WriteRawTag(98); + output.WriteString(GlRender); + } + if (GlVersion.Length != 0) { + output.WriteRawTag(106); + output.WriteString(GlVersion); + } + if (DeviceId.Length != 0) { + output.WriteRawTag(114); + output.WriteString(DeviceId); + } + if (ResourceVersion.Length != 0) { + output.WriteRawTag(122); + output.WriteString(ResourceVersion); + } + if (Language.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Language); + } + 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 (PlatId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlatId); + } + if (Version.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); + } + if (OsVersion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OsVersion); + } + if (OsHardware.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OsHardware); + } + if (TelecomOper.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TelecomOper); + } + if (Network.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Network); + } + if (ScreenWidth != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScreenWidth); + } + if (ScreenHeight != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScreenHeight); + } + if (Density != 0F) { + size += 1 + 4; + } + if (CpuProfile.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CpuProfile); + } + if (Ram != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Ram); + } + if (GlRender.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(GlRender); + } + if (GlVersion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(GlVersion); + } + if (DeviceId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceId); + } + if (ResourceVersion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion); + } + if (Language.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Language); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClientProfile other) { + if (other == null) { + return; + } + if (other.PlatId != 0) { + PlatId = other.PlatId; + } + if (other.Version.Length != 0) { + Version = other.Version; + } + if (other.OsVersion.Length != 0) { + OsVersion = other.OsVersion; + } + if (other.OsHardware.Length != 0) { + OsHardware = other.OsHardware; + } + if (other.TelecomOper.Length != 0) { + TelecomOper = other.TelecomOper; + } + if (other.Network.Length != 0) { + Network = other.Network; + } + if (other.ScreenWidth != 0) { + ScreenWidth = other.ScreenWidth; + } + if (other.ScreenHeight != 0) { + ScreenHeight = other.ScreenHeight; + } + if (other.Density != 0F) { + Density = other.Density; + } + if (other.CpuProfile.Length != 0) { + CpuProfile = other.CpuProfile; + } + if (other.Ram != 0) { + Ram = other.Ram; + } + if (other.GlRender.Length != 0) { + GlRender = other.GlRender; + } + if (other.GlVersion.Length != 0) { + GlVersion = other.GlVersion; + } + if (other.DeviceId.Length != 0) { + DeviceId = other.DeviceId; + } + if (other.ResourceVersion.Length != 0) { + ResourceVersion = other.ResourceVersion; + } + if (other.Language.Length != 0) { + Language = other.Language; + } + _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: { + PlatId = input.ReadUInt32(); + break; + } + case 18: { + Version = input.ReadString(); + break; + } + case 26: { + OsVersion = input.ReadString(); + break; + } + case 34: { + OsHardware = input.ReadString(); + break; + } + case 42: { + TelecomOper = input.ReadString(); + break; + } + case 50: { + Network = input.ReadString(); + break; + } + case 56: { + ScreenWidth = input.ReadUInt32(); + break; + } + case 64: { + ScreenHeight = input.ReadUInt32(); + break; + } + case 77: { + Density = input.ReadFloat(); + break; + } + case 82: { + CpuProfile = input.ReadString(); + break; + } + case 88: { + Ram = input.ReadUInt32(); + break; + } + case 98: { + GlRender = input.ReadString(); + break; + } + case 106: { + GlVersion = input.ReadString(); + break; + } + case 114: { + DeviceId = input.ReadString(); + break; + } + case 122: { + ResourceVersion = input.ReadString(); + break; + } + case 130: { + Language = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PlatId = input.ReadUInt32(); + break; + } + case 18: { + Version = input.ReadString(); + break; + } + case 26: { + OsVersion = input.ReadString(); + break; + } + case 34: { + OsHardware = input.ReadString(); + break; + } + case 42: { + TelecomOper = input.ReadString(); + break; + } + case 50: { + Network = input.ReadString(); + break; + } + case 56: { + ScreenWidth = input.ReadUInt32(); + break; + } + case 64: { + ScreenHeight = input.ReadUInt32(); + break; + } + case 77: { + Density = input.ReadFloat(); + break; + } + case 82: { + CpuProfile = input.ReadString(); + break; + } + case 88: { + Ram = input.ReadUInt32(); + break; + } + case 98: { + GlRender = input.ReadString(); + break; + } + case 106: { + GlVersion = input.ReadString(); + break; + } + case 114: { + DeviceId = input.ReadString(); + break; + } + case 122: { + ResourceVersion = input.ReadString(); + break; + } + case 130: { + Language = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OnlinePlayer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OnlinePlayer()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[21]; } + } + + [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 OnlinePlayer() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OnlinePlayer(OnlinePlayer other) : this() { + pid_ = other.pid_; + name_ = other.name_; + face_ = other.face_; + faceframe_ = other.faceframe_; + level_ = other.level_; + lineup_ = other.lineup_ != null ? other.lineup_.Clone() : null; + items_ = other.items_.Clone(); + captain_ = other.captain_; + stateflag_ = other.stateflag_; + girllovelevel_ = other.girllovelevel_.Clone(); + attrs_ = other.attrs_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OnlinePlayer Clone() { + return new OnlinePlayer(this); + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 1; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private string name_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "face" field. + public const int FaceFieldNumber = 3; + private ulong face_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Face { + get { return face_; } + set { + face_ = value; + } + } + + /// Field number for the "faceframe" field. + public const int FaceframeFieldNumber = 4; + private ulong faceframe_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Faceframe { + get { return faceframe_; } + set { + faceframe_ = value; + } + } + + /// Field number for the "level" field. + public const int LevelFieldNumber = 5; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// Field number for the "lineup" field. + public const int LineupFieldNumber = 6; + private global::MikuSB.Proto.Lineup lineup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.Lineup Lineup { + get { return lineup_; } + set { + lineup_ = value; + } + } + + /// Field number for the "items" field. + public const int ItemsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(58, global::MikuSB.Proto.Item.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "captain" field. + public const int CaptainFieldNumber = 8; + private bool captain_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Captain { + get { return captain_; } + set { + captain_ = value; + } + } + + /// Field number for the "stateflag" field. + public const int StateflagFieldNumber = 9; + private uint stateflag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Stateflag { + get { return stateflag_; } + set { + stateflag_ = value; + } + } + + /// Field number for the "girllovelevel" field. + public const int GirllovelevelFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_girllovelevel_codec + = pb::FieldCodec.ForUInt32(82); + private readonly pbc::RepeatedField girllovelevel_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Girllovelevel { + get { return girllovelevel_; } + } + + /// Field number for the "attrs" field. + public const int AttrsFieldNumber = 11; + private static readonly pbc::MapField.Codec _map_attrs_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 90); + private readonly pbc::MapField attrs_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Attrs { + get { return attrs_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as OnlinePlayer); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(OnlinePlayer other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Pid != other.Pid) return false; + if (Name != other.Name) return false; + if (Face != other.Face) return false; + if (Faceframe != other.Faceframe) return false; + if (Level != other.Level) return false; + if (!object.Equals(Lineup, other.Lineup)) return false; + if(!items_.Equals(other.items_)) return false; + if (Captain != other.Captain) return false; + if (Stateflag != other.Stateflag) return false; + if(!girllovelevel_.Equals(other.girllovelevel_)) return false; + if (!Attrs.Equals(other.Attrs)) 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 (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Face != 0UL) hash ^= Face.GetHashCode(); + if (Faceframe != 0UL) hash ^= Faceframe.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (lineup_ != null) hash ^= Lineup.GetHashCode(); + hash ^= items_.GetHashCode(); + if (Captain != false) hash ^= Captain.GetHashCode(); + if (Stateflag != 0) hash ^= Stateflag.GetHashCode(); + hash ^= girllovelevel_.GetHashCode(); + hash ^= Attrs.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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Face != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Face); + } + if (Faceframe != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(Faceframe); + } + if (Level != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Level); + } + if (lineup_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Lineup); + } + items_.WriteTo(output, _repeated_items_codec); + if (Captain != false) { + output.WriteRawTag(64); + output.WriteBool(Captain); + } + if (Stateflag != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Stateflag); + } + girllovelevel_.WriteTo(output, _repeated_girllovelevel_codec); + attrs_.WriteTo(output, _map_attrs_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) { + if (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Face != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Face); + } + if (Faceframe != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(Faceframe); + } + if (Level != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Level); + } + if (lineup_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Lineup); + } + items_.WriteTo(ref output, _repeated_items_codec); + if (Captain != false) { + output.WriteRawTag(64); + output.WriteBool(Captain); + } + if (Stateflag != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Stateflag); + } + girllovelevel_.WriteTo(ref output, _repeated_girllovelevel_codec); + attrs_.WriteTo(ref output, _map_attrs_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; + if (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Face != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Face); + } + if (Faceframe != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Faceframe); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (lineup_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Lineup); + } + size += items_.CalculateSize(_repeated_items_codec); + if (Captain != false) { + size += 1 + 1; + } + if (Stateflag != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Stateflag); + } + size += girllovelevel_.CalculateSize(_repeated_girllovelevel_codec); + size += attrs_.CalculateSize(_map_attrs_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OnlinePlayer other) { + if (other == null) { + return; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Face != 0UL) { + Face = other.Face; + } + if (other.Faceframe != 0UL) { + Faceframe = other.Faceframe; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.lineup_ != null) { + if (lineup_ == null) { + Lineup = new global::MikuSB.Proto.Lineup(); + } + Lineup.MergeFrom(other.Lineup); + } + items_.Add(other.items_); + if (other.Captain != false) { + Captain = other.Captain; + } + if (other.Stateflag != 0) { + Stateflag = other.Stateflag; + } + girllovelevel_.Add(other.girllovelevel_); + attrs_.MergeFrom(other.attrs_); + _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: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + Face = input.ReadUInt64(); + break; + } + case 32: { + Faceframe = input.ReadUInt64(); + break; + } + case 40: { + Level = input.ReadUInt32(); + break; + } + case 50: { + if (lineup_ == null) { + Lineup = new global::MikuSB.Proto.Lineup(); + } + input.ReadMessage(Lineup); + break; + } + case 58: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 64: { + Captain = input.ReadBool(); + break; + } + case 72: { + Stateflag = input.ReadUInt32(); + break; + } + case 82: + case 80: { + girllovelevel_.AddEntriesFrom(input, _repeated_girllovelevel_codec); + break; + } + case 90: { + attrs_.AddEntriesFrom(input, _map_attrs_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + Face = input.ReadUInt64(); + break; + } + case 32: { + Faceframe = input.ReadUInt64(); + break; + } + case 40: { + Level = input.ReadUInt32(); + break; + } + case 50: { + if (lineup_ == null) { + Lineup = new global::MikuSB.Proto.Lineup(); + } + input.ReadMessage(Lineup); + break; + } + case 58: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 64: { + Captain = input.ReadBool(); + break; + } + case 72: { + Stateflag = input.ReadUInt32(); + break; + } + case 82: + case 80: { + girllovelevel_.AddEntriesFrom(ref input, _repeated_girllovelevel_codec); + break; + } + case 90: { + attrs_.AddEntriesFrom(ref input, _map_attrs_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OnlineEndData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OnlineEndData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[22]; } + } + + [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 OnlineEndData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OnlineEndData(OnlineEndData other) : this() { + pid_ = other.pid_; + infodata_ = other.infodata_; + status_ = other.status_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OnlineEndData Clone() { + return new OnlineEndData(this); + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 1; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "infodata" field. + public const int InfodataFieldNumber = 2; + private string infodata_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Infodata { + get { return infodata_; } + set { + infodata_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "status" field. + public const int StatusFieldNumber = 3; + private uint status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Status { + get { return status_; } + set { + status_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as OnlineEndData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(OnlineEndData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Pid != other.Pid) return false; + if (Infodata != other.Infodata) return false; + if (Status != other.Status) 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 (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (Infodata.Length != 0) hash ^= Infodata.GetHashCode(); + if (Status != 0) hash ^= Status.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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (Infodata.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Infodata); + } + if (Status != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Status); + } + 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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (Infodata.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Infodata); + } + if (Status != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Status); + } + 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 (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (Infodata.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Infodata); + } + if (Status != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OnlineEndData other) { + if (other == null) { + return; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.Infodata.Length != 0) { + Infodata = other.Infodata; + } + if (other.Status != 0) { + Status = other.Status; + } + _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: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + Infodata = input.ReadString(); + break; + } + case 24: { + Status = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + Infodata = input.ReadString(); + break; + } + case 24: { + Status = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccountInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccountInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[23]; } + } + + [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 AccountInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountInfo(AccountInfo other) : this() { + account_ = other.account_; + pid_ = other.pid_; + newGuide_ = other.newGuide_; + errorInfo_ = other.errorInfo_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccountInfo Clone() { + return new AccountInfo(this); + } + + /// Field number for the "account" field. + public const int AccountFieldNumber = 1; + private string account_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Account { + get { return account_; } + set { + account_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 2; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "new_guide" field. + public const int NewGuideFieldNumber = 3; + private uint newGuide_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint NewGuide { + get { return newGuide_; } + set { + newGuide_ = value; + } + } + + /// Field number for the "error_info" field. + public const int ErrorInfoFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_errorInfo_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField errorInfo_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ErrorInfo { + get { return errorInfo_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccountInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccountInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Account != other.Account) return false; + if (Pid != other.Pid) return false; + if (NewGuide != other.NewGuide) return false; + if(!errorInfo_.Equals(other.errorInfo_)) 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 (Account.Length != 0) hash ^= Account.GetHashCode(); + if (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (NewGuide != 0) hash ^= NewGuide.GetHashCode(); + hash ^= errorInfo_.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 (Account.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Account); + } + if (Pid != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Pid); + } + if (NewGuide != 0) { + output.WriteRawTag(24); + output.WriteUInt32(NewGuide); + } + errorInfo_.WriteTo(output, _repeated_errorInfo_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) { + if (Account.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Account); + } + if (Pid != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Pid); + } + if (NewGuide != 0) { + output.WriteRawTag(24); + output.WriteUInt32(NewGuide); + } + errorInfo_.WriteTo(ref output, _repeated_errorInfo_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; + if (Account.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Account); + } + if (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (NewGuide != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NewGuide); + } + size += errorInfo_.CalculateSize(_repeated_errorInfo_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccountInfo other) { + if (other == null) { + return; + } + if (other.Account.Length != 0) { + Account = other.Account; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.NewGuide != 0) { + NewGuide = other.NewGuide; + } + errorInfo_.Add(other.errorInfo_); + _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: { + Account = input.ReadString(); + break; + } + case 16: { + Pid = input.ReadUInt64(); + break; + } + case 24: { + NewGuide = input.ReadUInt32(); + break; + } + case 34: + case 32: { + errorInfo_.AddEntriesFrom(input, _repeated_errorInfo_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Account = input.ReadString(); + break; + } + case 16: { + Pid = input.ReadUInt64(); + break; + } + case 24: { + NewGuide = input.ReadUInt32(); + break; + } + case 34: + case 32: { + errorInfo_.AddEntriesFrom(ref input, _repeated_errorInfo_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChatMsg : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChatMsg()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[24]; } + } + + [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 ChatMsg() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChatMsg(ChatMsg other) : this() { + type_ = other.type_; + channelId_ = other.channelId_; + sender_ = other.sender_; + recver_ = other.recver_; + timeStamp_ = other.timeStamp_; + emoji_ = other.emoji_; + text_ = other.text_; + profile_ = other.profile_ != null ? other.profile_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChatMsg Clone() { + return new ChatMsg(this); + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private global::MikuSB.Proto.ChatType type_ = global::MikuSB.Proto.ChatType.System; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.ChatType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "channel_id" field. + public const int ChannelIdFieldNumber = 2; + private uint channelId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ChannelId { + get { return channelId_; } + set { + channelId_ = value; + } + } + + /// Field number for the "sender" field. + public const int SenderFieldNumber = 3; + private ulong sender_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Sender { + get { return sender_; } + set { + sender_ = value; + } + } + + /// Field number for the "recver" field. + public const int RecverFieldNumber = 4; + private ulong recver_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Recver { + get { return recver_; } + set { + recver_ = value; + } + } + + /// Field number for the "time_stamp" field. + public const int TimeStampFieldNumber = 5; + private uint timeStamp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TimeStamp { + get { return timeStamp_; } + set { + timeStamp_ = value; + } + } + + /// Field number for the "emoji" field. + public const int EmojiFieldNumber = 11; + private ulong emoji_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Emoji { + get { return emoji_; } + set { + emoji_ = value; + } + } + + /// Field number for the "text" field. + public const int TextFieldNumber = 12; + private string text_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return text_; } + set { + text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "profile" field. + public const int ProfileFieldNumber = 21; + private global::MikuSB.Proto.PlayerProfile profile_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.PlayerProfile Profile { + get { return profile_; } + set { + profile_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChatMsg); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChatMsg other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Type != other.Type) return false; + if (ChannelId != other.ChannelId) return false; + if (Sender != other.Sender) return false; + if (Recver != other.Recver) return false; + if (TimeStamp != other.TimeStamp) return false; + if (Emoji != other.Emoji) return false; + if (Text != other.Text) return false; + if (!object.Equals(Profile, other.Profile)) 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::MikuSB.Proto.ChatType.System) hash ^= Type.GetHashCode(); + if (ChannelId != 0) hash ^= ChannelId.GetHashCode(); + if (Sender != 0UL) hash ^= Sender.GetHashCode(); + if (Recver != 0UL) hash ^= Recver.GetHashCode(); + if (TimeStamp != 0) hash ^= TimeStamp.GetHashCode(); + if (Emoji != 0UL) hash ^= Emoji.GetHashCode(); + if (Text.Length != 0) hash ^= Text.GetHashCode(); + if (profile_ != null) hash ^= Profile.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::MikuSB.Proto.ChatType.System) { + output.WriteRawTag(8); + output.WriteEnum((int) Type); + } + if (ChannelId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ChannelId); + } + if (Sender != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Sender); + } + if (Recver != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(Recver); + } + if (TimeStamp != 0) { + output.WriteRawTag(40); + output.WriteUInt32(TimeStamp); + } + if (Emoji != 0UL) { + output.WriteRawTag(88); + output.WriteUInt64(Emoji); + } + if (Text.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Text); + } + if (profile_ != null) { + output.WriteRawTag(170, 1); + output.WriteMessage(Profile); + } + 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::MikuSB.Proto.ChatType.System) { + output.WriteRawTag(8); + output.WriteEnum((int) Type); + } + if (ChannelId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ChannelId); + } + if (Sender != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Sender); + } + if (Recver != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(Recver); + } + if (TimeStamp != 0) { + output.WriteRawTag(40); + output.WriteUInt32(TimeStamp); + } + if (Emoji != 0UL) { + output.WriteRawTag(88); + output.WriteUInt64(Emoji); + } + if (Text.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Text); + } + if (profile_ != null) { + output.WriteRawTag(170, 1); + output.WriteMessage(Profile); + } + 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::MikuSB.Proto.ChatType.System) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + if (ChannelId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChannelId); + } + if (Sender != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Sender); + } + if (Recver != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Recver); + } + if (TimeStamp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TimeStamp); + } + if (Emoji != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Emoji); + } + if (Text.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + if (profile_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Profile); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChatMsg other) { + if (other == null) { + return; + } + if (other.Type != global::MikuSB.Proto.ChatType.System) { + Type = other.Type; + } + if (other.ChannelId != 0) { + ChannelId = other.ChannelId; + } + if (other.Sender != 0UL) { + Sender = other.Sender; + } + if (other.Recver != 0UL) { + Recver = other.Recver; + } + if (other.TimeStamp != 0) { + TimeStamp = other.TimeStamp; + } + if (other.Emoji != 0UL) { + Emoji = other.Emoji; + } + if (other.Text.Length != 0) { + Text = other.Text; + } + if (other.profile_ != null) { + if (profile_ == null) { + Profile = new global::MikuSB.Proto.PlayerProfile(); + } + Profile.MergeFrom(other.Profile); + } + _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: { + Type = (global::MikuSB.Proto.ChatType) input.ReadEnum(); + break; + } + case 16: { + ChannelId = input.ReadUInt32(); + break; + } + case 24: { + Sender = input.ReadUInt64(); + break; + } + case 32: { + Recver = input.ReadUInt64(); + break; + } + case 40: { + TimeStamp = input.ReadUInt32(); + break; + } + case 88: { + Emoji = input.ReadUInt64(); + break; + } + case 98: { + Text = input.ReadString(); + break; + } + case 170: { + if (profile_ == null) { + Profile = new global::MikuSB.Proto.PlayerProfile(); + } + input.ReadMessage(Profile); + 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: { + Type = (global::MikuSB.Proto.ChatType) input.ReadEnum(); + break; + } + case 16: { + ChannelId = input.ReadUInt32(); + break; + } + case 24: { + Sender = input.ReadUInt64(); + break; + } + case 32: { + Recver = input.ReadUInt64(); + break; + } + case 40: { + TimeStamp = input.ReadUInt32(); + break; + } + case 88: { + Emoji = input.ReadUInt64(); + break; + } + case 98: { + Text = input.ReadString(); + break; + } + case 170: { + if (profile_ == null) { + Profile = new global::MikuSB.Proto.PlayerProfile(); + } + input.ReadMessage(Profile); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CustomRoster : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CustomRoster()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[25]; } + } + + [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 CustomRoster() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomRoster(CustomRoster other) : this() { + pid_ = other.pid_; + roster_ = other.roster_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomRoster Clone() { + return new CustomRoster(this); + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 1; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "roster" field. + public const int RosterFieldNumber = 2; + private static readonly pbc::MapField.Codec _map_roster_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 18); + private readonly pbc::MapField roster_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Roster { + get { return roster_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CustomRoster); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CustomRoster other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Pid != other.Pid) return false; + if (!Roster.Equals(other.Roster)) 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 (Pid != 0UL) hash ^= Pid.GetHashCode(); + hash ^= Roster.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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + roster_.WriteTo(output, _map_roster_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) { + if (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + roster_.WriteTo(ref output, _map_roster_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; + if (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + size += roster_.CalculateSize(_map_roster_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CustomRoster other) { + if (other == null) { + return; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + roster_.MergeFrom(other.roster_); + _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: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + roster_.AddEntriesFrom(input, _map_roster_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + roster_.AddEntriesFrom(ref input, _map_roster_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GlobalAttrs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GlobalAttrs()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.CoreReflection.Descriptor.MessageTypes[26]; } + } + + [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 GlobalAttrs() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GlobalAttrs(GlobalAttrs other) : this() { + attrs_ = other.attrs_.Clone(); + strAttrs_ = other.strAttrs_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GlobalAttrs Clone() { + return new GlobalAttrs(this); + } + + /// Field number for the "attrs" field. + public const int AttrsFieldNumber = 1; + private static readonly pbc::MapField.Codec _map_attrs_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 10); + private readonly pbc::MapField attrs_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Attrs { + get { return attrs_; } + } + + /// Field number for the "str_attrs" field. + public const int StrAttrsFieldNumber = 2; + private static readonly pbc::MapField.Codec _map_strAttrs_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 18); + private readonly pbc::MapField strAttrs_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField StrAttrs { + get { return strAttrs_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GlobalAttrs); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GlobalAttrs other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!Attrs.Equals(other.Attrs)) return false; + if (!StrAttrs.Equals(other.StrAttrs)) 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 ^= Attrs.GetHashCode(); + hash ^= StrAttrs.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 + attrs_.WriteTo(output, _map_attrs_codec); + strAttrs_.WriteTo(output, _map_strAttrs_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) { + attrs_.WriteTo(ref output, _map_attrs_codec); + strAttrs_.WriteTo(ref output, _map_strAttrs_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 += attrs_.CalculateSize(_map_attrs_codec); + size += strAttrs_.CalculateSize(_map_strAttrs_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GlobalAttrs other) { + if (other == null) { + return; + } + attrs_.MergeFrom(other.attrs_); + strAttrs_.MergeFrom(other.strAttrs_); + _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: { + attrs_.AddEntriesFrom(input, _map_attrs_codec); + break; + } + case 18: { + strAttrs_.AddEntriesFrom(input, _map_strAttrs_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + attrs_.AddEntriesFrom(ref input, _map_attrs_codec); + break; + } + case 18: { + strAttrs_.AddEntriesFrom(ref input, _map_strAttrs_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/Core.proto b/Proto/Core.proto deleted file mode 100644 index 0385229..0000000 --- a/Proto/Core.proto +++ /dev/null @@ -1,302 +0,0 @@ -syntax = "proto3"; - -package Core; - -option csharp_namespace = "MikuSB.Proto"; - -enum Sex { - MALE = 0; - FEMALE = 1; -} - -enum PlayerCoreAttribute { - LEVEL = 0; - EXP = 1; - VIGOR = 2; - CHARGED = 3; - VIGOR_TIME = 4; -} - -enum MailStat { - New = 0; - Readed = 1; - Geted = 2; - Removed = 3; -} - -enum GlobalMailStat { - Default = 0; - Banned = 1; - Deleted = 2; -} - -enum ChatType { - SYSTEM = 0; - WORLD = 1; - FRIEND = 2; - ONLINE = 3; -} - -message Empty { -} - -message SimpleBoolean { - bool data = 1; -} - -message SimpleUint { - uint64 data = 1; -} - -message SimpleString { - string data = 1; -} - -message IDArray { - repeated uint64 ids = 1; -} - -message StringArray { - repeated string list = 1; -} - -message PlayerProfileArray { - repeated PlayerProfile list = 1; -} - -message ChannelOpt { - string channel = 1; - repeated string subchannels = 2; -} - -message SimpleItem { - uint32 G = 1; - uint32 D = 2; - uint32 P = 3; - uint32 L = 4; - uint32 Count = 5; -} - -message Enhance { - uint32 level = 1; - uint32 exp = 2; - uint32 break = 3; - uint32 evolue = 4; - uint32 trust = 5; - uint32 pro_level = 6; - repeated uint64 spines = 11; - repeated uint32 affixs = 12; -} - -message Item { - uint64 id = 1; - uint64 template = 2; - uint32 count = 3; - uint32 flag = 4; - uint32 userdata = 5; - uint32 expiration = 6; - Enhance enhance = 7; - map slots = 8; -} - -message Lineup { - uint32 index = 1; - string name = 2; - uint64 member1 = 3; - uint64 member2 = 4; - uint64 member3 = 5; -} - -message Player { - uint64 pid = 1; - string account = 2; - string provider = 3; - string channel = 4; - string subchannel = 5; - string name = 11; - string sign = 12; - Sex sex = 13; - uint32 level = 14; - uint32 exp = 15; - uint32 vigor = 16; - map money = 17; - uint32 charged = 18; - uint32 create_time = 31; - uint32 last_login_time = 32; - uint32 last_vigor_time = 33; - uint64 item_id_alloc = 41; - repeated Item items = 42; - repeated Lineup solutions = 43; - map attrs = 44; - map str_attrs = 45; - repeated uint64 show_items = 46; - repeated uint32 show_attrs = 47; - map friend_pieces = 48; - uint64 last_pieces = 49; - map mail_box = 50; - uint32 last_global_mail_time = 51; - uint64 last_person_mid = 52; - repeated uint64 badges = 53; - map order_box = 60; - repeated uint64 tags = 96; - uint64 serial = 97; - uint32 ban_type = 98; - uint32 ban_expr = 99; -} - -message FriendPieces { - uint64 index = 1; - uint64 pid = 2; - uint32 shape = 3; - uint32 expr = 4; - bool deleted = 5; -} - -message PlayerMail { - uint64 mid = 1; - MailStat stat = 2; - uint32 time = 3; - uint32 expiration = 4; -} - -message Mail { - uint64 mid = 1; - string title = 2; - string message = 3; - repeated SimpleItem attachments = 4; - string sender = 5; - uint64 pid = 6; - uint32 time = 7; - uint32 expiration = 8; - uint32 life = 9; - MailStat stat = 10; - bool is_deleted = 99; -} - -message GlobalMail { - uint64 mid = 1; - string sender = 2; - string title = 3; - string message = 4; - repeated SimpleItem attachments = 5; - uint32 start_time = 6; - uint32 end_time = 7; - uint32 life = 8; - uint32 expiration = 9; - uint32 min_level = 10; - uint32 max_level = 12; - uint32 create_begin = 13; - uint32 create_end = 14; - repeated ChannelOpt channels = 15; - GlobalMailStat stat = 99; -} - -message Order { - string trade_no = 1; - string third_trade_no = 2; - uint64 pid = 3; - string product_id = 4; - uint32 product_quantity = 5; - uint32 total_price = 6; - uint32 paid_price = 7; - string finish_time = 8; - bool status = 9; - bool refund_status = 10; - string refund_time = 11; - string subchannel = 12; - string priceunit = 13; - bool supplement_status = 14; - string extendinfo = 15; -} - -message PlayerOrder { - string trade_no = 1; - string subchannel = 2; - uint32 done_time = 3; - uint32 refund_time = 4; - bool is_unreal = 5; - uint32 supplement = 6; -} - -message PlayerProfile { - uint64 pid = 1; - string account = 2; - uint32 create_time = 3; - string name = 4; - string sign = 5; - Sex sex = 6; - uint32 level = 7; - uint32 logout_time = 8; - uint32 friend_count = 9; - repeated Item show_items = 10; - repeated uint32 show_attrs = 11; - repeated Item badges = 12; - repeated uint64 tags = 13; -} - -message ClientProfile { - uint32 plat_id = 1; - string version = 2; - string os_version = 3; - string os_hardware = 4; - string telecom_oper = 5; - string network = 6; - uint32 screen_width = 7; - uint32 screen_height = 8; - float density = 9; - string cpu_profile = 10; - uint32 ram = 11; - string gl_render = 12; - string gl_version = 13; - string device_id = 14; - string resource_version = 15; - string language = 16; -} - -message OnlinePlayer { - uint64 pid = 1; - string name = 2; - uint64 face = 3; - uint64 faceframe = 4; - uint32 level = 5; - Lineup lineup = 6; - repeated Item items = 7; - bool captain = 8; - uint32 stateflag = 9; - repeated uint32 girllovelevel = 10; - map attrs = 11; -} - -message OnlineEndData { - uint64 pid = 1; - string infodata = 2; - uint32 status = 3; -} - -message AccountInfo { - string account = 1; - uint64 pid = 2; - uint32 new_guide = 3; - repeated uint32 error_info = 4; -} - -message ChatMsg { - ChatType type = 1; - uint32 channel_id = 2; - uint64 sender = 3; - uint64 recver = 4; - uint32 time_stamp = 5; - uint64 emoji = 11; - string text = 12; - PlayerProfile profile = 21; -} - -message CustomRoster { - uint64 pid = 1; - map roster = 2; -} - -message GlobalAttrs { - map attrs = 1; - map str_attrs = 2; -} diff --git a/Proto/SnowBreak.cs b/Proto/SnowBreak.cs new file mode 100644 index 0000000..fd26488 --- /dev/null +++ b/Proto/SnowBreak.cs @@ -0,0 +1,10814 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SnowBreak.proto +// +#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 MikuSB.Proto { + + /// Holder for reflection information generated from SnowBreak.proto + public static partial class SnowBreakReflection { + + #region Descriptor + /// File descriptor for SnowBreak.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SnowBreakReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cg9Tbm93QnJlYWsucHJvdG8SCXNub3dicmVhaxoKQ29yZS5wcm90byJYCghS", + "ZXFMb2dpbhIQCghwcm92aWRlchgBIAEoCRINCgV0b2tlbhgCIAEoCRIrCg5j", + "bGllbnRfcHJvZmlsZRgDIAEoCzITLkNvcmUuQ2xpZW50UHJvZmlsZSLGAwoI", + "UnNwTG9naW4SEgoKc2Vzc2lvbl9pZBgBIAEoCRIaCgRkYXRhGAIgASgLMgwu", + "Q29yZS5QbGF5ZXISEwoLbmVlZF9yZW5hbWUYAyABKAgSDwoHYXJlYV9pZBgE", + "IAEoDRIRCgl0aW1lX3pvbmUYBSABKAUSEQoJdGltZXN0YW1wGAYgASgNEhUK", + "DWNlcnRpZmljYXRpb24YByABKAUSOgoMZ2xvYmFsX2F0dHJzGAggAygLMiQu", + "c25vd2JyZWFrLlJzcExvZ2luLkdsb2JhbEF0dHJzRW50cnkSFQoNd29ybGRf", + "Y2hhbm5lbBgJIAEoDRJBChBnbG9iYWxfc3RyX2F0dHJzGAogAygLMicuc25v", + "d2JyZWFrLlJzcExvZ2luLkdsb2JhbFN0ckF0dHJzRW50cnkSEgoKZXJyb3Jf", + "Y29kZRhiIAEoDRISCgplcnJvcl9pbmZvGGMgAygNGjIKEEdsb2JhbEF0dHJz", + "RW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgNOgI4ARo1ChNHbG9i", + "YWxTdHJBdHRyc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToC", + "OAEiWAoMUmVxUmVjb25uZWN0EgsKA3BpZBgBIAEoBBISCgpzZXNzaW9uX2lk", + "GAIgASgJEhUKDXdvcmxkX2NoYW5uZWwYAyABKA0SEAoIbGFuZ3VhZ2UYBCAB", + "KAkikAEKDFJzcFJlY29ubmVjdBISCgpzZXNzaW9uX2lkGAEgASgJEhoKBGRh", + "dGEYAiABKAsyDC5Db3JlLlBsYXllchITCgtuZWVkX3JlbmFtZRgDIAEoCBIR", + "Cgl0aW1lX3pvbmUYBCABKAUSEQoJdGltZXN0YW1wGAUgASgNEhUKDXdvcmxk", + "X2NoYW5uZWwYBiABKA0iMQoOUmVxQWNjb3VudEluZm8SEAoIcHJvdmlkZXIY", + "ASABKAkSDQoFdG9rZW4YAiABKAkiUwoJUmVxQ2FsbEdTEgsKA2FwaRgBIAEo", + "CRINCgVwYXJhbRgCIAEoCRIQCghjbGlja251bRgDIAEoDRIYChBkZXBlbmRl", + "bnRfcGFyYW1zGAQgAygJIicKClJlcVVzZUl0ZW0SCgoCaWQYASABKAQSDQoF", + "Y291bnQYAiABKA0iPQoTUmVxT25saW5lQ3JlYXRlUm9vbRIQCghvbmxpbmVp", + "ZBgBIAEoDRIUCgxsaW5ldXBfaW5kZXgYAiABKA0iXwoTUnNwT25saW5lQ3Jl", + "YXRlUm9vbRIQCghvbmxpbmVpZBgBIAEoDRIUCgxsaW5ldXBfaW5kZXgYAiAB", + "KA0SDgoGcm9vbWlkGAMgASgEEhAKCGJ1ZmZpbmZvGAQgAygNIjQKD1JlcU9u", + "bGluZUFjY2VwdBIPCgdvdGhlcmlkGAEgASgEEhAKCG9ubGluZWlkGAIgASgN", + "IkgKE1JlcU9ubGluZUNoYXRBY2NlcHQSDwoHb3RoZXJpZBgBIAEoBBIQCghv", + "bmxpbmVpZBgCIAEoDRIOCgZyb29taWQYAyABKAQiNgoQUmVxT25saW5lUmVj", + "cnVpdBIPCgdyb29tX2lkGAEgASgEEhEKCW9ubGluZV9pZBgCIAEoDSJXCgtG", + "cmllbmRWaWdvchILCgNwaWQYASABKAQSEgoKaGF2ZV92aWdvchgCIAEoCBIR", + "Cgl2aWdvcl9nb3QYAyABKAgSFAoMcmV0dXJuX3ZpZ29yGAQgASgIIjcKD0Zy", + "aWVuZFZpZ29yTGlzdBIkCgRsaXN0GAEgAygLMhYuc25vd2JyZWFrLkZyaWVu", + "ZFZpZ29yIocBCghSYW5rTGlzdBIRCglyYW5rX25hbWUYASABKAkSKgoEbGlz", + "dBgCIAMoCzIcLnNub3dicmVhay5SYW5rTGlzdC5MaXN0SXRlbRo8CghMaXN0", + "SXRlbRITCgttZW1iZXJfbmFtZRgBIAEoCRINCgVzY29yZRgCIAEoDRIMCgRp", + "bmZvGAMgASgJIkIKCFJhbmtJbmZvEg0KBXNjb3JlGAEgASgNEgwKBHJhbmsY", + "AiABKA0SCwoDc3VtGAMgASgNEgwKBGluZm8YBCABKAkiOAoRR2xvYmFsQ291", + "bnRlckluZm8SFAoMY291bnRlcl9uYW1lGAEgASgJEg0KBXZhbHVlGAIgASgN", + "IigKBk50ZkxvZxIOCgZhY3Rpb24YASABKAkSDgoGZGV0YWlsGAIgASgJIoYB", + "CgxOdGZCcm9hZGNhc3QSCwoDbXNnGAEgASgJEhAKCGR1cmF0aW9uGAIgASgN", + "EhIKCnN0YXJ0X3RpbWUYAyABKA0SEAoIZW5kX3RpbWUYBCABKA0SDQoFY2xl", + "YW4YBSABKAgSIgoIY2hhbm5lbHMYBiADKAsyEC5Db3JlLkNoYW5uZWxPcHQi", + "twQKDU50ZlN5bmNQbGF5ZXISDAoEc2lnbhgBIAEoCRIwCgRjb3JlGAIgAygL", + "MiIuc25vd2JyZWFrLk50ZlN5bmNQbGF5ZXIuQ29yZUVudHJ5EjQKBmN1c3Rv", + "bRgDIAMoCzIkLnNub3dicmVhay5OdGZTeW5jUGxheWVyLkN1c3RvbUVudHJ5", + "EjsKCmN1c3RvbV9zdHIYBCADKAsyJy5zbm93YnJlYWsuTnRmU3luY1BsYXll", + "ci5DdXN0b21TdHJFbnRyeRIZCgVpdGVtcxgFIAMoCzIKLkNvcmUuSXRlbRIS", + "CgpzaG93X2l0ZW1zGAYgAygEEhIKCnNob3dfYXR0cnMYByADKA0SMgoFbW9u", + "ZXkYCCADKAsyIy5zbm93YnJlYWsuTnRmU3luY1BsYXllci5Nb25leUVudHJ5", + "EiIKBnBpZWNlcxgJIAMoCzISLkNvcmUuRnJpZW5kUGllY2VzEg4KBmJhZGdl", + "cxgKIAMoBBIMCgR0YWdzGAsgAygEGisKCUNvcmVFbnRyeRILCgNrZXkYASAB", + "KA0SDQoFdmFsdWUYAiABKA06AjgBGi0KC0N1c3RvbUVudHJ5EgsKA2tleRgB", + "IAEoDRINCgV2YWx1ZRgCIAEoDToCOAEaMAoOQ3VzdG9tU3RyRW50cnkSCwoD", + "a2V5GAEgASgNEg0KBXZhbHVlGAIgASgJOgI4ARosCgpNb25leUVudHJ5EgsK", + "A2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoBToCOAEiPQoNTnRmU3luY0xpbmV1", + "cBIcCgZsaW5ldXAYASABKAsyDC5Db3JlLkxpbmV1cBIOCgZyZW1vdmUYAiAB", + "KAgiVwoNTnRmQ2FsbFNjcmlwdBILCgNhcGkYASABKAkSCwoDYXJnGAIgASgJ", + "EiwKCmV4dHJhX3N5bmMYAyABKAsyGC5zbm93YnJlYWsuTnRmU3luY1BsYXll", + "ciIzCgpOdGZTZXRBdHRyEgsKA2dpZBgBIAEoDRILCgNzaWQYAiABKA0SCwoD", + "dmFsGAMgASgNIjYKDU50ZlNldFN0ckF0dHISCwoDZ2lkGAEgASgNEgsKA3Np", + "ZBgCIAEoDRILCgN2YWwYAyABKAkiNAoOTnRmT25saW5lU3RhcnQSDwoHcm9v", + "bV9pZBgBIAEoBBIRCglyb29tX2FkZHIYAiABKAkieQoNTnRmT25saW5lUm9v", + "bRIPCgdyb29tX2lkGAEgASgEEhAKCG9ubGluZWlkGAIgASgNEiMKB3BsYXll", + "cnMYAyADKAsyEi5Db3JlLk9ubGluZVBsYXllchIOCgZibWF0Y2gYBCABKAgS", + "EAoIYnVmZmluZm8YBSADKA0ihAEKD050Zk9ubGluZUludml0ZRIPCgdyb29t", + "X2lkGAEgASgEEhAKCG9ubGluZWlkGAIgASgNEhAKCHBsYXllcmlkGAMgASgE", + "EgwKBG5hbWUYBCABKAkSDAoEZmFjZRgFIAEoBBIRCglmYWNlZnJhbWUYBiAB", + "KAQSDQoFbGV2ZWwYByABKA0iYwoQTnRmT25saW5lUmVjcnVpdBIPCgdyb29t", + "X2lkGAEgASgEEhEKCW9ubGluZV9pZBgCIAEoDRIrCg5zZW5kZXJfcHJvZmls", + "ZRgDIAEoCzITLkNvcmUuUGxheWVyUHJvZmlsZSKMAQoOTnRmT25saW5lU3Rh", + "dGUSDwoHcm9vbV9pZBgBIAEoBBIQCghvbmxpbmVpZBgCIAEoDRIRCgltYXRj", + "aGZsYWcYAyABKA0SDwoHcGxheWVycxgEIAMoBBIRCglzdGF0ZWZsYWcYBSAD", + "KA0SDwoHbm93dGltZRgGIAEoBBIPCgdsZXZlbGlkGAcgASgEIkAKDFJlcVJv", + "b21TdGFydBIPCgdyb29tX2lkGAEgASgEEhAKCGlzX3JlZGF5GAIgASgIEg0K", + "BWVycm9yGAMgASgJIloKDFJzcFJvb21TdGFydBIjCgdwbGF5ZXJzGAEgAygL", + "MhIuQ29yZS5PbmxpbmVQbGF5ZXISEAoIYnVmZmluZm8YAiADKA0SEwoLcG9s", + "bGluZ3dlZWsYAyABKA0iLgoLTnRmU3RvcFJvb20SDwoHcm9vbV9pZBgBIAEo", + "BBIOCgZyZWFzb24YAiABKAkiRwoLTnRmUm9vbU92ZXISDwoHcm9vbV9pZBgB", + "IAEoBBInCgpwbGF5ZXJpbmZvGAIgAygLMhMuQ29yZS5PbmxpbmVFbmREYXRh", + "IkIKC1JlcUFudGlEYXRhEhEKCWRhdGFfdHlwZRgBIAEoDRIPCgdtdHBEYXRh", + "GAIgASgMEg8KB3BsYXRfaWQYBCABKAUiNwoSTnRmUm9vbVBsYXllckNoZWF0", + "Eg8KB3Jvb21faWQYASABKAQSEAoIcGxheWVyaWQYAiABKAQqsRcKAlBGEggK", + "BE5PTkUQABINCglSRVFfTE9HSU4QARINCglSU1BfTE9HSU4QAhIRCg1SRVFf", + "UkVDT05ORUNUEAMSEQoNUlNQX1JFQ09OTkVDVBAEEg4KClJFUV9SRU5BTUUQ", + "BRIOCgpSU1BfUkVOQU1FEAYSDgoKUkVRX0NBTExHUxAHEg4KClJTUF9DQUxM", + "R1MQCBIPCgtSRVFfVVNFSVRFTRAJEg8KC1JTUF9VU0VJVEVNEAoSEAoMUkVR", + "X1JFQURNQUlMEAsSEAoMUlNQX1JFQURNQUlMEAwSFwoTUkVRX01BSUxfQVRU", + "QUNITUVOVBANEhcKE1JTUF9NQUlMX0FUVEFDSE1FTlQQDhIPCgtSRVFfREVM", + "TUFJTBAPEg8KC1JTUF9ERUxNQUlMEBASFAoQUkVRX1NFVF9ORVdHVUlERRAR", + "EhQKEFJTUF9TRVRfTkVXR1VJREUQEhITCg9SRVFfQUNDT1VOVElORk8QExIT", + "Cg9SU1BfQUNDT1VOVElORk8QFBIOCgpSRVFfUkVTSUdOEBcSDgoKUlNQX1JF", + "U0lHThAYEg4KClJFUV9SRUNPUkQQGRIOCgpSU1BfUkVDT1JEEBoSFQoRUkVR", + "X0FERF9GUklFTkRSRVEQGxIVChFSU1BfQUREX0ZSSUVORFJFURAcEhcKE1JF", + "UV9BR1JFRV9GUklFTkRSRVEQHRIXChNSU1BfQUdSRUVfRlJJRU5EUkVREB4S", + "GAoUUkVRX1JFRlVTRV9GUklFTkRSRVEQHxIYChRSU1BfUkVGVVNFX0ZSSUVO", + "RFJFURAgEhUKEVJFUV9SRU1PVkVfRlJJRU5EECESFQoRUlNQX1JFTU9WRV9G", + "UklFTkQQIhIYChRSRVFfR0lWRV9GUklFTkRWSUdPUhAjEhgKFFJTUF9HSVZF", + "X0ZSSUVORFZJR09SECQSGAoUUkVRX1JFQ1ZfRlJJRU5EVklHT1IQJRIYChRS", + "U1BfUkVDVl9GUklFTkRWSUdPUhAmEhgKFFJFUV9QTEFZRVJfUkVDT01NRU5E", + "ECcSGAoUUlNQX1BMQVlFUl9SRUNPTU1FTkQQKBIVChFSRVFfQUREX0JMT0NL", + "TElTVBApEhUKEVJTUF9BRERfQkxPQ0tMSVNUECoSFQoRUkVRX0RFTF9CTE9D", + "S0xJU1QQKxIVChFSU1BfREVMX0JMT0NLTElTVBAsEhMKD1JFUV9GSU5EX1BM", + "QVlFUhAtEhMKD1JTUF9GSU5EX1BMQVlFUhAuEhYKElJFUV9QTEFZRVJfUFJP", + "RklMRRAvEhYKElJTUF9QTEFZRVJfUFJPRklMRRAwEhMKD1JFUV9HRVRfVkVS", + "U0lPThAxEhMKD1JTUF9HRVRfVkVSU0lPThAyEhAKDFJFUV9SQU5LTElTVBAz", + "EhAKDFJTUF9SQU5LTElTVBA0EgwKCFJFUV9SQU5LEDUSDAoIUlNQX1JBTksQ", + "NhIXChNSRVFfQkxPQ0tfRlJJRU5EUkVREDcSFwoTUlNQX0JMT0NLX0ZSSUVO", + "RFJFURA4EhMKD1JFUV9XT1JEX0ZJTFRFUhA5EhMKD1JTUF9XT1JEX0ZJTFRF", + "UhA6EhgKFFJFUV9TRVRfQ1VTVE9NUk9TVEVSEDsSGAoUUlNQX1NFVF9DVVNU", + "T01ST1NURVIQPBIVChFSRVFfR0xPQkFMQ09VTlRFUhA9EhUKEVJTUF9HTE9C", + "QUxDT1VOVEVSED4SDgoJUkVRX01BVENIEK0CEg4KCVJTUF9NQVRDSBCuAhIU", + "Cg9SRVFfT05MSU5FX1JPT00QrwISFAoPUlNQX09OTElORV9ST09NELACEhoK", + "FVJFUV9PTkxJTkVfUk9PTV9TVEFSVBCxAhIaChVSU1BfT05MSU5FX1JPT01f", + "U1RBUlQQsgISGQoUUkVRX09OTElORV9ST09NX0VYSVQQswISGQoUUlNQX09O", + "TElORV9ST09NX0VYSVQQtAISGwoWUkVRX09OTElORV9ST09NX0lOVklURRC1", + "AhIbChZSU1BfT05MSU5FX1JPT01fSU5WSVRFELYCEhsKFlJFUV9PTkxJTkVf", + "Uk9PTV9BQ0NFUFQQtwISGwoWUlNQX09OTElORV9ST09NX0FDQ0VQVBC4AhIb", + "ChZSRVFfT05MSU5FX1JPT01fVVBEQVRFELkCEhsKFlJTUF9PTkxJTkVfUk9P", + "TV9VUERBVEUQugISHgoZUkVRX09OTElORV9ST09NX1JFQ09OTkVDVBC7AhIe", + "ChlSU1BfT05MSU5FX1JPT01fUkVDT05ORUNUELwCEh8KGlJFUV9PTkxJTkVf", + "Uk9PTV9DSEFUQUNDRVBUEL0CEh8KGlJTUF9PTkxJTkVfUk9PTV9DSEFUQUND", + "RVBUEL4CEh4KGVJFUV9PTkxJTkVfUk9PTV9VUERBVEVNQVAQvwISHgoZUlNQ", + "X09OTElORV9ST09NX1VQREFURU1BUBDAAhIdChhSRVFfQ0hBTkdFX1dPUkxE", + "X0NIQU5ORUwQwQISHQoYUlNQX0NIQU5HRV9XT1JMRF9DSEFOTkVMEMICEhMK", + "DlJFUV9XT1JMRF9DSEFUEMMCEhMKDlJTUF9XT1JMRF9DSEFUEMQCEhQKD1JF", + "UV9GUklFTkRfQ0hBVBDFAhIUCg9SU1BfRlJJRU5EX0NIQVQQxgISFAoPUkVR", + "X09OTElORV9DSEFUEMcCEhQKD1JTUF9PTkxJTkVfQ0hBVBDIAhIXChJSRVFf", + "T05MSU5FX1JFQ1JVSVQQyQISFwoSUlNQX09OTElORV9SRUNSVUlUEMoCEgwK", + "B05URl9MT0cQ6QcSEAoLTlRGX0tJQ0tPVVQQ6gcSEgoNTlRGX0JST0FEQ0FT", + "VBDrBxIRCgxOVEZfU1lOQ0FUVFIQ7AcSEwoOTlRGX1NZTkNMSU5FVVAQ7QcS", + "FgoRTlRGX1NZTkNfTkVXX01BSUwQ7gcSFgoRTlRGX1NZTkNfREVMX01BSUwQ", + "7wcSEgoNTlRGX1BMQVlFUk1TRxDwBxIPCgpOVEZfTE9HT1VUEPEHEg8KCk5U", + "Rl9TQ1JJUFQQ8gcSEAoLTlRGX1NFVEFUVFIQ8wcSEwoOTlRGX1NFVFNUUkFU", + "VFIQ9AcSFQoQTlRGX09OTElORV9TVEFSVBD1BxIUCg9OVEZfT05MSU5FX09W", + "RVIQ9gcSEQoMTlRGX1JFQURJVEVNEPcHEhYKEU5URl9VUERBVEVfRlJJRU5E", + "EPgHEhMKDk5URl9ERUxfRlJJRU5EEPkHEhMKDk5URl9GUklFTkRfUkVREPoH", + "EhUKEE5URl9GUklFTkRfVklHT1IQ+wcSEgoNTlRGX0JMQUNLTElTVBD8BxIU", + "Cg9OVEZfR0xPQkFMQVRUUlMQ/QcSEgoNTlRGX0FOVElfREFUQRD+BxIYChNO", + "VEZfQkxPQ0tfRlJJRU5EUkVREP8HEhUKEE5URl9DVVNUT01ST1NURVIQgAgS", + "GAoTTlRGX09OTElORV9ST09NSU5GTxCHCBIUCg9OVEZfT05MSU5FX0xPQUQQ", + "iAgSFwoSTlRGX09OTElORV9LSUNLT1VUEIkIEhYKEU5URl9PTkxJTkVfSU5W", + "SVRFEIoIEhUKEE5URl9PTkxJTkVfU1RBVEUQiwgSEwoOTlRGX1dPUkxEX0NI", + "QVQQkQgSFAoPTlRGX0ZSSUVORF9DSEFUEJIIEhQKD05URl9PTkxJTkVfQ0hB", + "VBCTCBIXChJOVEZfT05MSU5FX1JFQ1JVSVQQlAgSGwoWTlRGX09OTElORV9Q", + "TEFZRVJDSEVBVBCVCBITCg5SRVFfUk9PTV9TVEFSVBDRDxITCg5SU1BfUk9P", + "TV9TVEFSVBDSDxITCg5OVEZfUk9PTV9SRUFEWRDTDxISCg1OVEZfUk9PTV9P", + "VkVSENQPEhIKDU5URl9TVE9QX1JPT00Q1Q8SGAoTTlRGX1JPT01fUExBWUVS", + "RVhJVBDWDxIZChROVEZfUk9PTV9QTEFZRVJDSEVBVBDXDxIZChROVEZfUk9P", + "TV9QTEFZRVJGSU5BTBDYD0IPqgIMTWlrdVNCLlByb3RvYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::MikuSB.Proto.CoreReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::MikuSB.Proto.PF), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqLogin), global::MikuSB.Proto.ReqLogin.Parser, new[]{ "Provider", "Token", "ClientProfile" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.RspLogin), global::MikuSB.Proto.RspLogin.Parser, new[]{ "SessionId", "Data", "NeedRename", "AreaId", "TimeZone", "Timestamp", "Certification", "GlobalAttrs", "WorldChannel", "GlobalStrAttrs", "ErrorCode", "ErrorInfo" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqReconnect), global::MikuSB.Proto.ReqReconnect.Parser, new[]{ "Pid", "SessionId", "WorldChannel", "Language" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.RspReconnect), global::MikuSB.Proto.RspReconnect.Parser, new[]{ "SessionId", "Data", "NeedRename", "TimeZone", "Timestamp", "WorldChannel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqAccountInfo), global::MikuSB.Proto.ReqAccountInfo.Parser, new[]{ "Provider", "Token" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqCallGS), global::MikuSB.Proto.ReqCallGS.Parser, new[]{ "Api", "Param", "Clicknum", "DependentParams" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqUseItem), global::MikuSB.Proto.ReqUseItem.Parser, new[]{ "Id", "Count" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqOnlineCreateRoom), global::MikuSB.Proto.ReqOnlineCreateRoom.Parser, new[]{ "Onlineid", "LineupIndex" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.RspOnlineCreateRoom), global::MikuSB.Proto.RspOnlineCreateRoom.Parser, new[]{ "Onlineid", "LineupIndex", "Roomid", "Buffinfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqOnlineAccept), global::MikuSB.Proto.ReqOnlineAccept.Parser, new[]{ "Otherid", "Onlineid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqOnlineChatAccept), global::MikuSB.Proto.ReqOnlineChatAccept.Parser, new[]{ "Otherid", "Onlineid", "Roomid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqOnlineRecruit), global::MikuSB.Proto.ReqOnlineRecruit.Parser, new[]{ "RoomId", "OnlineId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.FriendVigor), global::MikuSB.Proto.FriendVigor.Parser, new[]{ "Pid", "HaveVigor", "VigorGot", "ReturnVigor" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.FriendVigorList), global::MikuSB.Proto.FriendVigorList.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.RankList), global::MikuSB.Proto.RankList.Parser, new[]{ "RankName", "List" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.RankList.Types.ListItem), global::MikuSB.Proto.RankList.Types.ListItem.Parser, new[]{ "MemberName", "Score", "Info" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.RankInfo), global::MikuSB.Proto.RankInfo.Parser, new[]{ "Score", "Rank", "Sum", "Info" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.GlobalCounterInfo), global::MikuSB.Proto.GlobalCounterInfo.Parser, new[]{ "CounterName", "Value" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfLog), global::MikuSB.Proto.NtfLog.Parser, new[]{ "Action", "Detail" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfBroadcast), global::MikuSB.Proto.NtfBroadcast.Parser, new[]{ "Msg", "Duration", "StartTime", "EndTime", "Clean", "Channels" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfSyncPlayer), global::MikuSB.Proto.NtfSyncPlayer.Parser, new[]{ "Sign", "Core", "Custom", "CustomStr", "Items", "ShowItems", "ShowAttrs", "Money", "Pieces", "Badges", "Tags" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfSyncLineup), global::MikuSB.Proto.NtfSyncLineup.Parser, new[]{ "Lineup", "Remove" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfCallScript), global::MikuSB.Proto.NtfCallScript.Parser, new[]{ "Api", "Arg", "ExtraSync" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfSetAttr), global::MikuSB.Proto.NtfSetAttr.Parser, new[]{ "Gid", "Sid", "Val" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfSetStrAttr), global::MikuSB.Proto.NtfSetStrAttr.Parser, new[]{ "Gid", "Sid", "Val" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfOnlineStart), global::MikuSB.Proto.NtfOnlineStart.Parser, new[]{ "RoomId", "RoomAddr" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfOnlineRoom), global::MikuSB.Proto.NtfOnlineRoom.Parser, new[]{ "RoomId", "Onlineid", "Players", "Bmatch", "Buffinfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfOnlineInvite), global::MikuSB.Proto.NtfOnlineInvite.Parser, new[]{ "RoomId", "Onlineid", "Playerid", "Name", "Face", "Faceframe", "Level" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfOnlineRecruit), global::MikuSB.Proto.NtfOnlineRecruit.Parser, new[]{ "RoomId", "OnlineId", "SenderProfile" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfOnlineState), global::MikuSB.Proto.NtfOnlineState.Parser, new[]{ "RoomId", "Onlineid", "Matchflag", "Players", "Stateflag", "Nowtime", "Levelid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqRoomStart), global::MikuSB.Proto.ReqRoomStart.Parser, new[]{ "RoomId", "IsReday", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.RspRoomStart), global::MikuSB.Proto.RspRoomStart.Parser, new[]{ "Players", "Buffinfo", "Pollingweek" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfStopRoom), global::MikuSB.Proto.NtfStopRoom.Parser, new[]{ "RoomId", "Reason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfRoomOver), global::MikuSB.Proto.NtfRoomOver.Parser, new[]{ "RoomId", "Playerinfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.ReqAntiData), global::MikuSB.Proto.ReqAntiData.Parser, new[]{ "DataType", "MtpData", "PlatId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MikuSB.Proto.NtfRoomPlayerCheat), global::MikuSB.Proto.NtfRoomPlayerCheat.Parser, new[]{ "RoomId", "Playerid" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum PF { + [pbr::OriginalName("NONE")] None = 0, + [pbr::OriginalName("REQ_LOGIN")] ReqLogin = 1, + [pbr::OriginalName("RSP_LOGIN")] RspLogin = 2, + [pbr::OriginalName("REQ_RECONNECT")] ReqReconnect = 3, + [pbr::OriginalName("RSP_RECONNECT")] RspReconnect = 4, + [pbr::OriginalName("REQ_RENAME")] ReqRename = 5, + [pbr::OriginalName("RSP_RENAME")] RspRename = 6, + [pbr::OriginalName("REQ_CALLGS")] ReqCallgs = 7, + [pbr::OriginalName("RSP_CALLGS")] RspCallgs = 8, + [pbr::OriginalName("REQ_USEITEM")] ReqUseitem = 9, + [pbr::OriginalName("RSP_USEITEM")] RspUseitem = 10, + [pbr::OriginalName("REQ_READMAIL")] ReqReadmail = 11, + [pbr::OriginalName("RSP_READMAIL")] RspReadmail = 12, + [pbr::OriginalName("REQ_MAIL_ATTACHMENT")] ReqMailAttachment = 13, + [pbr::OriginalName("RSP_MAIL_ATTACHMENT")] RspMailAttachment = 14, + [pbr::OriginalName("REQ_DELMAIL")] ReqDelmail = 15, + [pbr::OriginalName("RSP_DELMAIL")] RspDelmail = 16, + [pbr::OriginalName("REQ_SET_NEWGUIDE")] ReqSetNewguide = 17, + [pbr::OriginalName("RSP_SET_NEWGUIDE")] RspSetNewguide = 18, + [pbr::OriginalName("REQ_ACCOUNTINFO")] ReqAccountinfo = 19, + [pbr::OriginalName("RSP_ACCOUNTINFO")] RspAccountinfo = 20, + [pbr::OriginalName("REQ_RESIGN")] ReqResign = 23, + [pbr::OriginalName("RSP_RESIGN")] RspResign = 24, + [pbr::OriginalName("REQ_RECORD")] ReqRecord = 25, + [pbr::OriginalName("RSP_RECORD")] RspRecord = 26, + [pbr::OriginalName("REQ_ADD_FRIENDREQ")] ReqAddFriendreq = 27, + [pbr::OriginalName("RSP_ADD_FRIENDREQ")] RspAddFriendreq = 28, + [pbr::OriginalName("REQ_AGREE_FRIENDREQ")] ReqAgreeFriendreq = 29, + [pbr::OriginalName("RSP_AGREE_FRIENDREQ")] RspAgreeFriendreq = 30, + [pbr::OriginalName("REQ_REFUSE_FRIENDREQ")] ReqRefuseFriendreq = 31, + [pbr::OriginalName("RSP_REFUSE_FRIENDREQ")] RspRefuseFriendreq = 32, + [pbr::OriginalName("REQ_REMOVE_FRIEND")] ReqRemoveFriend = 33, + [pbr::OriginalName("RSP_REMOVE_FRIEND")] RspRemoveFriend = 34, + [pbr::OriginalName("REQ_GIVE_FRIENDVIGOR")] ReqGiveFriendvigor = 35, + [pbr::OriginalName("RSP_GIVE_FRIENDVIGOR")] RspGiveFriendvigor = 36, + [pbr::OriginalName("REQ_RECV_FRIENDVIGOR")] ReqRecvFriendvigor = 37, + [pbr::OriginalName("RSP_RECV_FRIENDVIGOR")] RspRecvFriendvigor = 38, + [pbr::OriginalName("REQ_PLAYER_RECOMMEND")] ReqPlayerRecommend = 39, + [pbr::OriginalName("RSP_PLAYER_RECOMMEND")] RspPlayerRecommend = 40, + [pbr::OriginalName("REQ_ADD_BLOCKLIST")] ReqAddBlocklist = 41, + [pbr::OriginalName("RSP_ADD_BLOCKLIST")] RspAddBlocklist = 42, + [pbr::OriginalName("REQ_DEL_BLOCKLIST")] ReqDelBlocklist = 43, + [pbr::OriginalName("RSP_DEL_BLOCKLIST")] RspDelBlocklist = 44, + [pbr::OriginalName("REQ_FIND_PLAYER")] ReqFindPlayer = 45, + [pbr::OriginalName("RSP_FIND_PLAYER")] RspFindPlayer = 46, + [pbr::OriginalName("REQ_PLAYER_PROFILE")] ReqPlayerProfile = 47, + [pbr::OriginalName("RSP_PLAYER_PROFILE")] RspPlayerProfile = 48, + [pbr::OriginalName("REQ_GET_VERSION")] ReqGetVersion = 49, + [pbr::OriginalName("RSP_GET_VERSION")] RspGetVersion = 50, + [pbr::OriginalName("REQ_RANKLIST")] ReqRanklist = 51, + [pbr::OriginalName("RSP_RANKLIST")] RspRanklist = 52, + [pbr::OriginalName("REQ_RANK")] ReqRank = 53, + [pbr::OriginalName("RSP_RANK")] RspRank = 54, + [pbr::OriginalName("REQ_BLOCK_FRIENDREQ")] ReqBlockFriendreq = 55, + [pbr::OriginalName("RSP_BLOCK_FRIENDREQ")] RspBlockFriendreq = 56, + [pbr::OriginalName("REQ_WORD_FILTER")] ReqWordFilter = 57, + [pbr::OriginalName("RSP_WORD_FILTER")] RspWordFilter = 58, + [pbr::OriginalName("REQ_SET_CUSTOMROSTER")] ReqSetCustomroster = 59, + [pbr::OriginalName("RSP_SET_CUSTOMROSTER")] RspSetCustomroster = 60, + [pbr::OriginalName("REQ_GLOBALCOUNTER")] ReqGlobalcounter = 61, + [pbr::OriginalName("RSP_GLOBALCOUNTER")] RspGlobalcounter = 62, + [pbr::OriginalName("REQ_MATCH")] ReqMatch = 301, + [pbr::OriginalName("RSP_MATCH")] RspMatch = 302, + [pbr::OriginalName("REQ_ONLINE_ROOM")] ReqOnlineRoom = 303, + [pbr::OriginalName("RSP_ONLINE_ROOM")] RspOnlineRoom = 304, + [pbr::OriginalName("REQ_ONLINE_ROOM_START")] ReqOnlineRoomStart = 305, + [pbr::OriginalName("RSP_ONLINE_ROOM_START")] RspOnlineRoomStart = 306, + [pbr::OriginalName("REQ_ONLINE_ROOM_EXIT")] ReqOnlineRoomExit = 307, + [pbr::OriginalName("RSP_ONLINE_ROOM_EXIT")] RspOnlineRoomExit = 308, + [pbr::OriginalName("REQ_ONLINE_ROOM_INVITE")] ReqOnlineRoomInvite = 309, + [pbr::OriginalName("RSP_ONLINE_ROOM_INVITE")] RspOnlineRoomInvite = 310, + [pbr::OriginalName("REQ_ONLINE_ROOM_ACCEPT")] ReqOnlineRoomAccept = 311, + [pbr::OriginalName("RSP_ONLINE_ROOM_ACCEPT")] RspOnlineRoomAccept = 312, + [pbr::OriginalName("REQ_ONLINE_ROOM_UPDATE")] ReqOnlineRoomUpdate = 313, + [pbr::OriginalName("RSP_ONLINE_ROOM_UPDATE")] RspOnlineRoomUpdate = 314, + [pbr::OriginalName("REQ_ONLINE_ROOM_RECONNECT")] ReqOnlineRoomReconnect = 315, + [pbr::OriginalName("RSP_ONLINE_ROOM_RECONNECT")] RspOnlineRoomReconnect = 316, + [pbr::OriginalName("REQ_ONLINE_ROOM_CHATACCEPT")] ReqOnlineRoomChataccept = 317, + [pbr::OriginalName("RSP_ONLINE_ROOM_CHATACCEPT")] RspOnlineRoomChataccept = 318, + [pbr::OriginalName("REQ_ONLINE_ROOM_UPDATEMAP")] ReqOnlineRoomUpdatemap = 319, + [pbr::OriginalName("RSP_ONLINE_ROOM_UPDATEMAP")] RspOnlineRoomUpdatemap = 320, + [pbr::OriginalName("REQ_CHANGE_WORLD_CHANNEL")] ReqChangeWorldChannel = 321, + [pbr::OriginalName("RSP_CHANGE_WORLD_CHANNEL")] RspChangeWorldChannel = 322, + [pbr::OriginalName("REQ_WORLD_CHAT")] ReqWorldChat = 323, + [pbr::OriginalName("RSP_WORLD_CHAT")] RspWorldChat = 324, + [pbr::OriginalName("REQ_FRIEND_CHAT")] ReqFriendChat = 325, + [pbr::OriginalName("RSP_FRIEND_CHAT")] RspFriendChat = 326, + [pbr::OriginalName("REQ_ONLINE_CHAT")] ReqOnlineChat = 327, + [pbr::OriginalName("RSP_ONLINE_CHAT")] RspOnlineChat = 328, + [pbr::OriginalName("REQ_ONLINE_RECRUIT")] ReqOnlineRecruit = 329, + [pbr::OriginalName("RSP_ONLINE_RECRUIT")] RspOnlineRecruit = 330, + [pbr::OriginalName("NTF_LOG")] NtfLog = 1001, + [pbr::OriginalName("NTF_KICKOUT")] NtfKickout = 1002, + [pbr::OriginalName("NTF_BROADCAST")] NtfBroadcast = 1003, + [pbr::OriginalName("NTF_SYNCATTR")] NtfSyncattr = 1004, + [pbr::OriginalName("NTF_SYNCLINEUP")] NtfSynclineup = 1005, + [pbr::OriginalName("NTF_SYNC_NEW_MAIL")] NtfSyncNewMail = 1006, + [pbr::OriginalName("NTF_SYNC_DEL_MAIL")] NtfSyncDelMail = 1007, + [pbr::OriginalName("NTF_PLAYERMSG")] NtfPlayermsg = 1008, + [pbr::OriginalName("NTF_LOGOUT")] NtfLogout = 1009, + [pbr::OriginalName("NTF_SCRIPT")] NtfScript = 1010, + [pbr::OriginalName("NTF_SETATTR")] NtfSetattr = 1011, + [pbr::OriginalName("NTF_SETSTRATTR")] NtfSetstrattr = 1012, + [pbr::OriginalName("NTF_ONLINE_START")] NtfOnlineStart = 1013, + [pbr::OriginalName("NTF_ONLINE_OVER")] NtfOnlineOver = 1014, + [pbr::OriginalName("NTF_READITEM")] NtfReaditem = 1015, + [pbr::OriginalName("NTF_UPDATE_FRIEND")] NtfUpdateFriend = 1016, + [pbr::OriginalName("NTF_DEL_FRIEND")] NtfDelFriend = 1017, + [pbr::OriginalName("NTF_FRIEND_REQ")] NtfFriendReq = 1018, + [pbr::OriginalName("NTF_FRIEND_VIGOR")] NtfFriendVigor = 1019, + [pbr::OriginalName("NTF_BLACKLIST")] NtfBlacklist = 1020, + [pbr::OriginalName("NTF_GLOBALATTRS")] NtfGlobalattrs = 1021, + [pbr::OriginalName("NTF_ANTI_DATA")] NtfAntiData = 1022, + [pbr::OriginalName("NTF_BLOCK_FRIENDREQ")] NtfBlockFriendreq = 1023, + [pbr::OriginalName("NTF_CUSTOMROSTER")] NtfCustomroster = 1024, + [pbr::OriginalName("NTF_ONLINE_ROOMINFO")] NtfOnlineRoominfo = 1031, + [pbr::OriginalName("NTF_ONLINE_LOAD")] NtfOnlineLoad = 1032, + [pbr::OriginalName("NTF_ONLINE_KICKOUT")] NtfOnlineKickout = 1033, + [pbr::OriginalName("NTF_ONLINE_INVITE")] NtfOnlineInvite = 1034, + [pbr::OriginalName("NTF_ONLINE_STATE")] NtfOnlineState = 1035, + [pbr::OriginalName("NTF_WORLD_CHAT")] NtfWorldChat = 1041, + [pbr::OriginalName("NTF_FRIEND_CHAT")] NtfFriendChat = 1042, + [pbr::OriginalName("NTF_ONLINE_CHAT")] NtfOnlineChat = 1043, + [pbr::OriginalName("NTF_ONLINE_RECRUIT")] NtfOnlineRecruit = 1044, + [pbr::OriginalName("NTF_ONLINE_PLAYERCHEAT")] NtfOnlinePlayercheat = 1045, + [pbr::OriginalName("REQ_ROOM_START")] ReqRoomStart = 2001, + [pbr::OriginalName("RSP_ROOM_START")] RspRoomStart = 2002, + [pbr::OriginalName("NTF_ROOM_READY")] NtfRoomReady = 2003, + [pbr::OriginalName("NTF_ROOM_OVER")] NtfRoomOver = 2004, + [pbr::OriginalName("NTF_STOP_ROOM")] NtfStopRoom = 2005, + [pbr::OriginalName("NTF_ROOM_PLAYEREXIT")] NtfRoomPlayerexit = 2006, + [pbr::OriginalName("NTF_ROOM_PLAYERCHEAT")] NtfRoomPlayercheat = 2007, + [pbr::OriginalName("NTF_ROOM_PLAYERFINAL")] NtfRoomPlayerfinal = 2008, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqLogin : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqLogin()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.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 ReqLogin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqLogin(ReqLogin other) : this() { + provider_ = other.provider_; + token_ = other.token_; + clientProfile_ = other.clientProfile_ != null ? other.clientProfile_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqLogin Clone() { + return new ReqLogin(this); + } + + /// Field number for the "provider" field. + public const int ProviderFieldNumber = 1; + private string provider_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Provider { + get { return provider_; } + set { + provider_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "token" field. + public const int TokenFieldNumber = 2; + private string token_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_; } + set { + token_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "client_profile" field. + public const int ClientProfileFieldNumber = 3; + private global::MikuSB.Proto.ClientProfile clientProfile_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.ClientProfile ClientProfile { + get { return clientProfile_; } + set { + clientProfile_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReqLogin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqLogin other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Provider != other.Provider) return false; + if (Token != other.Token) return false; + if (!object.Equals(ClientProfile, other.ClientProfile)) 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 (Provider.Length != 0) hash ^= Provider.GetHashCode(); + if (Token.Length != 0) hash ^= Token.GetHashCode(); + if (clientProfile_ != null) hash ^= ClientProfile.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 (Provider.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Provider); + } + if (Token.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (clientProfile_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ClientProfile); + } + 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 (Provider.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Provider); + } + if (Token.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (clientProfile_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ClientProfile); + } + 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 (Provider.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Provider); + } + if (Token.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (clientProfile_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClientProfile); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqLogin other) { + if (other == null) { + return; + } + if (other.Provider.Length != 0) { + Provider = other.Provider; + } + if (other.Token.Length != 0) { + Token = other.Token; + } + if (other.clientProfile_ != null) { + if (clientProfile_ == null) { + ClientProfile = new global::MikuSB.Proto.ClientProfile(); + } + ClientProfile.MergeFrom(other.ClientProfile); + } + _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: { + Provider = input.ReadString(); + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 26: { + if (clientProfile_ == null) { + ClientProfile = new global::MikuSB.Proto.ClientProfile(); + } + input.ReadMessage(ClientProfile); + 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: { + Provider = input.ReadString(); + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 26: { + if (clientProfile_ == null) { + ClientProfile = new global::MikuSB.Proto.ClientProfile(); + } + input.ReadMessage(ClientProfile); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RspLogin : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RspLogin()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.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 RspLogin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RspLogin(RspLogin other) : this() { + sessionId_ = other.sessionId_; + data_ = other.data_ != null ? other.data_.Clone() : null; + needRename_ = other.needRename_; + areaId_ = other.areaId_; + timeZone_ = other.timeZone_; + timestamp_ = other.timestamp_; + certification_ = other.certification_; + globalAttrs_ = other.globalAttrs_.Clone(); + worldChannel_ = other.worldChannel_; + globalStrAttrs_ = other.globalStrAttrs_.Clone(); + errorCode_ = other.errorCode_; + errorInfo_ = other.errorInfo_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RspLogin Clone() { + return new RspLogin(this); + } + + /// Field number for the "session_id" field. + public const int SessionIdFieldNumber = 1; + private string sessionId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SessionId { + get { return sessionId_; } + set { + sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 2; + private global::MikuSB.Proto.Player data_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.Player Data { + get { return data_; } + set { + data_ = value; + } + } + + /// Field number for the "need_rename" field. + public const int NeedRenameFieldNumber = 3; + private bool needRename_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NeedRename { + get { return needRename_; } + set { + needRename_ = value; + } + } + + /// Field number for the "area_id" field. + public const int AreaIdFieldNumber = 4; + private uint areaId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AreaId { + get { return areaId_; } + set { + areaId_ = value; + } + } + + /// Field number for the "time_zone" field. + public const int TimeZoneFieldNumber = 5; + private int timeZone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TimeZone { + get { return timeZone_; } + set { + timeZone_ = value; + } + } + + /// Field number for the "timestamp" field. + public const int TimestampFieldNumber = 6; + private uint timestamp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Timestamp { + get { return timestamp_; } + set { + timestamp_ = value; + } + } + + /// Field number for the "certification" field. + public const int CertificationFieldNumber = 7; + private int certification_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Certification { + get { return certification_; } + set { + certification_ = value; + } + } + + /// Field number for the "global_attrs" field. + public const int GlobalAttrsFieldNumber = 8; + private static readonly pbc::MapField.Codec _map_globalAttrs_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 66); + private readonly pbc::MapField globalAttrs_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField GlobalAttrs { + get { return globalAttrs_; } + } + + /// Field number for the "world_channel" field. + public const int WorldChannelFieldNumber = 9; + private uint worldChannel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WorldChannel { + get { return worldChannel_; } + set { + worldChannel_ = value; + } + } + + /// Field number for the "global_str_attrs" field. + public const int GlobalStrAttrsFieldNumber = 10; + private static readonly pbc::MapField.Codec _map_globalStrAttrs_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 82); + private readonly pbc::MapField globalStrAttrs_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField GlobalStrAttrs { + get { return globalStrAttrs_; } + } + + /// Field number for the "error_code" field. + public const int ErrorCodeFieldNumber = 98; + private uint errorCode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ErrorCode { + get { return errorCode_; } + set { + errorCode_ = value; + } + } + + /// Field number for the "error_info" field. + public const int ErrorInfoFieldNumber = 99; + private static readonly pb::FieldCodec _repeated_errorInfo_codec + = pb::FieldCodec.ForUInt32(794); + private readonly pbc::RepeatedField errorInfo_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ErrorInfo { + get { return errorInfo_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RspLogin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RspLogin other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SessionId != other.SessionId) return false; + if (!object.Equals(Data, other.Data)) return false; + if (NeedRename != other.NeedRename) return false; + if (AreaId != other.AreaId) return false; + if (TimeZone != other.TimeZone) return false; + if (Timestamp != other.Timestamp) return false; + if (Certification != other.Certification) return false; + if (!GlobalAttrs.Equals(other.GlobalAttrs)) return false; + if (WorldChannel != other.WorldChannel) return false; + if (!GlobalStrAttrs.Equals(other.GlobalStrAttrs)) return false; + if (ErrorCode != other.ErrorCode) return false; + if(!errorInfo_.Equals(other.errorInfo_)) 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 (SessionId.Length != 0) hash ^= SessionId.GetHashCode(); + if (data_ != null) hash ^= Data.GetHashCode(); + if (NeedRename != false) hash ^= NeedRename.GetHashCode(); + if (AreaId != 0) hash ^= AreaId.GetHashCode(); + if (TimeZone != 0) hash ^= TimeZone.GetHashCode(); + if (Timestamp != 0) hash ^= Timestamp.GetHashCode(); + if (Certification != 0) hash ^= Certification.GetHashCode(); + hash ^= GlobalAttrs.GetHashCode(); + if (WorldChannel != 0) hash ^= WorldChannel.GetHashCode(); + hash ^= GlobalStrAttrs.GetHashCode(); + if (ErrorCode != 0) hash ^= ErrorCode.GetHashCode(); + hash ^= errorInfo_.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 (SessionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SessionId); + } + if (data_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Data); + } + if (NeedRename != false) { + output.WriteRawTag(24); + output.WriteBool(NeedRename); + } + if (AreaId != 0) { + output.WriteRawTag(32); + output.WriteUInt32(AreaId); + } + if (TimeZone != 0) { + output.WriteRawTag(40); + output.WriteInt32(TimeZone); + } + if (Timestamp != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Timestamp); + } + if (Certification != 0) { + output.WriteRawTag(56); + output.WriteInt32(Certification); + } + globalAttrs_.WriteTo(output, _map_globalAttrs_codec); + if (WorldChannel != 0) { + output.WriteRawTag(72); + output.WriteUInt32(WorldChannel); + } + globalStrAttrs_.WriteTo(output, _map_globalStrAttrs_codec); + if (ErrorCode != 0) { + output.WriteRawTag(144, 6); + output.WriteUInt32(ErrorCode); + } + errorInfo_.WriteTo(output, _repeated_errorInfo_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) { + if (SessionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SessionId); + } + if (data_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Data); + } + if (NeedRename != false) { + output.WriteRawTag(24); + output.WriteBool(NeedRename); + } + if (AreaId != 0) { + output.WriteRawTag(32); + output.WriteUInt32(AreaId); + } + if (TimeZone != 0) { + output.WriteRawTag(40); + output.WriteInt32(TimeZone); + } + if (Timestamp != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Timestamp); + } + if (Certification != 0) { + output.WriteRawTag(56); + output.WriteInt32(Certification); + } + globalAttrs_.WriteTo(ref output, _map_globalAttrs_codec); + if (WorldChannel != 0) { + output.WriteRawTag(72); + output.WriteUInt32(WorldChannel); + } + globalStrAttrs_.WriteTo(ref output, _map_globalStrAttrs_codec); + if (ErrorCode != 0) { + output.WriteRawTag(144, 6); + output.WriteUInt32(ErrorCode); + } + errorInfo_.WriteTo(ref output, _repeated_errorInfo_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; + if (SessionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId); + } + if (data_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); + } + if (NeedRename != false) { + size += 1 + 1; + } + if (AreaId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId); + } + if (TimeZone != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeZone); + } + if (Timestamp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Timestamp); + } + if (Certification != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Certification); + } + size += globalAttrs_.CalculateSize(_map_globalAttrs_codec); + if (WorldChannel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldChannel); + } + size += globalStrAttrs_.CalculateSize(_map_globalStrAttrs_codec); + if (ErrorCode != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(ErrorCode); + } + size += errorInfo_.CalculateSize(_repeated_errorInfo_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RspLogin other) { + if (other == null) { + return; + } + if (other.SessionId.Length != 0) { + SessionId = other.SessionId; + } + if (other.data_ != null) { + if (data_ == null) { + Data = new global::MikuSB.Proto.Player(); + } + Data.MergeFrom(other.Data); + } + if (other.NeedRename != false) { + NeedRename = other.NeedRename; + } + if (other.AreaId != 0) { + AreaId = other.AreaId; + } + if (other.TimeZone != 0) { + TimeZone = other.TimeZone; + } + if (other.Timestamp != 0) { + Timestamp = other.Timestamp; + } + if (other.Certification != 0) { + Certification = other.Certification; + } + globalAttrs_.MergeFrom(other.globalAttrs_); + if (other.WorldChannel != 0) { + WorldChannel = other.WorldChannel; + } + globalStrAttrs_.MergeFrom(other.globalStrAttrs_); + if (other.ErrorCode != 0) { + ErrorCode = other.ErrorCode; + } + errorInfo_.Add(other.errorInfo_); + _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: { + SessionId = input.ReadString(); + break; + } + case 18: { + if (data_ == null) { + Data = new global::MikuSB.Proto.Player(); + } + input.ReadMessage(Data); + break; + } + case 24: { + NeedRename = input.ReadBool(); + break; + } + case 32: { + AreaId = input.ReadUInt32(); + break; + } + case 40: { + TimeZone = input.ReadInt32(); + break; + } + case 48: { + Timestamp = input.ReadUInt32(); + break; + } + case 56: { + Certification = input.ReadInt32(); + break; + } + case 66: { + globalAttrs_.AddEntriesFrom(input, _map_globalAttrs_codec); + break; + } + case 72: { + WorldChannel = input.ReadUInt32(); + break; + } + case 82: { + globalStrAttrs_.AddEntriesFrom(input, _map_globalStrAttrs_codec); + break; + } + case 784: { + ErrorCode = input.ReadUInt32(); + break; + } + case 794: + case 792: { + errorInfo_.AddEntriesFrom(input, _repeated_errorInfo_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + SessionId = input.ReadString(); + break; + } + case 18: { + if (data_ == null) { + Data = new global::MikuSB.Proto.Player(); + } + input.ReadMessage(Data); + break; + } + case 24: { + NeedRename = input.ReadBool(); + break; + } + case 32: { + AreaId = input.ReadUInt32(); + break; + } + case 40: { + TimeZone = input.ReadInt32(); + break; + } + case 48: { + Timestamp = input.ReadUInt32(); + break; + } + case 56: { + Certification = input.ReadInt32(); + break; + } + case 66: { + globalAttrs_.AddEntriesFrom(ref input, _map_globalAttrs_codec); + break; + } + case 72: { + WorldChannel = input.ReadUInt32(); + break; + } + case 82: { + globalStrAttrs_.AddEntriesFrom(ref input, _map_globalStrAttrs_codec); + break; + } + case 784: { + ErrorCode = input.ReadUInt32(); + break; + } + case 794: + case 792: { + errorInfo_.AddEntriesFrom(ref input, _repeated_errorInfo_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqReconnect : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqReconnect()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.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 ReqReconnect() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqReconnect(ReqReconnect other) : this() { + pid_ = other.pid_; + sessionId_ = other.sessionId_; + worldChannel_ = other.worldChannel_; + language_ = other.language_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqReconnect Clone() { + return new ReqReconnect(this); + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 1; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "session_id" field. + public const int SessionIdFieldNumber = 2; + private string sessionId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SessionId { + get { return sessionId_; } + set { + sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "world_channel" field. + public const int WorldChannelFieldNumber = 3; + private uint worldChannel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WorldChannel { + get { return worldChannel_; } + set { + worldChannel_ = value; + } + } + + /// Field number for the "language" field. + public const int LanguageFieldNumber = 4; + private string language_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Language { + get { return language_; } + set { + language_ = 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 ReqReconnect); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqReconnect other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Pid != other.Pid) return false; + if (SessionId != other.SessionId) return false; + if (WorldChannel != other.WorldChannel) return false; + if (Language != other.Language) 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 (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (SessionId.Length != 0) hash ^= SessionId.GetHashCode(); + if (WorldChannel != 0) hash ^= WorldChannel.GetHashCode(); + if (Language.Length != 0) hash ^= Language.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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (SessionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SessionId); + } + if (WorldChannel != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WorldChannel); + } + if (Language.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Language); + } + 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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (SessionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SessionId); + } + if (WorldChannel != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WorldChannel); + } + if (Language.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Language); + } + 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 (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (SessionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId); + } + if (WorldChannel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldChannel); + } + if (Language.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Language); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqReconnect other) { + if (other == null) { + return; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.SessionId.Length != 0) { + SessionId = other.SessionId; + } + if (other.WorldChannel != 0) { + WorldChannel = other.WorldChannel; + } + if (other.Language.Length != 0) { + Language = other.Language; + } + _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: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + SessionId = input.ReadString(); + break; + } + case 24: { + WorldChannel = input.ReadUInt32(); + break; + } + case 34: { + Language = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Pid = input.ReadUInt64(); + break; + } + case 18: { + SessionId = input.ReadString(); + break; + } + case 24: { + WorldChannel = input.ReadUInt32(); + break; + } + case 34: { + Language = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RspReconnect : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RspReconnect()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.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 RspReconnect() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RspReconnect(RspReconnect other) : this() { + sessionId_ = other.sessionId_; + data_ = other.data_ != null ? other.data_.Clone() : null; + needRename_ = other.needRename_; + timeZone_ = other.timeZone_; + timestamp_ = other.timestamp_; + worldChannel_ = other.worldChannel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RspReconnect Clone() { + return new RspReconnect(this); + } + + /// Field number for the "session_id" field. + public const int SessionIdFieldNumber = 1; + private string sessionId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SessionId { + get { return sessionId_; } + set { + sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 2; + private global::MikuSB.Proto.Player data_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.Player Data { + get { return data_; } + set { + data_ = value; + } + } + + /// Field number for the "need_rename" field. + public const int NeedRenameFieldNumber = 3; + private bool needRename_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NeedRename { + get { return needRename_; } + set { + needRename_ = value; + } + } + + /// Field number for the "time_zone" field. + public const int TimeZoneFieldNumber = 4; + private int timeZone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TimeZone { + get { return timeZone_; } + set { + timeZone_ = value; + } + } + + /// Field number for the "timestamp" field. + public const int TimestampFieldNumber = 5; + private uint timestamp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Timestamp { + get { return timestamp_; } + set { + timestamp_ = value; + } + } + + /// Field number for the "world_channel" field. + public const int WorldChannelFieldNumber = 6; + private uint worldChannel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WorldChannel { + get { return worldChannel_; } + set { + worldChannel_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RspReconnect); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RspReconnect other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SessionId != other.SessionId) return false; + if (!object.Equals(Data, other.Data)) return false; + if (NeedRename != other.NeedRename) return false; + if (TimeZone != other.TimeZone) return false; + if (Timestamp != other.Timestamp) return false; + if (WorldChannel != other.WorldChannel) 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 (SessionId.Length != 0) hash ^= SessionId.GetHashCode(); + if (data_ != null) hash ^= Data.GetHashCode(); + if (NeedRename != false) hash ^= NeedRename.GetHashCode(); + if (TimeZone != 0) hash ^= TimeZone.GetHashCode(); + if (Timestamp != 0) hash ^= Timestamp.GetHashCode(); + if (WorldChannel != 0) hash ^= WorldChannel.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 (SessionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SessionId); + } + if (data_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Data); + } + if (NeedRename != false) { + output.WriteRawTag(24); + output.WriteBool(NeedRename); + } + if (TimeZone != 0) { + output.WriteRawTag(32); + output.WriteInt32(TimeZone); + } + if (Timestamp != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Timestamp); + } + if (WorldChannel != 0) { + output.WriteRawTag(48); + output.WriteUInt32(WorldChannel); + } + 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 (SessionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SessionId); + } + if (data_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Data); + } + if (NeedRename != false) { + output.WriteRawTag(24); + output.WriteBool(NeedRename); + } + if (TimeZone != 0) { + output.WriteRawTag(32); + output.WriteInt32(TimeZone); + } + if (Timestamp != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Timestamp); + } + if (WorldChannel != 0) { + output.WriteRawTag(48); + output.WriteUInt32(WorldChannel); + } + 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 (SessionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId); + } + if (data_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); + } + if (NeedRename != false) { + size += 1 + 1; + } + if (TimeZone != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeZone); + } + if (Timestamp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Timestamp); + } + if (WorldChannel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldChannel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RspReconnect other) { + if (other == null) { + return; + } + if (other.SessionId.Length != 0) { + SessionId = other.SessionId; + } + if (other.data_ != null) { + if (data_ == null) { + Data = new global::MikuSB.Proto.Player(); + } + Data.MergeFrom(other.Data); + } + if (other.NeedRename != false) { + NeedRename = other.NeedRename; + } + if (other.TimeZone != 0) { + TimeZone = other.TimeZone; + } + if (other.Timestamp != 0) { + Timestamp = other.Timestamp; + } + if (other.WorldChannel != 0) { + WorldChannel = other.WorldChannel; + } + _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: { + SessionId = input.ReadString(); + break; + } + case 18: { + if (data_ == null) { + Data = new global::MikuSB.Proto.Player(); + } + input.ReadMessage(Data); + break; + } + case 24: { + NeedRename = input.ReadBool(); + break; + } + case 32: { + TimeZone = input.ReadInt32(); + break; + } + case 40: { + Timestamp = input.ReadUInt32(); + break; + } + case 48: { + WorldChannel = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + SessionId = input.ReadString(); + break; + } + case 18: { + if (data_ == null) { + Data = new global::MikuSB.Proto.Player(); + } + input.ReadMessage(Data); + break; + } + case 24: { + NeedRename = input.ReadBool(); + break; + } + case 32: { + TimeZone = input.ReadInt32(); + break; + } + case 40: { + Timestamp = input.ReadUInt32(); + break; + } + case 48: { + WorldChannel = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqAccountInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqAccountInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.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 ReqAccountInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqAccountInfo(ReqAccountInfo other) : this() { + provider_ = other.provider_; + token_ = other.token_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqAccountInfo Clone() { + return new ReqAccountInfo(this); + } + + /// Field number for the "provider" field. + public const int ProviderFieldNumber = 1; + private string provider_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Provider { + get { return provider_; } + set { + provider_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "token" field. + public const int TokenFieldNumber = 2; + private string token_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_; } + set { + token_ = 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 ReqAccountInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqAccountInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Provider != other.Provider) return false; + if (Token != other.Token) 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 (Provider.Length != 0) hash ^= Provider.GetHashCode(); + if (Token.Length != 0) hash ^= Token.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 (Provider.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Provider); + } + if (Token.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Token); + } + 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 (Provider.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Provider); + } + if (Token.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Token); + } + 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 (Provider.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Provider); + } + if (Token.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqAccountInfo other) { + if (other == null) { + return; + } + if (other.Provider.Length != 0) { + Provider = other.Provider; + } + if (other.Token.Length != 0) { + Token = other.Token; + } + _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: { + Provider = input.ReadString(); + break; + } + case 18: { + Token = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Provider = input.ReadString(); + break; + } + case 18: { + Token = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqCallGS : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqCallGS()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.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 ReqCallGS() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqCallGS(ReqCallGS other) : this() { + api_ = other.api_; + param_ = other.param_; + clicknum_ = other.clicknum_; + dependentParams_ = other.dependentParams_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqCallGS Clone() { + return new ReqCallGS(this); + } + + /// Field number for the "api" field. + public const int ApiFieldNumber = 1; + private string api_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Api { + get { return api_; } + set { + api_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "param" field. + public const int ParamFieldNumber = 2; + private string param_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param { + get { return param_; } + set { + param_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "clicknum" field. + public const int ClicknumFieldNumber = 3; + private uint clicknum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Clicknum { + get { return clicknum_; } + set { + clicknum_ = value; + } + } + + /// Field number for the "dependent_params" field. + public const int DependentParamsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_dependentParams_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField dependentParams_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DependentParams { + get { return dependentParams_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReqCallGS); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqCallGS other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Api != other.Api) return false; + if (Param != other.Param) return false; + if (Clicknum != other.Clicknum) return false; + if(!dependentParams_.Equals(other.dependentParams_)) 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 (Api.Length != 0) hash ^= Api.GetHashCode(); + if (Param.Length != 0) hash ^= Param.GetHashCode(); + if (Clicknum != 0) hash ^= Clicknum.GetHashCode(); + hash ^= dependentParams_.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 (Api.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Api); + } + if (Param.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Param); + } + if (Clicknum != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Clicknum); + } + dependentParams_.WriteTo(output, _repeated_dependentParams_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) { + if (Api.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Api); + } + if (Param.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Param); + } + if (Clicknum != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Clicknum); + } + dependentParams_.WriteTo(ref output, _repeated_dependentParams_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; + if (Api.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Api); + } + if (Param.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param); + } + if (Clicknum != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Clicknum); + } + size += dependentParams_.CalculateSize(_repeated_dependentParams_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqCallGS other) { + if (other == null) { + return; + } + if (other.Api.Length != 0) { + Api = other.Api; + } + if (other.Param.Length != 0) { + Param = other.Param; + } + if (other.Clicknum != 0) { + Clicknum = other.Clicknum; + } + dependentParams_.Add(other.dependentParams_); + _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: { + Api = input.ReadString(); + break; + } + case 18: { + Param = input.ReadString(); + break; + } + case 24: { + Clicknum = input.ReadUInt32(); + break; + } + case 34: { + dependentParams_.AddEntriesFrom(input, _repeated_dependentParams_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Api = input.ReadString(); + break; + } + case 18: { + Param = input.ReadString(); + break; + } + case 24: { + Clicknum = input.ReadUInt32(); + break; + } + case 34: { + dependentParams_.AddEntriesFrom(ref input, _repeated_dependentParams_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqUseItem : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqUseItem()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.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 ReqUseItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqUseItem(ReqUseItem other) : this() { + id_ = other.id_; + count_ = other.count_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqUseItem Clone() { + return new ReqUseItem(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "count" field. + 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 ReqUseItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqUseItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) 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 (Id != 0UL) hash ^= Id.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 (Id != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + 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 (Id != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + 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 (Id != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + 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(ReqUseItem other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadUInt64(); + 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadUInt64(); + break; + } + case 16: { + Count = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqOnlineCreateRoom : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqOnlineCreateRoom()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[7]; } + } + + [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 ReqOnlineCreateRoom() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqOnlineCreateRoom(ReqOnlineCreateRoom other) : this() { + onlineid_ = other.onlineid_; + lineupIndex_ = other.lineupIndex_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqOnlineCreateRoom Clone() { + return new ReqOnlineCreateRoom(this); + } + + /// Field number for the "onlineid" field. + public const int OnlineidFieldNumber = 1; + private uint onlineid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Onlineid { + get { return onlineid_; } + set { + onlineid_ = value; + } + } + + /// Field number for the "lineup_index" field. + public const int LineupIndexFieldNumber = 2; + private uint lineupIndex_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LineupIndex { + get { return lineupIndex_; } + set { + lineupIndex_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReqOnlineCreateRoom); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqOnlineCreateRoom other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Onlineid != other.Onlineid) return false; + if (LineupIndex != other.LineupIndex) 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 (Onlineid != 0) hash ^= Onlineid.GetHashCode(); + if (LineupIndex != 0) hash ^= LineupIndex.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 (Onlineid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Onlineid); + } + if (LineupIndex != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LineupIndex); + } + 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 (Onlineid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Onlineid); + } + if (LineupIndex != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LineupIndex); + } + 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 (Onlineid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Onlineid); + } + if (LineupIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LineupIndex); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqOnlineCreateRoom other) { + if (other == null) { + return; + } + if (other.Onlineid != 0) { + Onlineid = other.Onlineid; + } + if (other.LineupIndex != 0) { + LineupIndex = other.LineupIndex; + } + _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: { + Onlineid = input.ReadUInt32(); + break; + } + case 16: { + LineupIndex = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Onlineid = input.ReadUInt32(); + break; + } + case 16: { + LineupIndex = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RspOnlineCreateRoom : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RspOnlineCreateRoom()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[8]; } + } + + [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 RspOnlineCreateRoom() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RspOnlineCreateRoom(RspOnlineCreateRoom other) : this() { + onlineid_ = other.onlineid_; + lineupIndex_ = other.lineupIndex_; + roomid_ = other.roomid_; + buffinfo_ = other.buffinfo_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RspOnlineCreateRoom Clone() { + return new RspOnlineCreateRoom(this); + } + + /// Field number for the "onlineid" field. + public const int OnlineidFieldNumber = 1; + private uint onlineid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Onlineid { + get { return onlineid_; } + set { + onlineid_ = value; + } + } + + /// Field number for the "lineup_index" field. + public const int LineupIndexFieldNumber = 2; + private uint lineupIndex_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LineupIndex { + get { return lineupIndex_; } + set { + lineupIndex_ = value; + } + } + + /// Field number for the "roomid" field. + public const int RoomidFieldNumber = 3; + private ulong roomid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Roomid { + get { return roomid_; } + set { + roomid_ = value; + } + } + + /// Field number for the "buffinfo" field. + public const int BuffinfoFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_buffinfo_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField buffinfo_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Buffinfo { + get { return buffinfo_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RspOnlineCreateRoom); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RspOnlineCreateRoom other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Onlineid != other.Onlineid) return false; + if (LineupIndex != other.LineupIndex) return false; + if (Roomid != other.Roomid) return false; + if(!buffinfo_.Equals(other.buffinfo_)) 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 (Onlineid != 0) hash ^= Onlineid.GetHashCode(); + if (LineupIndex != 0) hash ^= LineupIndex.GetHashCode(); + if (Roomid != 0UL) hash ^= Roomid.GetHashCode(); + hash ^= buffinfo_.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 (Onlineid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Onlineid); + } + if (LineupIndex != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LineupIndex); + } + if (Roomid != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Roomid); + } + buffinfo_.WriteTo(output, _repeated_buffinfo_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) { + if (Onlineid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Onlineid); + } + if (LineupIndex != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LineupIndex); + } + if (Roomid != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Roomid); + } + buffinfo_.WriteTo(ref output, _repeated_buffinfo_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; + if (Onlineid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Onlineid); + } + if (LineupIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LineupIndex); + } + if (Roomid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Roomid); + } + size += buffinfo_.CalculateSize(_repeated_buffinfo_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RspOnlineCreateRoom other) { + if (other == null) { + return; + } + if (other.Onlineid != 0) { + Onlineid = other.Onlineid; + } + if (other.LineupIndex != 0) { + LineupIndex = other.LineupIndex; + } + if (other.Roomid != 0UL) { + Roomid = other.Roomid; + } + buffinfo_.Add(other.buffinfo_); + _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: { + Onlineid = input.ReadUInt32(); + break; + } + case 16: { + LineupIndex = input.ReadUInt32(); + break; + } + case 24: { + Roomid = input.ReadUInt64(); + break; + } + case 34: + case 32: { + buffinfo_.AddEntriesFrom(input, _repeated_buffinfo_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Onlineid = input.ReadUInt32(); + break; + } + case 16: { + LineupIndex = input.ReadUInt32(); + break; + } + case 24: { + Roomid = input.ReadUInt64(); + break; + } + case 34: + case 32: { + buffinfo_.AddEntriesFrom(ref input, _repeated_buffinfo_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqOnlineAccept : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqOnlineAccept()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[9]; } + } + + [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 ReqOnlineAccept() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqOnlineAccept(ReqOnlineAccept other) : this() { + otherid_ = other.otherid_; + onlineid_ = other.onlineid_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqOnlineAccept Clone() { + return new ReqOnlineAccept(this); + } + + /// Field number for the "otherid" field. + public const int OtheridFieldNumber = 1; + private ulong otherid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Otherid { + get { return otherid_; } + set { + otherid_ = value; + } + } + + /// Field number for the "onlineid" field. + public const int OnlineidFieldNumber = 2; + private uint onlineid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Onlineid { + get { return onlineid_; } + set { + onlineid_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReqOnlineAccept); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqOnlineAccept other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Otherid != other.Otherid) return false; + if (Onlineid != other.Onlineid) 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 (Otherid != 0UL) hash ^= Otherid.GetHashCode(); + if (Onlineid != 0) hash ^= Onlineid.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 (Otherid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Otherid); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + 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 (Otherid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Otherid); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + 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 (Otherid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Otherid); + } + if (Onlineid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Onlineid); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqOnlineAccept other) { + if (other == null) { + return; + } + if (other.Otherid != 0UL) { + Otherid = other.Otherid; + } + if (other.Onlineid != 0) { + Onlineid = other.Onlineid; + } + _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: { + Otherid = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Otherid = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqOnlineChatAccept : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqOnlineChatAccept()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[10]; } + } + + [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 ReqOnlineChatAccept() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqOnlineChatAccept(ReqOnlineChatAccept other) : this() { + otherid_ = other.otherid_; + onlineid_ = other.onlineid_; + roomid_ = other.roomid_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqOnlineChatAccept Clone() { + return new ReqOnlineChatAccept(this); + } + + /// Field number for the "otherid" field. + public const int OtheridFieldNumber = 1; + private ulong otherid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Otherid { + get { return otherid_; } + set { + otherid_ = value; + } + } + + /// Field number for the "onlineid" field. + public const int OnlineidFieldNumber = 2; + private uint onlineid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Onlineid { + get { return onlineid_; } + set { + onlineid_ = value; + } + } + + /// Field number for the "roomid" field. + public const int RoomidFieldNumber = 3; + private ulong roomid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Roomid { + get { return roomid_; } + set { + roomid_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReqOnlineChatAccept); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqOnlineChatAccept other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Otherid != other.Otherid) return false; + if (Onlineid != other.Onlineid) return false; + if (Roomid != other.Roomid) 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 (Otherid != 0UL) hash ^= Otherid.GetHashCode(); + if (Onlineid != 0) hash ^= Onlineid.GetHashCode(); + if (Roomid != 0UL) hash ^= Roomid.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 (Otherid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Otherid); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + if (Roomid != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Roomid); + } + 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 (Otherid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Otherid); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + if (Roomid != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Roomid); + } + 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 (Otherid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Otherid); + } + if (Onlineid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Onlineid); + } + if (Roomid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Roomid); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqOnlineChatAccept other) { + if (other == null) { + return; + } + if (other.Otherid != 0UL) { + Otherid = other.Otherid; + } + if (other.Onlineid != 0) { + Onlineid = other.Onlineid; + } + if (other.Roomid != 0UL) { + Roomid = other.Roomid; + } + _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: { + Otherid = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = input.ReadUInt32(); + break; + } + case 24: { + Roomid = input.ReadUInt64(); + 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: { + Otherid = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = input.ReadUInt32(); + break; + } + case 24: { + Roomid = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqOnlineRecruit : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqOnlineRecruit()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[11]; } + } + + [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 ReqOnlineRecruit() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqOnlineRecruit(ReqOnlineRecruit other) : this() { + roomId_ = other.roomId_; + onlineId_ = other.onlineId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqOnlineRecruit Clone() { + return new ReqOnlineRecruit(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "online_id" field. + public const int OnlineIdFieldNumber = 2; + private uint onlineId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint OnlineId { + get { return onlineId_; } + set { + onlineId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReqOnlineRecruit); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqOnlineRecruit other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (OnlineId != other.OnlineId) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + if (OnlineId != 0) hash ^= OnlineId.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (OnlineId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(OnlineId); + } + 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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (OnlineId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(OnlineId); + } + 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 (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + if (OnlineId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OnlineId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqOnlineRecruit other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + if (other.OnlineId != 0) { + OnlineId = other.OnlineId; + } + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + OnlineId = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + OnlineId = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendVigor : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendVigor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[12]; } + } + + [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 FriendVigor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendVigor(FriendVigor other) : this() { + pid_ = other.pid_; + haveVigor_ = other.haveVigor_; + vigorGot_ = other.vigorGot_; + returnVigor_ = other.returnVigor_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendVigor Clone() { + return new FriendVigor(this); + } + + /// Field number for the "pid" field. + public const int PidFieldNumber = 1; + private ulong pid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Pid { + get { return pid_; } + set { + pid_ = value; + } + } + + /// Field number for the "have_vigor" field. + public const int HaveVigorFieldNumber = 2; + private bool haveVigor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HaveVigor { + get { return haveVigor_; } + set { + haveVigor_ = value; + } + } + + /// Field number for the "vigor_got" field. + public const int VigorGotFieldNumber = 3; + private bool vigorGot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool VigorGot { + get { return vigorGot_; } + set { + vigorGot_ = value; + } + } + + /// Field number for the "return_vigor" field. + public const int ReturnVigorFieldNumber = 4; + private bool returnVigor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ReturnVigor { + get { return returnVigor_; } + set { + returnVigor_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FriendVigor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendVigor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Pid != other.Pid) return false; + if (HaveVigor != other.HaveVigor) return false; + if (VigorGot != other.VigorGot) return false; + if (ReturnVigor != other.ReturnVigor) 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 (Pid != 0UL) hash ^= Pid.GetHashCode(); + if (HaveVigor != false) hash ^= HaveVigor.GetHashCode(); + if (VigorGot != false) hash ^= VigorGot.GetHashCode(); + if (ReturnVigor != false) hash ^= ReturnVigor.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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (HaveVigor != false) { + output.WriteRawTag(16); + output.WriteBool(HaveVigor); + } + if (VigorGot != false) { + output.WriteRawTag(24); + output.WriteBool(VigorGot); + } + if (ReturnVigor != false) { + output.WriteRawTag(32); + output.WriteBool(ReturnVigor); + } + 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 (Pid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Pid); + } + if (HaveVigor != false) { + output.WriteRawTag(16); + output.WriteBool(HaveVigor); + } + if (VigorGot != false) { + output.WriteRawTag(24); + output.WriteBool(VigorGot); + } + if (ReturnVigor != false) { + output.WriteRawTag(32); + output.WriteBool(ReturnVigor); + } + 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 (Pid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Pid); + } + if (HaveVigor != false) { + size += 1 + 1; + } + if (VigorGot != false) { + size += 1 + 1; + } + if (ReturnVigor != 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(FriendVigor other) { + if (other == null) { + return; + } + if (other.Pid != 0UL) { + Pid = other.Pid; + } + if (other.HaveVigor != false) { + HaveVigor = other.HaveVigor; + } + if (other.VigorGot != false) { + VigorGot = other.VigorGot; + } + if (other.ReturnVigor != false) { + ReturnVigor = other.ReturnVigor; + } + _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: { + Pid = input.ReadUInt64(); + break; + } + case 16: { + HaveVigor = input.ReadBool(); + break; + } + case 24: { + VigorGot = input.ReadBool(); + break; + } + case 32: { + ReturnVigor = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Pid = input.ReadUInt64(); + break; + } + case 16: { + HaveVigor = input.ReadBool(); + break; + } + case 24: { + VigorGot = input.ReadBool(); + break; + } + case 32: { + ReturnVigor = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendVigorList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendVigorList()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[13]; } + } + + [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 FriendVigorList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendVigorList(FriendVigorList other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendVigorList Clone() { + return new FriendVigorList(this); + } + + /// Field number for the "list" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::MikuSB.Proto.FriendVigor.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FriendVigorList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendVigorList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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 ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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 += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendVigorList other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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: { + list_.AddEntriesFrom(input, _repeated_list_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RankList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RankList()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[14]; } + } + + [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 RankList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankList(RankList other) : this() { + rankName_ = other.rankName_; + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankList Clone() { + return new RankList(this); + } + + /// Field number for the "rank_name" field. + public const int RankNameFieldNumber = 1; + private string rankName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RankName { + get { return rankName_; } + set { + rankName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "list" field. + public const int ListFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(18, global::MikuSB.Proto.RankList.Types.ListItem.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RankList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RankList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RankName != other.RankName) return false; + if(!list_.Equals(other.list_)) 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 (RankName.Length != 0) hash ^= RankName.GetHashCode(); + hash ^= list_.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 (RankName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RankName); + } + list_.WriteTo(output, _repeated_list_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) { + if (RankName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RankName); + } + list_.WriteTo(ref output, _repeated_list_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; + if (RankName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RankName); + } + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RankList other) { + if (other == null) { + return; + } + if (other.RankName.Length != 0) { + RankName = other.RankName; + } + list_.Add(other.list_); + _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: { + RankName = input.ReadString(); + break; + } + case 18: { + list_.AddEntriesFrom(input, _repeated_list_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + RankName = input.ReadString(); + break; + } + case 18: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the RankList message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListItem : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListItem()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.RankList.Descriptor.NestedTypes[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 ListItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListItem(ListItem other) : this() { + memberName_ = other.memberName_; + score_ = other.score_; + info_ = other.info_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListItem Clone() { + return new ListItem(this); + } + + /// Field number for the "member_name" field. + public const int MemberNameFieldNumber = 1; + private string memberName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MemberName { + get { return memberName_; } + set { + memberName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 2; + private uint score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Score { + get { return score_; } + set { + score_ = value; + } + } + + /// Field number for the "info" field. + public const int InfoFieldNumber = 3; + private string info_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Info { + get { return info_; } + set { + info_ = 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 ListItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MemberName != other.MemberName) return false; + if (Score != other.Score) return false; + if (Info != other.Info) 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 (MemberName.Length != 0) hash ^= MemberName.GetHashCode(); + if (Score != 0) hash ^= Score.GetHashCode(); + if (Info.Length != 0) hash ^= Info.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 (MemberName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(MemberName); + } + if (Score != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Score); + } + if (Info.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Info); + } + 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 (MemberName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(MemberName); + } + if (Score != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Score); + } + if (Info.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Info); + } + 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 (MemberName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MemberName); + } + if (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); + } + if (Info.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Info); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListItem other) { + if (other == null) { + return; + } + if (other.MemberName.Length != 0) { + MemberName = other.MemberName; + } + if (other.Score != 0) { + Score = other.Score; + } + if (other.Info.Length != 0) { + Info = other.Info; + } + _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: { + MemberName = input.ReadString(); + break; + } + case 16: { + Score = input.ReadUInt32(); + break; + } + case 26: { + Info = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + MemberName = input.ReadString(); + break; + } + case 16: { + Score = input.ReadUInt32(); + break; + } + case 26: { + Info = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RankInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RankInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[15]; } + } + + [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 RankInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankInfo(RankInfo other) : this() { + score_ = other.score_; + rank_ = other.rank_; + sum_ = other.sum_; + info_ = other.info_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankInfo Clone() { + return new RankInfo(this); + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 1; + private uint score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Score { + get { return score_; } + set { + score_ = value; + } + } + + /// Field number for the "rank" field. + public const int RankFieldNumber = 2; + private uint rank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Rank { + get { return rank_; } + set { + rank_ = value; + } + } + + /// Field number for the "sum" field. + public const int SumFieldNumber = 3; + private uint sum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Sum { + get { return sum_; } + set { + sum_ = value; + } + } + + /// Field number for the "info" field. + public const int InfoFieldNumber = 4; + private string info_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Info { + get { return info_; } + set { + info_ = 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 RankInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RankInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Score != other.Score) return false; + if (Rank != other.Rank) return false; + if (Sum != other.Sum) return false; + if (Info != other.Info) 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 (Score != 0) hash ^= Score.GetHashCode(); + if (Rank != 0) hash ^= Rank.GetHashCode(); + if (Sum != 0) hash ^= Sum.GetHashCode(); + if (Info.Length != 0) hash ^= Info.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 (Score != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Rank); + } + if (Sum != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Sum); + } + if (Info.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Info); + } + 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 (Score != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Rank); + } + if (Sum != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Sum); + } + if (Info.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Info); + } + 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 (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); + } + if (Rank != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); + } + if (Sum != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Sum); + } + if (Info.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Info); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RankInfo other) { + if (other == null) { + return; + } + if (other.Score != 0) { + Score = other.Score; + } + if (other.Rank != 0) { + Rank = other.Rank; + } + if (other.Sum != 0) { + Sum = other.Sum; + } + if (other.Info.Length != 0) { + Info = other.Info; + } + _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: { + Score = input.ReadUInt32(); + break; + } + case 16: { + Rank = input.ReadUInt32(); + break; + } + case 24: { + Sum = input.ReadUInt32(); + break; + } + case 34: { + Info = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Score = input.ReadUInt32(); + break; + } + case 16: { + Rank = input.ReadUInt32(); + break; + } + case 24: { + Sum = input.ReadUInt32(); + break; + } + case 34: { + Info = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GlobalCounterInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GlobalCounterInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[16]; } + } + + [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 GlobalCounterInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GlobalCounterInfo(GlobalCounterInfo other) : this() { + counterName_ = other.counterName_; + value_ = other.value_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GlobalCounterInfo Clone() { + return new GlobalCounterInfo(this); + } + + /// Field number for the "counter_name" field. + public const int CounterNameFieldNumber = 1; + private string counterName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CounterName { + get { return counterName_; } + set { + counterName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "value" field. + public const int ValueFieldNumber = 2; + private uint value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Value { + get { return value_; } + set { + value_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GlobalCounterInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GlobalCounterInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CounterName != other.CounterName) 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 (CounterName.Length != 0) hash ^= CounterName.GetHashCode(); + if (Value != 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 (CounterName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(CounterName); + } + if (Value != 0) { + output.WriteRawTag(16); + output.WriteUInt32(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 (CounterName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(CounterName); + } + if (Value != 0) { + output.WriteRawTag(16); + output.WriteUInt32(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 (CounterName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CounterName); + } + if (Value != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GlobalCounterInfo other) { + if (other == null) { + return; + } + if (other.CounterName.Length != 0) { + CounterName = other.CounterName; + } + if (other.Value != 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + CounterName = input.ReadString(); + break; + } + case 16: { + Value = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + CounterName = input.ReadString(); + break; + } + case 16: { + Value = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfLog : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfLog()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[17]; } + } + + [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 NtfLog() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfLog(NtfLog other) : this() { + action_ = other.action_; + detail_ = other.detail_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfLog Clone() { + return new NtfLog(this); + } + + /// Field number for the "action" field. + public const int ActionFieldNumber = 1; + private string action_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Action { + get { return action_; } + set { + action_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "detail" field. + public const int DetailFieldNumber = 2; + private string detail_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Detail { + get { return detail_; } + set { + detail_ = 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 NtfLog); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfLog other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Action != other.Action) return false; + if (Detail != other.Detail) 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 (Action.Length != 0) hash ^= Action.GetHashCode(); + if (Detail.Length != 0) hash ^= Detail.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 (Action.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Action); + } + if (Detail.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Detail); + } + 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 (Action.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Action); + } + if (Detail.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Detail); + } + 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 (Action.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Action); + } + if (Detail.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Detail); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfLog other) { + if (other == null) { + return; + } + if (other.Action.Length != 0) { + Action = other.Action; + } + if (other.Detail.Length != 0) { + Detail = other.Detail; + } + _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: { + Action = input.ReadString(); + break; + } + case 18: { + Detail = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Action = input.ReadString(); + break; + } + case 18: { + Detail = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfBroadcast : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfBroadcast()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[18]; } + } + + [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 NtfBroadcast() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfBroadcast(NtfBroadcast other) : this() { + msg_ = other.msg_; + duration_ = other.duration_; + startTime_ = other.startTime_; + endTime_ = other.endTime_; + clean_ = other.clean_; + channels_ = other.channels_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfBroadcast Clone() { + return new NtfBroadcast(this); + } + + /// Field number for the "msg" field. + public const int MsgFieldNumber = 1; + private string msg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Msg { + get { return msg_; } + set { + msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "duration" field. + public const int DurationFieldNumber = 2; + private uint duration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Duration { + get { return duration_; } + set { + duration_ = value; + } + } + + /// Field number for the "start_time" field. + public const int StartTimeFieldNumber = 3; + private uint startTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint StartTime { + get { return startTime_; } + set { + startTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 4; + private uint endTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "clean" field. + public const int CleanFieldNumber = 5; + private bool clean_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Clean { + get { return clean_; } + set { + clean_ = value; + } + } + + /// Field number for the "channels" field. + public const int ChannelsFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_channels_codec + = pb::FieldCodec.ForMessage(50, global::MikuSB.Proto.ChannelOpt.Parser); + private readonly pbc::RepeatedField channels_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Channels { + get { return channels_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfBroadcast); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfBroadcast other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Msg != other.Msg) return false; + if (Duration != other.Duration) return false; + if (StartTime != other.StartTime) return false; + if (EndTime != other.EndTime) return false; + if (Clean != other.Clean) return false; + if(!channels_.Equals(other.channels_)) 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 (Msg.Length != 0) hash ^= Msg.GetHashCode(); + if (Duration != 0) hash ^= Duration.GetHashCode(); + if (StartTime != 0) hash ^= StartTime.GetHashCode(); + if (EndTime != 0) hash ^= EndTime.GetHashCode(); + if (Clean != false) hash ^= Clean.GetHashCode(); + hash ^= channels_.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 (Msg.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Msg); + } + if (Duration != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Duration); + } + if (StartTime != 0) { + output.WriteRawTag(24); + output.WriteUInt32(StartTime); + } + if (EndTime != 0) { + output.WriteRawTag(32); + output.WriteUInt32(EndTime); + } + if (Clean != false) { + output.WriteRawTag(40); + output.WriteBool(Clean); + } + channels_.WriteTo(output, _repeated_channels_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) { + if (Msg.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Msg); + } + if (Duration != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Duration); + } + if (StartTime != 0) { + output.WriteRawTag(24); + output.WriteUInt32(StartTime); + } + if (EndTime != 0) { + output.WriteRawTag(32); + output.WriteUInt32(EndTime); + } + if (Clean != false) { + output.WriteRawTag(40); + output.WriteBool(Clean); + } + channels_.WriteTo(ref output, _repeated_channels_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; + if (Msg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg); + } + if (Duration != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Duration); + } + if (StartTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StartTime); + } + if (EndTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EndTime); + } + if (Clean != false) { + size += 1 + 1; + } + size += channels_.CalculateSize(_repeated_channels_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfBroadcast other) { + if (other == null) { + return; + } + if (other.Msg.Length != 0) { + Msg = other.Msg; + } + if (other.Duration != 0) { + Duration = other.Duration; + } + if (other.StartTime != 0) { + StartTime = other.StartTime; + } + if (other.EndTime != 0) { + EndTime = other.EndTime; + } + if (other.Clean != false) { + Clean = other.Clean; + } + channels_.Add(other.channels_); + _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: { + Msg = input.ReadString(); + break; + } + case 16: { + Duration = input.ReadUInt32(); + break; + } + case 24: { + StartTime = input.ReadUInt32(); + break; + } + case 32: { + EndTime = input.ReadUInt32(); + break; + } + case 40: { + Clean = input.ReadBool(); + break; + } + case 50: { + channels_.AddEntriesFrom(input, _repeated_channels_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Msg = input.ReadString(); + break; + } + case 16: { + Duration = input.ReadUInt32(); + break; + } + case 24: { + StartTime = input.ReadUInt32(); + break; + } + case 32: { + EndTime = input.ReadUInt32(); + break; + } + case 40: { + Clean = input.ReadBool(); + break; + } + case 50: { + channels_.AddEntriesFrom(ref input, _repeated_channels_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfSyncPlayer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfSyncPlayer()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[19]; } + } + + [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 NtfSyncPlayer() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfSyncPlayer(NtfSyncPlayer other) : this() { + sign_ = other.sign_; + core_ = other.core_.Clone(); + custom_ = other.custom_.Clone(); + customStr_ = other.customStr_.Clone(); + items_ = other.items_.Clone(); + showItems_ = other.showItems_.Clone(); + showAttrs_ = other.showAttrs_.Clone(); + money_ = other.money_.Clone(); + pieces_ = other.pieces_.Clone(); + badges_ = other.badges_.Clone(); + tags_ = other.tags_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfSyncPlayer Clone() { + return new NtfSyncPlayer(this); + } + + /// Field number for the "sign" field. + public const int SignFieldNumber = 1; + private string sign_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Sign { + get { return sign_; } + set { + sign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "core" field. + public const int CoreFieldNumber = 2; + private static readonly pbc::MapField.Codec _map_core_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 18); + private readonly pbc::MapField core_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Core { + get { return core_; } + } + + /// Field number for the "custom" field. + public const int CustomFieldNumber = 3; + private static readonly pbc::MapField.Codec _map_custom_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 26); + private readonly pbc::MapField custom_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Custom { + get { return custom_; } + } + + /// Field number for the "custom_str" field. + public const int CustomStrFieldNumber = 4; + private static readonly pbc::MapField.Codec _map_customStr_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForString(18, ""), 34); + private readonly pbc::MapField customStr_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField CustomStr { + get { return customStr_; } + } + + /// Field number for the "items" field. + public const int ItemsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(42, global::MikuSB.Proto.Item.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "show_items" field. + public const int ShowItemsFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_showItems_codec + = pb::FieldCodec.ForUInt64(50); + private readonly pbc::RepeatedField showItems_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ShowItems { + get { return showItems_; } + } + + /// Field number for the "show_attrs" field. + public const int ShowAttrsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_showAttrs_codec + = pb::FieldCodec.ForUInt32(58); + private readonly pbc::RepeatedField showAttrs_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ShowAttrs { + get { return showAttrs_; } + } + + /// Field number for the "money" field. + public const int MoneyFieldNumber = 8; + private static readonly pbc::MapField.Codec _map_money_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForInt32(16, 0), 66); + private readonly pbc::MapField money_ = new pbc::MapField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Money { + get { return money_; } + } + + /// Field number for the "pieces" field. + public const int PiecesFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_pieces_codec + = pb::FieldCodec.ForMessage(74, global::MikuSB.Proto.FriendPieces.Parser); + private readonly pbc::RepeatedField pieces_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Pieces { + get { return pieces_; } + } + + /// Field number for the "badges" field. + public const int BadgesFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_badges_codec + = pb::FieldCodec.ForUInt64(82); + private readonly pbc::RepeatedField badges_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Badges { + get { return badges_; } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForUInt64(90); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfSyncPlayer); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfSyncPlayer other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Sign != other.Sign) return false; + if (!Core.Equals(other.Core)) return false; + if (!Custom.Equals(other.Custom)) return false; + if (!CustomStr.Equals(other.CustomStr)) return false; + if(!items_.Equals(other.items_)) return false; + if(!showItems_.Equals(other.showItems_)) return false; + if(!showAttrs_.Equals(other.showAttrs_)) return false; + if (!Money.Equals(other.Money)) return false; + if(!pieces_.Equals(other.pieces_)) return false; + if(!badges_.Equals(other.badges_)) return false; + if(!tags_.Equals(other.tags_)) 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 (Sign.Length != 0) hash ^= Sign.GetHashCode(); + hash ^= Core.GetHashCode(); + hash ^= Custom.GetHashCode(); + hash ^= CustomStr.GetHashCode(); + hash ^= items_.GetHashCode(); + hash ^= showItems_.GetHashCode(); + hash ^= showAttrs_.GetHashCode(); + hash ^= Money.GetHashCode(); + hash ^= pieces_.GetHashCode(); + hash ^= badges_.GetHashCode(); + hash ^= tags_.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 (Sign.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Sign); + } + core_.WriteTo(output, _map_core_codec); + custom_.WriteTo(output, _map_custom_codec); + customStr_.WriteTo(output, _map_customStr_codec); + items_.WriteTo(output, _repeated_items_codec); + showItems_.WriteTo(output, _repeated_showItems_codec); + showAttrs_.WriteTo(output, _repeated_showAttrs_codec); + money_.WriteTo(output, _map_money_codec); + pieces_.WriteTo(output, _repeated_pieces_codec); + badges_.WriteTo(output, _repeated_badges_codec); + tags_.WriteTo(output, _repeated_tags_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) { + if (Sign.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Sign); + } + core_.WriteTo(ref output, _map_core_codec); + custom_.WriteTo(ref output, _map_custom_codec); + customStr_.WriteTo(ref output, _map_customStr_codec); + items_.WriteTo(ref output, _repeated_items_codec); + showItems_.WriteTo(ref output, _repeated_showItems_codec); + showAttrs_.WriteTo(ref output, _repeated_showAttrs_codec); + money_.WriteTo(ref output, _map_money_codec); + pieces_.WriteTo(ref output, _repeated_pieces_codec); + badges_.WriteTo(ref output, _repeated_badges_codec); + tags_.WriteTo(ref output, _repeated_tags_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; + if (Sign.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Sign); + } + size += core_.CalculateSize(_map_core_codec); + size += custom_.CalculateSize(_map_custom_codec); + size += customStr_.CalculateSize(_map_customStr_codec); + size += items_.CalculateSize(_repeated_items_codec); + size += showItems_.CalculateSize(_repeated_showItems_codec); + size += showAttrs_.CalculateSize(_repeated_showAttrs_codec); + size += money_.CalculateSize(_map_money_codec); + size += pieces_.CalculateSize(_repeated_pieces_codec); + size += badges_.CalculateSize(_repeated_badges_codec); + size += tags_.CalculateSize(_repeated_tags_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfSyncPlayer other) { + if (other == null) { + return; + } + if (other.Sign.Length != 0) { + Sign = other.Sign; + } + core_.MergeFrom(other.core_); + custom_.MergeFrom(other.custom_); + customStr_.MergeFrom(other.customStr_); + items_.Add(other.items_); + showItems_.Add(other.showItems_); + showAttrs_.Add(other.showAttrs_); + money_.MergeFrom(other.money_); + pieces_.Add(other.pieces_); + badges_.Add(other.badges_); + tags_.Add(other.tags_); + _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: { + Sign = input.ReadString(); + break; + } + case 18: { + core_.AddEntriesFrom(input, _map_core_codec); + break; + } + case 26: { + custom_.AddEntriesFrom(input, _map_custom_codec); + break; + } + case 34: { + customStr_.AddEntriesFrom(input, _map_customStr_codec); + break; + } + case 42: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 50: + case 48: { + showItems_.AddEntriesFrom(input, _repeated_showItems_codec); + break; + } + case 58: + case 56: { + showAttrs_.AddEntriesFrom(input, _repeated_showAttrs_codec); + break; + } + case 66: { + money_.AddEntriesFrom(input, _map_money_codec); + break; + } + case 74: { + pieces_.AddEntriesFrom(input, _repeated_pieces_codec); + break; + } + case 82: + case 80: { + badges_.AddEntriesFrom(input, _repeated_badges_codec); + break; + } + case 90: + case 88: { + tags_.AddEntriesFrom(input, _repeated_tags_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Sign = input.ReadString(); + break; + } + case 18: { + core_.AddEntriesFrom(ref input, _map_core_codec); + break; + } + case 26: { + custom_.AddEntriesFrom(ref input, _map_custom_codec); + break; + } + case 34: { + customStr_.AddEntriesFrom(ref input, _map_customStr_codec); + break; + } + case 42: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 50: + case 48: { + showItems_.AddEntriesFrom(ref input, _repeated_showItems_codec); + break; + } + case 58: + case 56: { + showAttrs_.AddEntriesFrom(ref input, _repeated_showAttrs_codec); + break; + } + case 66: { + money_.AddEntriesFrom(ref input, _map_money_codec); + break; + } + case 74: { + pieces_.AddEntriesFrom(ref input, _repeated_pieces_codec); + break; + } + case 82: + case 80: { + badges_.AddEntriesFrom(ref input, _repeated_badges_codec); + break; + } + case 90: + case 88: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfSyncLineup : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfSyncLineup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[20]; } + } + + [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 NtfSyncLineup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfSyncLineup(NtfSyncLineup other) : this() { + lineup_ = other.lineup_ != null ? other.lineup_.Clone() : null; + remove_ = other.remove_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfSyncLineup Clone() { + return new NtfSyncLineup(this); + } + + /// Field number for the "lineup" field. + public const int LineupFieldNumber = 1; + private global::MikuSB.Proto.Lineup lineup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.Lineup Lineup { + get { return lineup_; } + set { + lineup_ = value; + } + } + + /// Field number for the "remove" field. + public const int RemoveFieldNumber = 2; + private bool remove_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Remove { + get { return remove_; } + set { + remove_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfSyncLineup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfSyncLineup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Lineup, other.Lineup)) return false; + if (Remove != other.Remove) 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 (lineup_ != null) hash ^= Lineup.GetHashCode(); + if (Remove != false) hash ^= Remove.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 (lineup_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Lineup); + } + if (Remove != false) { + output.WriteRawTag(16); + output.WriteBool(Remove); + } + 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 (lineup_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Lineup); + } + if (Remove != false) { + output.WriteRawTag(16); + output.WriteBool(Remove); + } + 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 (lineup_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Lineup); + } + if (Remove != 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(NtfSyncLineup other) { + if (other == null) { + return; + } + if (other.lineup_ != null) { + if (lineup_ == null) { + Lineup = new global::MikuSB.Proto.Lineup(); + } + Lineup.MergeFrom(other.Lineup); + } + if (other.Remove != false) { + Remove = other.Remove; + } + _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 (lineup_ == null) { + Lineup = new global::MikuSB.Proto.Lineup(); + } + input.ReadMessage(Lineup); + break; + } + case 16: { + Remove = 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) { + 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 (lineup_ == null) { + Lineup = new global::MikuSB.Proto.Lineup(); + } + input.ReadMessage(Lineup); + break; + } + case 16: { + Remove = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfCallScript : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfCallScript()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[21]; } + } + + [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 NtfCallScript() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfCallScript(NtfCallScript other) : this() { + api_ = other.api_; + arg_ = other.arg_; + extraSync_ = other.extraSync_ != null ? other.extraSync_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfCallScript Clone() { + return new NtfCallScript(this); + } + + /// Field number for the "api" field. + public const int ApiFieldNumber = 1; + private string api_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Api { + get { return api_; } + set { + api_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "arg" field. + public const int ArgFieldNumber = 2; + private string arg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Arg { + get { return arg_; } + set { + arg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "extra_sync" field. + public const int ExtraSyncFieldNumber = 3; + private global::MikuSB.Proto.NtfSyncPlayer extraSync_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.NtfSyncPlayer ExtraSync { + get { return extraSync_; } + set { + extraSync_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfCallScript); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfCallScript other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Api != other.Api) return false; + if (Arg != other.Arg) return false; + if (!object.Equals(ExtraSync, other.ExtraSync)) 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 (Api.Length != 0) hash ^= Api.GetHashCode(); + if (Arg.Length != 0) hash ^= Arg.GetHashCode(); + if (extraSync_ != null) hash ^= ExtraSync.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 (Api.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Api); + } + if (Arg.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Arg); + } + if (extraSync_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ExtraSync); + } + 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 (Api.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Api); + } + if (Arg.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Arg); + } + if (extraSync_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ExtraSync); + } + 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 (Api.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Api); + } + if (Arg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Arg); + } + if (extraSync_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExtraSync); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfCallScript other) { + if (other == null) { + return; + } + if (other.Api.Length != 0) { + Api = other.Api; + } + if (other.Arg.Length != 0) { + Arg = other.Arg; + } + if (other.extraSync_ != null) { + if (extraSync_ == null) { + ExtraSync = new global::MikuSB.Proto.NtfSyncPlayer(); + } + ExtraSync.MergeFrom(other.ExtraSync); + } + _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: { + Api = input.ReadString(); + break; + } + case 18: { + Arg = input.ReadString(); + break; + } + case 26: { + if (extraSync_ == null) { + ExtraSync = new global::MikuSB.Proto.NtfSyncPlayer(); + } + input.ReadMessage(ExtraSync); + 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: { + Api = input.ReadString(); + break; + } + case 18: { + Arg = input.ReadString(); + break; + } + case 26: { + if (extraSync_ == null) { + ExtraSync = new global::MikuSB.Proto.NtfSyncPlayer(); + } + input.ReadMessage(ExtraSync); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfSetAttr : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfSetAttr()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[22]; } + } + + [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 NtfSetAttr() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfSetAttr(NtfSetAttr other) : this() { + gid_ = other.gid_; + sid_ = other.sid_; + val_ = other.val_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfSetAttr Clone() { + return new NtfSetAttr(this); + } + + /// Field number for the "gid" field. + public const int GidFieldNumber = 1; + private uint gid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Gid { + get { return gid_; } + set { + gid_ = value; + } + } + + /// Field number for the "sid" field. + public const int SidFieldNumber = 2; + private uint sid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Sid { + get { return sid_; } + set { + sid_ = value; + } + } + + /// Field number for the "val" field. + public const int ValFieldNumber = 3; + private uint val_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Val { + get { return val_; } + set { + val_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfSetAttr); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfSetAttr other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Gid != other.Gid) return false; + if (Sid != other.Sid) return false; + if (Val != other.Val) 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 (Gid != 0) hash ^= Gid.GetHashCode(); + if (Sid != 0) hash ^= Sid.GetHashCode(); + if (Val != 0) hash ^= Val.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 (Gid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Gid); + } + if (Sid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Sid); + } + if (Val != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Val); + } + 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 (Gid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Gid); + } + if (Sid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Sid); + } + if (Val != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Val); + } + 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 (Gid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Gid); + } + if (Sid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Sid); + } + if (Val != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Val); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfSetAttr other) { + if (other == null) { + return; + } + if (other.Gid != 0) { + Gid = other.Gid; + } + if (other.Sid != 0) { + Sid = other.Sid; + } + if (other.Val != 0) { + Val = other.Val; + } + _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: { + Gid = input.ReadUInt32(); + break; + } + case 16: { + Sid = input.ReadUInt32(); + break; + } + case 24: { + Val = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Gid = input.ReadUInt32(); + break; + } + case 16: { + Sid = input.ReadUInt32(); + break; + } + case 24: { + Val = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfSetStrAttr : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfSetStrAttr()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[23]; } + } + + [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 NtfSetStrAttr() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfSetStrAttr(NtfSetStrAttr other) : this() { + gid_ = other.gid_; + sid_ = other.sid_; + val_ = other.val_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfSetStrAttr Clone() { + return new NtfSetStrAttr(this); + } + + /// Field number for the "gid" field. + public const int GidFieldNumber = 1; + private uint gid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Gid { + get { return gid_; } + set { + gid_ = value; + } + } + + /// Field number for the "sid" field. + public const int SidFieldNumber = 2; + private uint sid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Sid { + get { return sid_; } + set { + sid_ = value; + } + } + + /// Field number for the "val" field. + public const int ValFieldNumber = 3; + private string val_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Val { + get { return val_; } + set { + val_ = 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 NtfSetStrAttr); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfSetStrAttr other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Gid != other.Gid) return false; + if (Sid != other.Sid) return false; + if (Val != other.Val) 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 (Gid != 0) hash ^= Gid.GetHashCode(); + if (Sid != 0) hash ^= Sid.GetHashCode(); + if (Val.Length != 0) hash ^= Val.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 (Gid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Gid); + } + if (Sid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Sid); + } + if (Val.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Val); + } + 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 (Gid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Gid); + } + if (Sid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Sid); + } + if (Val.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Val); + } + 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 (Gid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Gid); + } + if (Sid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Sid); + } + if (Val.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Val); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfSetStrAttr other) { + if (other == null) { + return; + } + if (other.Gid != 0) { + Gid = other.Gid; + } + if (other.Sid != 0) { + Sid = other.Sid; + } + if (other.Val.Length != 0) { + Val = other.Val; + } + _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: { + Gid = input.ReadUInt32(); + break; + } + case 16: { + Sid = input.ReadUInt32(); + break; + } + case 26: { + Val = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Gid = input.ReadUInt32(); + break; + } + case 16: { + Sid = input.ReadUInt32(); + break; + } + case 26: { + Val = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfOnlineStart : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfOnlineStart()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[24]; } + } + + [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 NtfOnlineStart() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineStart(NtfOnlineStart other) : this() { + roomId_ = other.roomId_; + roomAddr_ = other.roomAddr_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineStart Clone() { + return new NtfOnlineStart(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "room_addr" field. + public const int RoomAddrFieldNumber = 2; + private string roomAddr_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomAddr { + get { return roomAddr_; } + set { + roomAddr_ = 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 NtfOnlineStart); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfOnlineStart other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (RoomAddr != other.RoomAddr) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + if (RoomAddr.Length != 0) hash ^= RoomAddr.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (RoomAddr.Length != 0) { + output.WriteRawTag(18); + output.WriteString(RoomAddr); + } + 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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (RoomAddr.Length != 0) { + output.WriteRawTag(18); + output.WriteString(RoomAddr); + } + 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 (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + if (RoomAddr.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomAddr); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfOnlineStart other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + if (other.RoomAddr.Length != 0) { + RoomAddr = other.RoomAddr; + } + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 18: { + RoomAddr = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RoomId = input.ReadUInt64(); + break; + } + case 18: { + RoomAddr = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfOnlineRoom : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfOnlineRoom()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[25]; } + } + + [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 NtfOnlineRoom() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineRoom(NtfOnlineRoom other) : this() { + roomId_ = other.roomId_; + onlineid_ = other.onlineid_; + players_ = other.players_.Clone(); + bmatch_ = other.bmatch_; + buffinfo_ = other.buffinfo_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineRoom Clone() { + return new NtfOnlineRoom(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "onlineid" field. + public const int OnlineidFieldNumber = 2; + private uint onlineid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Onlineid { + get { return onlineid_; } + set { + onlineid_ = value; + } + } + + /// Field number for the "players" field. + public const int PlayersFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_players_codec + = pb::FieldCodec.ForMessage(26, global::MikuSB.Proto.OnlinePlayer.Parser); + private readonly pbc::RepeatedField players_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Players { + get { return players_; } + } + + /// Field number for the "bmatch" field. + public const int BmatchFieldNumber = 4; + private bool bmatch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Bmatch { + get { return bmatch_; } + set { + bmatch_ = value; + } + } + + /// Field number for the "buffinfo" field. + public const int BuffinfoFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_buffinfo_codec + = pb::FieldCodec.ForUInt32(42); + private readonly pbc::RepeatedField buffinfo_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Buffinfo { + get { return buffinfo_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfOnlineRoom); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfOnlineRoom other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (Onlineid != other.Onlineid) return false; + if(!players_.Equals(other.players_)) return false; + if (Bmatch != other.Bmatch) return false; + if(!buffinfo_.Equals(other.buffinfo_)) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + if (Onlineid != 0) hash ^= Onlineid.GetHashCode(); + hash ^= players_.GetHashCode(); + if (Bmatch != false) hash ^= Bmatch.GetHashCode(); + hash ^= buffinfo_.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + players_.WriteTo(output, _repeated_players_codec); + if (Bmatch != false) { + output.WriteRawTag(32); + output.WriteBool(Bmatch); + } + buffinfo_.WriteTo(output, _repeated_buffinfo_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) { + if (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + players_.WriteTo(ref output, _repeated_players_codec); + if (Bmatch != false) { + output.WriteRawTag(32); + output.WriteBool(Bmatch); + } + buffinfo_.WriteTo(ref output, _repeated_buffinfo_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; + if (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + if (Onlineid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Onlineid); + } + size += players_.CalculateSize(_repeated_players_codec); + if (Bmatch != false) { + size += 1 + 1; + } + size += buffinfo_.CalculateSize(_repeated_buffinfo_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfOnlineRoom other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + if (other.Onlineid != 0) { + Onlineid = other.Onlineid; + } + players_.Add(other.players_); + if (other.Bmatch != false) { + Bmatch = other.Bmatch; + } + buffinfo_.Add(other.buffinfo_); + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = input.ReadUInt32(); + break; + } + case 26: { + players_.AddEntriesFrom(input, _repeated_players_codec); + break; + } + case 32: { + Bmatch = input.ReadBool(); + break; + } + case 42: + case 40: { + buffinfo_.AddEntriesFrom(input, _repeated_buffinfo_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = input.ReadUInt32(); + break; + } + case 26: { + players_.AddEntriesFrom(ref input, _repeated_players_codec); + break; + } + case 32: { + Bmatch = input.ReadBool(); + break; + } + case 42: + case 40: { + buffinfo_.AddEntriesFrom(ref input, _repeated_buffinfo_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfOnlineInvite : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfOnlineInvite()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[26]; } + } + + [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 NtfOnlineInvite() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineInvite(NtfOnlineInvite other) : this() { + roomId_ = other.roomId_; + onlineid_ = other.onlineid_; + playerid_ = other.playerid_; + name_ = other.name_; + face_ = other.face_; + faceframe_ = other.faceframe_; + level_ = other.level_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineInvite Clone() { + return new NtfOnlineInvite(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "onlineid" field. + public const int OnlineidFieldNumber = 2; + private uint onlineid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Onlineid { + get { return onlineid_; } + set { + onlineid_ = value; + } + } + + /// Field number for the "playerid" field. + public const int PlayeridFieldNumber = 3; + private ulong playerid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Playerid { + get { return playerid_; } + set { + playerid_ = value; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 4; + private string name_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "face" field. + public const int FaceFieldNumber = 5; + private ulong face_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Face { + get { return face_; } + set { + face_ = value; + } + } + + /// Field number for the "faceframe" field. + public const int FaceframeFieldNumber = 6; + private ulong faceframe_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Faceframe { + get { return faceframe_; } + set { + faceframe_ = value; + } + } + + /// Field number for the "level" field. + public const int LevelFieldNumber = 7; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfOnlineInvite); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfOnlineInvite other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (Onlineid != other.Onlineid) return false; + if (Playerid != other.Playerid) return false; + if (Name != other.Name) return false; + if (Face != other.Face) return false; + if (Faceframe != other.Faceframe) return false; + if (Level != other.Level) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + if (Onlineid != 0) hash ^= Onlineid.GetHashCode(); + if (Playerid != 0UL) hash ^= Playerid.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Face != 0UL) hash ^= Face.GetHashCode(); + if (Faceframe != 0UL) hash ^= Faceframe.GetHashCode(); + if (Level != 0) hash ^= Level.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + if (Playerid != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Playerid); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Face != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(Face); + } + if (Faceframe != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(Faceframe); + } + if (Level != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Level); + } + 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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + if (Playerid != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Playerid); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Face != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(Face); + } + if (Faceframe != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(Faceframe); + } + if (Level != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Level); + } + 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 (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + if (Onlineid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Onlineid); + } + if (Playerid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Playerid); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Face != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Face); + } + if (Faceframe != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Faceframe); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfOnlineInvite other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + if (other.Onlineid != 0) { + Onlineid = other.Onlineid; + } + if (other.Playerid != 0UL) { + Playerid = other.Playerid; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Face != 0UL) { + Face = other.Face; + } + if (other.Faceframe != 0UL) { + Faceframe = other.Faceframe; + } + if (other.Level != 0) { + Level = other.Level; + } + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = input.ReadUInt32(); + break; + } + case 24: { + Playerid = input.ReadUInt64(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + Face = input.ReadUInt64(); + break; + } + case 48: { + Faceframe = input.ReadUInt64(); + break; + } + case 56: { + Level = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = input.ReadUInt32(); + break; + } + case 24: { + Playerid = input.ReadUInt64(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + Face = input.ReadUInt64(); + break; + } + case 48: { + Faceframe = input.ReadUInt64(); + break; + } + case 56: { + Level = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfOnlineRecruit : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfOnlineRecruit()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[27]; } + } + + [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 NtfOnlineRecruit() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineRecruit(NtfOnlineRecruit other) : this() { + roomId_ = other.roomId_; + onlineId_ = other.onlineId_; + senderProfile_ = other.senderProfile_ != null ? other.senderProfile_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineRecruit Clone() { + return new NtfOnlineRecruit(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "online_id" field. + public const int OnlineIdFieldNumber = 2; + private uint onlineId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint OnlineId { + get { return onlineId_; } + set { + onlineId_ = value; + } + } + + /// Field number for the "sender_profile" field. + public const int SenderProfileFieldNumber = 3; + private global::MikuSB.Proto.PlayerProfile senderProfile_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MikuSB.Proto.PlayerProfile SenderProfile { + get { return senderProfile_; } + set { + senderProfile_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfOnlineRecruit); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfOnlineRecruit other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (OnlineId != other.OnlineId) return false; + if (!object.Equals(SenderProfile, other.SenderProfile)) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + if (OnlineId != 0) hash ^= OnlineId.GetHashCode(); + if (senderProfile_ != null) hash ^= SenderProfile.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (OnlineId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(OnlineId); + } + if (senderProfile_ != null) { + output.WriteRawTag(26); + output.WriteMessage(SenderProfile); + } + 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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (OnlineId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(OnlineId); + } + if (senderProfile_ != null) { + output.WriteRawTag(26); + output.WriteMessage(SenderProfile); + } + 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 (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + if (OnlineId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OnlineId); + } + if (senderProfile_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SenderProfile); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfOnlineRecruit other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + if (other.OnlineId != 0) { + OnlineId = other.OnlineId; + } + if (other.senderProfile_ != null) { + if (senderProfile_ == null) { + SenderProfile = new global::MikuSB.Proto.PlayerProfile(); + } + SenderProfile.MergeFrom(other.SenderProfile); + } + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + OnlineId = input.ReadUInt32(); + break; + } + case 26: { + if (senderProfile_ == null) { + SenderProfile = new global::MikuSB.Proto.PlayerProfile(); + } + input.ReadMessage(SenderProfile); + 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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + OnlineId = input.ReadUInt32(); + break; + } + case 26: { + if (senderProfile_ == null) { + SenderProfile = new global::MikuSB.Proto.PlayerProfile(); + } + input.ReadMessage(SenderProfile); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfOnlineState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfOnlineState()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[28]; } + } + + [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 NtfOnlineState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineState(NtfOnlineState other) : this() { + roomId_ = other.roomId_; + onlineid_ = other.onlineid_; + matchflag_ = other.matchflag_; + players_ = other.players_.Clone(); + stateflag_ = other.stateflag_.Clone(); + nowtime_ = other.nowtime_; + levelid_ = other.levelid_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfOnlineState Clone() { + return new NtfOnlineState(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "onlineid" field. + public const int OnlineidFieldNumber = 2; + private uint onlineid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Onlineid { + get { return onlineid_; } + set { + onlineid_ = value; + } + } + + /// Field number for the "matchflag" field. + public const int MatchflagFieldNumber = 3; + private uint matchflag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Matchflag { + get { return matchflag_; } + set { + matchflag_ = value; + } + } + + /// Field number for the "players" field. + public const int PlayersFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_players_codec + = pb::FieldCodec.ForUInt64(34); + private readonly pbc::RepeatedField players_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Players { + get { return players_; } + } + + /// Field number for the "stateflag" field. + public const int StateflagFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_stateflag_codec + = pb::FieldCodec.ForUInt32(42); + private readonly pbc::RepeatedField stateflag_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Stateflag { + get { return stateflag_; } + } + + /// Field number for the "nowtime" field. + public const int NowtimeFieldNumber = 6; + private ulong nowtime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Nowtime { + get { return nowtime_; } + set { + nowtime_ = value; + } + } + + /// Field number for the "levelid" field. + public const int LevelidFieldNumber = 7; + private ulong levelid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Levelid { + get { return levelid_; } + set { + levelid_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfOnlineState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfOnlineState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (Onlineid != other.Onlineid) return false; + if (Matchflag != other.Matchflag) return false; + if(!players_.Equals(other.players_)) return false; + if(!stateflag_.Equals(other.stateflag_)) return false; + if (Nowtime != other.Nowtime) return false; + if (Levelid != other.Levelid) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + if (Onlineid != 0) hash ^= Onlineid.GetHashCode(); + if (Matchflag != 0) hash ^= Matchflag.GetHashCode(); + hash ^= players_.GetHashCode(); + hash ^= stateflag_.GetHashCode(); + if (Nowtime != 0UL) hash ^= Nowtime.GetHashCode(); + if (Levelid != 0UL) hash ^= Levelid.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + if (Matchflag != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Matchflag); + } + players_.WriteTo(output, _repeated_players_codec); + stateflag_.WriteTo(output, _repeated_stateflag_codec); + if (Nowtime != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(Nowtime); + } + if (Levelid != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(Levelid); + } + 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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Onlineid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Onlineid); + } + if (Matchflag != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Matchflag); + } + players_.WriteTo(ref output, _repeated_players_codec); + stateflag_.WriteTo(ref output, _repeated_stateflag_codec); + if (Nowtime != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(Nowtime); + } + if (Levelid != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(Levelid); + } + 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 (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + if (Onlineid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Onlineid); + } + if (Matchflag != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Matchflag); + } + size += players_.CalculateSize(_repeated_players_codec); + size += stateflag_.CalculateSize(_repeated_stateflag_codec); + if (Nowtime != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Nowtime); + } + if (Levelid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Levelid); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfOnlineState other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + if (other.Onlineid != 0) { + Onlineid = other.Onlineid; + } + if (other.Matchflag != 0) { + Matchflag = other.Matchflag; + } + players_.Add(other.players_); + stateflag_.Add(other.stateflag_); + if (other.Nowtime != 0UL) { + Nowtime = other.Nowtime; + } + if (other.Levelid != 0UL) { + Levelid = other.Levelid; + } + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = input.ReadUInt32(); + break; + } + case 24: { + Matchflag = input.ReadUInt32(); + break; + } + case 34: + case 32: { + players_.AddEntriesFrom(input, _repeated_players_codec); + break; + } + case 42: + case 40: { + stateflag_.AddEntriesFrom(input, _repeated_stateflag_codec); + break; + } + case 48: { + Nowtime = input.ReadUInt64(); + break; + } + case 56: { + Levelid = input.ReadUInt64(); + 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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + Onlineid = input.ReadUInt32(); + break; + } + case 24: { + Matchflag = input.ReadUInt32(); + break; + } + case 34: + case 32: { + players_.AddEntriesFrom(ref input, _repeated_players_codec); + break; + } + case 42: + case 40: { + stateflag_.AddEntriesFrom(ref input, _repeated_stateflag_codec); + break; + } + case 48: { + Nowtime = input.ReadUInt64(); + break; + } + case 56: { + Levelid = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqRoomStart : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqRoomStart()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[29]; } + } + + [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 ReqRoomStart() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqRoomStart(ReqRoomStart other) : this() { + roomId_ = other.roomId_; + isReday_ = other.isReday_; + error_ = other.error_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqRoomStart Clone() { + return new ReqRoomStart(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "is_reday" field. + public const int IsRedayFieldNumber = 2; + private bool isReday_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsReday { + get { return isReday_; } + set { + isReday_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 3; + private string error_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Error { + get { return error_; } + set { + error_ = 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 ReqRoomStart); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqRoomStart other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (IsReday != other.IsReday) return false; + if (Error != other.Error) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + if (IsReday != false) hash ^= IsReday.GetHashCode(); + if (Error.Length != 0) hash ^= Error.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (IsReday != false) { + output.WriteRawTag(16); + output.WriteBool(IsReday); + } + if (Error.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Error); + } + 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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (IsReday != false) { + output.WriteRawTag(16); + output.WriteBool(IsReday); + } + if (Error.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Error); + } + 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 (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + if (IsReday != false) { + size += 1 + 1; + } + if (Error.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqRoomStart other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + if (other.IsReday != false) { + IsReday = other.IsReday; + } + if (other.Error.Length != 0) { + Error = other.Error; + } + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + IsReday = input.ReadBool(); + break; + } + case 26: { + Error = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + IsReday = input.ReadBool(); + break; + } + case 26: { + Error = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RspRoomStart : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RspRoomStart()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[30]; } + } + + [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 RspRoomStart() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RspRoomStart(RspRoomStart other) : this() { + players_ = other.players_.Clone(); + buffinfo_ = other.buffinfo_.Clone(); + pollingweek_ = other.pollingweek_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RspRoomStart Clone() { + return new RspRoomStart(this); + } + + /// Field number for the "players" field. + public const int PlayersFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_players_codec + = pb::FieldCodec.ForMessage(10, global::MikuSB.Proto.OnlinePlayer.Parser); + private readonly pbc::RepeatedField players_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Players { + get { return players_; } + } + + /// Field number for the "buffinfo" field. + public const int BuffinfoFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_buffinfo_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField buffinfo_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Buffinfo { + get { return buffinfo_; } + } + + /// Field number for the "pollingweek" field. + public const int PollingweekFieldNumber = 3; + private uint pollingweek_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Pollingweek { + get { return pollingweek_; } + set { + pollingweek_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RspRoomStart); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RspRoomStart other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!players_.Equals(other.players_)) return false; + if(!buffinfo_.Equals(other.buffinfo_)) return false; + if (Pollingweek != other.Pollingweek) 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 ^= players_.GetHashCode(); + hash ^= buffinfo_.GetHashCode(); + if (Pollingweek != 0) hash ^= Pollingweek.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 + players_.WriteTo(output, _repeated_players_codec); + buffinfo_.WriteTo(output, _repeated_buffinfo_codec); + if (Pollingweek != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Pollingweek); + } + 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) { + players_.WriteTo(ref output, _repeated_players_codec); + buffinfo_.WriteTo(ref output, _repeated_buffinfo_codec); + if (Pollingweek != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Pollingweek); + } + 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 += players_.CalculateSize(_repeated_players_codec); + size += buffinfo_.CalculateSize(_repeated_buffinfo_codec); + if (Pollingweek != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Pollingweek); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RspRoomStart other) { + if (other == null) { + return; + } + players_.Add(other.players_); + buffinfo_.Add(other.buffinfo_); + if (other.Pollingweek != 0) { + Pollingweek = other.Pollingweek; + } + _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: { + players_.AddEntriesFrom(input, _repeated_players_codec); + break; + } + case 18: + case 16: { + buffinfo_.AddEntriesFrom(input, _repeated_buffinfo_codec); + break; + } + case 24: { + Pollingweek = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + players_.AddEntriesFrom(ref input, _repeated_players_codec); + break; + } + case 18: + case 16: { + buffinfo_.AddEntriesFrom(ref input, _repeated_buffinfo_codec); + break; + } + case 24: { + Pollingweek = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfStopRoom : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfStopRoom()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[31]; } + } + + [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 NtfStopRoom() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfStopRoom(NtfStopRoom other) : this() { + roomId_ = other.roomId_; + reason_ = other.reason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfStopRoom Clone() { + return new NtfStopRoom(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "reason" field. + public const int ReasonFieldNumber = 2; + private string reason_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Reason { + get { return reason_; } + set { + reason_ = 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 NtfStopRoom); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfStopRoom other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (Reason != other.Reason) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + if (Reason.Length != 0) hash ^= Reason.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Reason.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Reason); + } + 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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Reason.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Reason); + } + 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 (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + if (Reason.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Reason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfStopRoom other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + if (other.Reason.Length != 0) { + Reason = other.Reason; + } + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 18: { + Reason = 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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RoomId = input.ReadUInt64(); + break; + } + case 18: { + Reason = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfRoomOver : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfRoomOver()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[32]; } + } + + [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 NtfRoomOver() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfRoomOver(NtfRoomOver other) : this() { + roomId_ = other.roomId_; + playerinfo_ = other.playerinfo_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfRoomOver Clone() { + return new NtfRoomOver(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "playerinfo" field. + public const int PlayerinfoFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_playerinfo_codec + = pb::FieldCodec.ForMessage(18, global::MikuSB.Proto.OnlineEndData.Parser); + private readonly pbc::RepeatedField playerinfo_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Playerinfo { + get { return playerinfo_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfRoomOver); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfRoomOver other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if(!playerinfo_.Equals(other.playerinfo_)) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + hash ^= playerinfo_.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + playerinfo_.WriteTo(output, _repeated_playerinfo_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) { + if (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + playerinfo_.WriteTo(ref output, _repeated_playerinfo_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; + if (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + size += playerinfo_.CalculateSize(_repeated_playerinfo_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfRoomOver other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + playerinfo_.Add(other.playerinfo_); + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 18: { + playerinfo_.AddEntriesFrom(input, _repeated_playerinfo_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) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RoomId = input.ReadUInt64(); + break; + } + case 18: { + playerinfo_.AddEntriesFrom(ref input, _repeated_playerinfo_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ReqAntiData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReqAntiData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[33]; } + } + + [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 ReqAntiData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqAntiData(ReqAntiData other) : this() { + dataType_ = other.dataType_; + mtpData_ = other.mtpData_; + platId_ = other.platId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReqAntiData Clone() { + return new ReqAntiData(this); + } + + /// Field number for the "data_type" field. + public const int DataTypeFieldNumber = 1; + private uint dataType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DataType { + get { return dataType_; } + set { + dataType_ = value; + } + } + + /// Field number for the "mtpData" field. + public const int MtpDataFieldNumber = 2; + private pb::ByteString mtpData_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString MtpData { + get { return mtpData_; } + set { + mtpData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "plat_id" field. + public const int PlatIdFieldNumber = 4; + private int platId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlatId { + get { return platId_; } + set { + platId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReqAntiData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReqAntiData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DataType != other.DataType) return false; + if (MtpData != other.MtpData) return false; + if (PlatId != other.PlatId) 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 (DataType != 0) hash ^= DataType.GetHashCode(); + if (MtpData.Length != 0) hash ^= MtpData.GetHashCode(); + if (PlatId != 0) hash ^= PlatId.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 (DataType != 0) { + output.WriteRawTag(8); + output.WriteUInt32(DataType); + } + if (MtpData.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(MtpData); + } + if (PlatId != 0) { + output.WriteRawTag(32); + output.WriteInt32(PlatId); + } + 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 (DataType != 0) { + output.WriteRawTag(8); + output.WriteUInt32(DataType); + } + if (MtpData.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(MtpData); + } + if (PlatId != 0) { + output.WriteRawTag(32); + output.WriteInt32(PlatId); + } + 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 (DataType != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DataType); + } + if (MtpData.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(MtpData); + } + if (PlatId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlatId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReqAntiData other) { + if (other == null) { + return; + } + if (other.DataType != 0) { + DataType = other.DataType; + } + if (other.MtpData.Length != 0) { + MtpData = other.MtpData; + } + if (other.PlatId != 0) { + PlatId = other.PlatId; + } + _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: { + DataType = input.ReadUInt32(); + break; + } + case 18: { + MtpData = input.ReadBytes(); + break; + } + case 32: { + PlatId = input.ReadInt32(); + 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: { + DataType = input.ReadUInt32(); + break; + } + case 18: { + MtpData = input.ReadBytes(); + break; + } + case 32: { + PlatId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NtfRoomPlayerCheat : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NtfRoomPlayerCheat()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MikuSB.Proto.SnowBreakReflection.Descriptor.MessageTypes[34]; } + } + + [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 NtfRoomPlayerCheat() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfRoomPlayerCheat(NtfRoomPlayerCheat other) : this() { + roomId_ = other.roomId_; + playerid_ = other.playerid_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NtfRoomPlayerCheat Clone() { + return new NtfRoomPlayerCheat(this); + } + + /// Field number for the "room_id" field. + public const int RoomIdFieldNumber = 1; + private ulong roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "playerid" field. + public const int PlayeridFieldNumber = 2; + private ulong playerid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Playerid { + get { return playerid_; } + set { + playerid_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NtfRoomPlayerCheat); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NtfRoomPlayerCheat other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (Playerid != other.Playerid) 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 (RoomId != 0UL) hash ^= RoomId.GetHashCode(); + if (Playerid != 0UL) hash ^= Playerid.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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Playerid != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Playerid); + } + 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 (RoomId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(RoomId); + } + if (Playerid != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Playerid); + } + 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 (RoomId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomId); + } + if (Playerid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Playerid); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NtfRoomPlayerCheat other) { + if (other == null) { + return; + } + if (other.RoomId != 0UL) { + RoomId = other.RoomId; + } + if (other.Playerid != 0UL) { + Playerid = other.Playerid; + } + _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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + Playerid = input.ReadUInt64(); + 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: { + RoomId = input.ReadUInt64(); + break; + } + case 16: { + Playerid = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/Snowbreak.proto b/Proto/Snowbreak.proto deleted file mode 100644 index 274e8bc..0000000 --- a/Proto/Snowbreak.proto +++ /dev/null @@ -1,381 +0,0 @@ -syntax = "proto3"; - -package snowbreak; - -import "Core.proto"; - -option csharp_namespace = "MikuSB.Proto"; - -enum PF { - NONE = 0; - REQ_LOGIN = 1; - RSP_LOGIN = 2; - REQ_RECONNECT = 3; - RSP_RECONNECT = 4; - REQ_RENAME = 5; - RSP_RENAME = 6; - REQ_CALLGS = 7; - RSP_CALLGS = 8; - REQ_USEITEM = 9; - RSP_USEITEM = 10; - REQ_READMAIL = 11; - RSP_READMAIL = 12; - REQ_MAIL_ATTACHMENT = 13; - RSP_MAIL_ATTACHMENT = 14; - REQ_DELMAIL = 15; - RSP_DELMAIL = 16; - REQ_SET_NEWGUIDE = 17; - RSP_SET_NEWGUIDE = 18; - REQ_ACCOUNTINFO = 19; - RSP_ACCOUNTINFO = 20; - REQ_RESIGN = 23; - RSP_RESIGN = 24; - REQ_RECORD = 25; - RSP_RECORD = 26; - REQ_ADD_FRIENDREQ = 27; - RSP_ADD_FRIENDREQ = 28; - REQ_AGREE_FRIENDREQ = 29; - RSP_AGREE_FRIENDREQ = 30; - REQ_REFUSE_FRIENDREQ = 31; - RSP_REFUSE_FRIENDREQ = 32; - REQ_REMOVE_FRIEND = 33; - RSP_REMOVE_FRIEND = 34; - REQ_GIVE_FRIENDVIGOR = 35; - RSP_GIVE_FRIENDVIGOR = 36; - REQ_RECV_FRIENDVIGOR = 37; - RSP_RECV_FRIENDVIGOR = 38; - REQ_PLAYER_RECOMMEND = 39; - RSP_PLAYER_RECOMMEND = 40; - REQ_ADD_BLOCKLIST = 41; - RSP_ADD_BLOCKLIST = 42; - REQ_DEL_BLOCKLIST = 43; - RSP_DEL_BLOCKLIST = 44; - REQ_FIND_PLAYER = 45; - RSP_FIND_PLAYER = 46; - REQ_PLAYER_PROFILE = 47; - RSP_PLAYER_PROFILE = 48; - REQ_GET_VERSION = 49; - RSP_GET_VERSION = 50; - REQ_RANKLIST = 51; - RSP_RANKLIST = 52; - REQ_RANK = 53; - RSP_RANK = 54; - REQ_BLOCK_FRIENDREQ = 55; - RSP_BLOCK_FRIENDREQ = 56; - REQ_WORD_FILTER = 57; - RSP_WORD_FILTER = 58; - REQ_SET_CUSTOMROSTER = 59; - RSP_SET_CUSTOMROSTER = 60; - REQ_GLOBALCOUNTER = 61; - RSP_GLOBALCOUNTER = 62; - REQ_MATCH = 301; - RSP_MATCH = 302; - REQ_ONLINE_ROOM = 303; - RSP_ONLINE_ROOM = 304; - REQ_ONLINE_ROOM_START = 305; - RSP_ONLINE_ROOM_START = 306; - REQ_ONLINE_ROOM_EXIT = 307; - RSP_ONLINE_ROOM_EXIT = 308; - REQ_ONLINE_ROOM_INVITE = 309; - RSP_ONLINE_ROOM_INVITE = 310; - REQ_ONLINE_ROOM_ACCEPT = 311; - RSP_ONLINE_ROOM_ACCEPT = 312; - REQ_ONLINE_ROOM_UPDATE = 313; - RSP_ONLINE_ROOM_UPDATE = 314; - REQ_ONLINE_ROOM_RECONNECT = 315; - RSP_ONLINE_ROOM_RECONNECT = 316; - REQ_ONLINE_ROOM_CHATACCEPT = 317; - RSP_ONLINE_ROOM_CHATACCEPT = 318; - REQ_ONLINE_ROOM_UPDATEMAP = 319; - RSP_ONLINE_ROOM_UPDATEMAP = 320; - REQ_CHANGE_WORLD_CHANNEL = 321; - RSP_CHANGE_WORLD_CHANNEL = 322; - REQ_WORLD_CHAT = 323; - RSP_WORLD_CHAT = 324; - REQ_FRIEND_CHAT = 325; - RSP_FRIEND_CHAT = 326; - REQ_ONLINE_CHAT = 327; - RSP_ONLINE_CHAT = 328; - REQ_ONLINE_RECRUIT = 329; - RSP_ONLINE_RECRUIT = 330; - NTF_LOG = 1001; - NTF_KICKOUT = 1002; - NTF_BROADCAST = 1003; - NTF_SYNCATTR = 1004; - NTF_SYNCLINEUP = 1005; - NTF_SYNC_NEW_MAIL = 1006; - NTF_SYNC_DEL_MAIL = 1007; - NTF_PLAYERMSG = 1008; - NTF_LOGOUT = 1009; - NTF_SCRIPT = 1010; - NTF_SETATTR = 1011; - NTF_SETSTRATTR = 1012; - NTF_ONLINE_START = 1013; - NTF_ONLINE_OVER = 1014; - NTF_READITEM = 1015; - NTF_UPDATE_FRIEND = 1016; - NTF_DEL_FRIEND = 1017; - NTF_FRIEND_REQ = 1018; - NTF_FRIEND_VIGOR = 1019; - NTF_BLACKLIST = 1020; - NTF_GLOBALATTRS = 1021; - NTF_ANTI_DATA = 1022; - NTF_BLOCK_FRIENDREQ = 1023; - NTF_CUSTOMROSTER = 1024; - NTF_ONLINE_ROOMINFO = 1031; - NTF_ONLINE_LOAD = 1032; - NTF_ONLINE_KICKOUT = 1033; - NTF_ONLINE_INVITE = 1034; - NTF_ONLINE_STATE = 1035; - NTF_WORLD_CHAT = 1041; - NTF_FRIEND_CHAT = 1042; - NTF_ONLINE_CHAT = 1043; - NTF_ONLINE_RECRUIT = 1044; - NTF_ONLINE_PLAYERCHEAT = 1045; - REQ_ROOM_START = 2001; - RSP_ROOM_START = 2002; - NTF_ROOM_READY = 2003; - NTF_ROOM_OVER = 2004; - NTF_STOP_ROOM = 2005; - NTF_ROOM_PLAYEREXIT = 2006; - NTF_ROOM_PLAYERCHEAT = 2007; - NTF_ROOM_PLAYERFINAL = 2008; -} - -message ReqLogin { - string provider = 1; - string token = 2; - Core.ClientProfile client_profile = 3; -} - -message RspLogin { - string session_id = 1; - Core.Player data = 2; - bool need_rename = 3; - uint32 area_id = 4; - int32 time_zone = 5; - uint32 timestamp = 6; - int32 certification = 7; - map global_attrs = 8; - uint32 world_channel = 9; - map global_str_attrs = 10; - uint32 error_code = 98; - repeated uint32 error_info = 99; -} - -message ReqReconnect { - uint64 pid = 1; - string session_id = 2; - uint32 world_channel = 3; - string language = 4; -} - -message RspReconnect { - string session_id = 1; - Core.Player data = 2; - bool need_rename = 3; - int32 time_zone = 4; - uint32 timestamp = 5; - uint32 world_channel = 6; -} - -message ReqAccountInfo { - string provider = 1; - string token = 2; -} - -message ReqCallGS { - string api = 1; - string param = 2; - uint32 clicknum = 3; - repeated string dependent_params = 4; -} - -message ReqUseItem { - uint64 id = 1; - uint32 count = 2; -} - -message ReqOnlineCreateRoom { - uint32 onlineid = 1; - uint32 lineup_index = 2; -} - -message RspOnlineCreateRoom { - uint32 onlineid = 1; - uint32 lineup_index = 2; - uint64 roomid = 3; - repeated uint32 buffinfo = 4; -} - -message ReqOnlineAccept { - uint64 otherid = 1; - uint32 onlineid = 2; -} - -message ReqOnlineChatAccept { - uint64 otherid = 1; - uint32 onlineid = 2; - uint64 roomid = 3; -} - -message ReqOnlineRecruit { - uint64 room_id = 1; - uint32 online_id = 2; -} - -message FriendVigor { - uint64 pid = 1; - bool have_vigor = 2; - bool vigor_got = 3; - bool return_vigor = 4; -} - -message FriendVigorList { - repeated FriendVigor list = 1; -} - -message RankList { - message ListItem { - string member_name = 1; - uint32 score = 2; - string info = 3; - } - string rank_name = 1; - repeated RankList.ListItem list = 2; -} - -message RankInfo { - uint32 score = 1; - uint32 rank = 2; - uint32 sum = 3; - string info = 4; -} - -message GlobalCounterInfo { - string counter_name = 1; - uint32 value = 2; -} - -message NtfLog { - string action = 1; - string detail = 2; -} - -message NtfBroadcast { - string msg = 1; - uint32 duration = 2; - uint32 start_time = 3; - uint32 end_time = 4; - bool clean = 5; - repeated Core.ChannelOpt channels = 6; -} - -message NtfSyncPlayer { - string sign = 1; - map core = 2; - map custom = 3; - map custom_str = 4; - repeated Core.Item items = 5; - repeated uint64 show_items = 6; - repeated uint32 show_attrs = 7; - map money = 8; - repeated Core.FriendPieces pieces = 9; - repeated uint64 badges = 10; - repeated uint64 tags = 11; -} - -message NtfSyncLineup { - Core.Lineup lineup = 1; - bool remove = 2; -} - -message NtfCallScript { - string api = 1; - string arg = 2; - NtfSyncPlayer extra_sync = 3; -} - -message NtfSetAttr { - uint32 gid = 1; - uint32 sid = 2; - uint32 val = 3; -} - -message NtfSetStrAttr { - uint32 gid = 1; - uint32 sid = 2; - string val = 3; -} - -message NtfOnlineStart { - uint64 room_id = 1; - string room_addr = 2; -} - -message NtfOnlineRoom { - uint64 room_id = 1; - uint32 onlineid = 2; - repeated Core.OnlinePlayer players = 3; - bool bmatch = 4; - repeated uint32 buffinfo = 5; -} - -message NtfOnlineInvite { - uint64 room_id = 1; - uint32 onlineid = 2; - uint64 playerid = 3; - string name = 4; - uint64 face = 5; - uint64 faceframe = 6; - uint32 level = 7; -} - -message NtfOnlineRecruit { - uint64 room_id = 1; - uint32 online_id = 2; - Core.PlayerProfile sender_profile = 3; -} - -message NtfOnlineState { - uint64 room_id = 1; - uint32 onlineid = 2; - uint32 matchflag = 3; - repeated uint64 players = 4; - repeated uint32 stateflag = 5; - uint64 nowtime = 6; - uint64 levelid = 7; -} - -message ReqRoomStart { - uint64 room_id = 1; - bool is_reday = 2; - string error = 3; -} - -message RspRoomStart { - repeated Core.OnlinePlayer players = 1; - repeated uint32 buffinfo = 2; - uint32 pollingweek = 3; -} - -message NtfStopRoom { - uint64 room_id = 1; - string reason = 2; -} - -message NtfRoomOver { - uint64 room_id = 1; - repeated Core.OnlineEndData playerinfo = 2; -} - -message ReqAntiData { - uint32 data_type = 1; - bytes mtpData = 2; - int32 plat_id = 4; -} - -message NtfRoomPlayerCheat { - uint64 room_id = 1; - uint64 playerid = 2; -}