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