// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: game.proto
#pragma warning disable 1591, 0612, 3021
#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 Protobuf {
/// Holder for reflection information generated from game.proto
public static partial class GameReflection {
#region Descriptor
/// File descriptor for game.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GameReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CgpnYW1lLnByb3RvEghwcm90b2J1ZhoMY29tbW9uLnByb3RvIkIKCUxvZ2lu",
"X0MyUxIQCgh1c2VybmFtZRgBIAEoCRIPCgdjaGFubmVsGAIgASgFEhIKCnNl",
"c3Npb25LZXkYAyABKAkiRwoJTG9naW5fUzJDEhEKCWVycm9yY29kZRgBIAEo",
"BRInCgh1c2VyZGF0YRgCIAEoCzIVLnByb3RvYnVmLlVzZXJEYXRhTXNnIiIK",
"EFNldEdlbURlY2tJZF9DMlMSDgoGZGVja2lkGAEgASgFIjUKEFNldEdlbURl",
"Y2tJZF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEg4KBmRlY2tpZBgCIAEoBSJA",
"Cg9Nb3ZlR2VtRGVja19DMlMSDgoGZGVja2lkGAEgASgFEg4KBnNsb3RpZBgC",
"IAEoBRINCgVnZW1pZBgDIAEoBSIkCg9Nb3ZlR2VtRGVja19TMkMSEQoJZXJy",
"b3Jjb2RlGAEgASgFIjsKDUdNQ29tbWFuZF9DMlMSDAoEdHlwZRgBIAEoCRIN",
"CgVjZmdpZBgCIAEoBRINCgVjb3VudBgDIAEoBSJeCg1HTUNvbW1hbmRfUzJD",
"EhEKCWVycm9yY29kZRgBIAEoBRIMCgR0eXBlGAIgASgJEg0KBWNmZ2lkGAMg",
"ASgFEg0KBWNvdW50GAQgASgFEg4KBnBhcmFtMRgFIAEoBSIuCg5MZXZlbHVw",
"R2VtX0MyUxINCgVnZW1pZBgBIAEoBRINCgVsZXZlbBgCIAEoBSJfCg5MZXZl",
"bHVwR2VtX1MyQxIRCgllcnJvcmNvZGUYASABKAUSDQoFZ2VtaWQYAiABKAUS",
"DQoFbGV2ZWwYAyABKAUSDQoFY291bnQYBCABKAUSDQoFbW9uZXkYBSABKAUi",
"MQoRR2V0RnJpZW5kTGlzdF9DMlMSDQoFc3RhcnQYASABKAUSDQoFbGltaXQY",
"AiABKAUiWwoRR2V0RnJpZW5kTGlzdF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgF",
"EiQKB2ZyaWVuZHMYAiADKAsyEy5wcm90b2J1Zi5GcmllbmRNc2cSDQoFdG90",
"YWwYAyABKAUiMAoQR2V0QmxvY2tMaXN0X0MyUxINCgVzdGFydBgBIAEoBRIN",
"CgVsaW1pdBgCIAEoBSJZChBHZXRCbG9ja0xpc3RfUzJDEhEKCWVycm9yY29k",
"ZRgBIAEoBRIjCgZibG9ja3MYAiADKAsyEy5wcm90b2J1Zi5GcmllbmRNc2cS",
"DQoFdG90YWwYAyABKAUiIgoORmluZEZyaWVuZF9DMlMSEAoIdXNlcm5hbWUY",
"ASABKAkiSAoORmluZEZyaWVuZF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEiMK",
"BmZyaWVuZBgCIAEoCzITLnByb3RvYnVmLkZyaWVuZE1zZyI4ChhHZXRGcmll",
"bmRSZXF1ZXN0TGlzdF9DMlMSDQoFc3RhcnQYASABKAUSDQoFbGltaXQYAiAB",
"KAUiYgoYR2V0RnJpZW5kUmVxdWVzdExpc3RfUzJDEhEKCWVycm9yY29kZRgB",
"IAEoBRIkCgdmcmllbmRzGAIgAygLMhMucHJvdG9idWYuRnJpZW5kTXNnEg0K",
"BXRvdGFsGAMgASgFIiUKEUZyaWVuZFJlcXVlc3RfQzJTEhAKCHVzZXJuYW1l",
"GAEgASgJIiYKEUZyaWVuZFJlcXVlc3RfUzJDEhEKCWVycm9yY29kZRgBIAEo",
"BSIkChBGcmllbmREZWxldGVfQzJTEhAKCHVzZXJuYW1lGAEgASgJIjcKEEZy",
"aWVuZERlbGV0ZV9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEhAKCHVzZXJuYW1l",
"GAIgASgJIiMKD0ZyaWVuZEJsb2NrX0MyUxIQCgh1c2VybmFtZRgBIAEoCSI2",
"Cg9GcmllbmRCbG9ja19TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEhAKCHVzZXJu",
"YW1lGAIgASgJIjEKDUZyaWVuZEFkZF9DMlMSEAoIdXNlcm5hbWUYASABKAkS",
"DgoGYWNjZXB0GAIgASgIIkQKDUZyaWVuZEFkZF9TMkMSEQoJZXJyb3Jjb2Rl",
"GAEgASgFEhAKCHVzZXJuYW1lGAIgASgJEg4KBmFjY2VwdBgDIAEoCCIpChdG",
"cmllbmRBY2NlcHRSZXF1ZXN0X0MyUxIOCgZhY2NlcHQYASABKAgiPAoXRnJp",
"ZW5kQWNjZXB0UmVxdWVzdF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEg4KBmFj",
"Y2VwdBgCIAEoCCIYChZHZXRSZWNvbW1lbmRGcmllbmRfQzJTIlEKFkdldFJl",
"Y29tbWVuZEZyaWVuZF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEiQKB2ZyaWVu",
"ZHMYAiADKAsyEy5wcm90b2J1Zi5GcmllbmRNc2ciIwoPU2V0Tmlja05hbWVf",
"QzJTEhAKCG5pY2tuYW1lGAEgASgJIkQKD1NldE5pY2tOYW1lX1MyQxIRCgll",
"cnJvcmNvZGUYASABKAUSEAoIbmlja25hbWUYAiABKAkSDAoEZ29sZBgDIAEo",
"BSIXChVQdXNoRnJpZW5kUmVxdWVzdF9TMkMiFgoUR2V0U3RvcmVJdGVtTGlz",
"dF9DMlMiUAoUR2V0U3RvcmVJdGVtTGlzdF9TMkMSEQoJZXJyb3Jjb2RlGAEg",
"ASgFEiUKBWFyZWFzGAIgAygLMhYucHJvdG9idWYuU3RvcmVBcmVhTXNnIiMK",
"EEJ1eVN0b3JlSXRlbV9DMlMSDwoHc3RvcmVpZBgBIAEoBSLJAQoQQnV5U3Rv",
"cmVJdGVtX1MyQxIRCgllcnJvcmNvZGUYASABKAUSEwoLZ2FtZW9yZGVyaWQY",
"AiABKAkSKQoIY3VyaXRlbXMYAyADKAsyFy5wcm90b2J1Zi5SZXdhcmRJdGVt",
"TXNnEg8KB3N0b3JlaWQYBCABKAUSEwoLcmVmcmVzaFRpbWUYBSABKAUSEAoI",
"YnV5Q291bnQYBiABKAUSKgoJYm94cmV3YXJkGAcgAygLMhcucHJvdG9idWYu",
"UmV3YXJkSXRlbU1zZyITChFHZXRCYXR0bGVQYXNzX0MyUyKbAQoRR2V0QmF0",
"dGxlUGFzc19TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEg0KBWxldmVsGAIgASgF",
"EgsKA2V4cBgDIAEoBRISCgpleHBpcmV0aW1lGAQgASgFEhIKCnBhc3N0aW1l",
"aWQYBSABKAUSCwoDdmlwGAYgASgIEg4KBmlzb3BlbhgHIAEoCBISCgp0YWtl",
"bml0ZW1zGAggAygFIiEKEUJ1eUJhdHRsZVBhc3NfQzJTEgwKBHR5cGUYASAB",
"KAUiZQoRQnV5QmF0dGxlUGFzc19TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEhMK",
"C2dhbWVvcmRlcmlkGAIgASgJEgwKBHR5cGUYAyABKAUSDQoFbGV2ZWwYBCAB",
"KAUSCwoDZXhwGAUgASgFIigKFlRha2VCYXR0bGVQYXNzSXRlbV9DMlMSDgoG",
"aXRlbWlkGAEgASgFIpIBChZUYWtlQmF0dGxlUGFzc0l0ZW1fUzJDEhEKCWVy",
"cm9yY29kZRgBIAEoBRIOCgZpdGVtaWQYAiABKAUSKQoIY3VyaXRlbXMYAyAD",
"KAsyFy5wcm90b2J1Zi5SZXdhcmRJdGVtTXNnEioKCWJveHJld2FyZBgEIAMo",
"CzIXLnByb3RvYnVmLlJld2FyZEl0ZW1Nc2ciJwoWQnV5QmF0dGxlUGFzc0xl",
"dmVsX0MyUxINCgVsZXZlbBgBIAEoBSJVChZCdXlCYXR0bGVQYXNzTGV2ZWxf",
"UzJDEhEKCWVycm9yY29kZRgBIAEoBRINCgVsZXZlbBgCIAEoBRILCgNleHAY",
"AyABKAUSDAoEZ29sZBgEIAEoBSIhChJVbkxvY2tBcmVuYUJveF9DMlMSCwoD",
"cG9zGAEgASgFIk8KElVuTG9ja0FyZW5hQm94X1MyQxIRCgllcnJvcmNvZGUY",
"ASABKAUSJgoHYXJlYWJveBgCIAEoCzIVLnByb3RvYnVmLkFyZW5hQm94TXNn",
"Ii0KEFRha2VBcmVuYUJveF9DMlMSCwoDcG9zGAEgASgFEgwKBGZyZWUYAiAB",
"KAgimAEKEFRha2VBcmVuYUJveF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEgsK",
"A3BvcxgCIAEoBRINCgVib3hpZBgDIAEoBRIpCghjdXJpdGVtcxgEIAMoCzIX",
"LnByb3RvYnVmLlJld2FyZEl0ZW1Nc2cSKgoJYm94cmV3YXJkGAUgAygLMhcu",
"cHJvdG9idWYuUmV3YXJkSXRlbU1zZyI+ChBGYW1pbHlTZWFyY2hfQzJTEgwK",
"BG5hbWUYASABKAkSDQoFc3RhcnQYAiABKAUSDQoFbGltaXQYAyABKAUiZwoQ",
"RmFtaWx5U2VhcmNoX1MyQxIRCgllcnJvcmNvZGUYASABKAUSMQoKZmFtaWx5",
"bGlzdBgCIAMoCzIdLnByb3RvYnVmLkZhbWlseVNlYXJjaEl0ZW1Nc2cSDQoF",
"dG90YWwYAyABKAUiOgoWRmFtaWx5UGxheWVyT25saW5lX1MyQxIQCgh1c2Vy",
"bmFtZRgBIAEoBRIOCgZvbmxpbmUYAiABKAgiYgoQRmFtaWx5Q3JlYXRlX0My",
"UxIMCgRuYW1lGAEgASgJEgwKBGRlc2MYAiABKAkSDQoFaWNvbnMYAyADKAUS",
"EAoIZnJlZUpvaW4YBCABKAUSEQoJbmVlZFNjb3JlGAUgASgFIh0KDkZhbWls",
"eUpvaW5fQzJTEgsKA3VpZBgBIAEoCSIwCg5GYW1pbHlKb2luX1MyQxIRCgll",
"cnJvcmNvZGUYASABKAUSCwoDdWlkGAIgASgJIjEKEUZhbWlseUdldENoYXRf",
"QzJTEg0KBXN0YXJ0GAEgASgFEg0KBWxpbWl0GAIgASgFInUKEUZhbWlseUdl",
"dENoYXRfUzJDEhEKCWVycm9yY29kZRgBIAEoBRIpCghtZXNzYWdlcxgCIAMo",
"CzIXLnByb3RvYnVmLkZhbWlseUNoYXRNc2cSDQoFdG90YWwYAyABKAUSEwoL",
"b25saW5lQ291bnQYBCABKAUiTAoTRmFtaWx5U3RhcnRDaGF0X0MyUxIkCghj",
"aGF0VHlwZRgBIAEoDjISLnByb3RvYnVmLkNoYXRUeXBlEg8KB2NvbnRlbnQY",
"AiABKAkiUgoTRmFtaWx5U3RhcnRDaGF0X1MyQxIRCgllcnJvcmNvZGUYASAB",
"KAUSKAoHbWVzc2FnZRgCIAEoCzIXLnByb3RvYnVmLkZhbWlseUNoYXRNc2ci",
"KgoVRmFtaWx5U3RhcnREb25hdGVfQzJTEhEKCW1lc3NhZ2VJZBgBIAEoBSJU",
"ChVGYW1pbHlTdGFydERvbmF0ZV9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEigK",
"B21lc3NhZ2UYAiABKAsyFy5wcm90b2J1Zi5GYW1pbHlDaGF0TXNnIhAKDkZh",
"bWlseVF1aXRfQzJTIiMKDkZhbWlseVF1aXRfUzJDEhEKCWVycm9yY29kZRgB",
"IAEoBSIoChNGYW1pbHlBZ3JlZUpvaW5fQzJTEhEKCW1lc3NhZ2VJZBgBIAEo",
"BSJWChNGYW1pbHlBZ3JlZUpvaW5fUzJDEhEKCWVycm9yY29kZRgBIAEoBRIs",
"CgluZXdNZW1iZXIYAiABKAsyGS5wcm90b2J1Zi5GYW1pbHlNZW1iZXJNc2ci",
"JgoSRmFtaWx5S2lja1VzZXJfQzJTEhAKCHVzZXJuYW1lGAEgASgJIicKEkZh",
"bWlseUtpY2tVc2VyX1MyQxIRCgllcnJvcmNvZGUYASABKAUiKQoVRmFtaWx5",
"VHJhbnNMZWFkZXJfQzJTEhAKCHVzZXJuYW1lGAEgASgJIioKFUZhbWlseVRy",
"YW5zTGVhZGVyX1MyQxIRCgllcnJvcmNvZGUYASABKAUiGQoXRmFtaWx5R2V0",
"RG9uYXRlU2hvcF9DMlMiZwoXRmFtaWx5R2V0RG9uYXRlU2hvcF9TMkMSEQoJ",
"ZXJyb3Jjb2RlGAEgASgFEiUKBWl0ZW1zGAIgAygLMhYucHJvdG9idWYuU3Rv",
"cmVJdGVtTXNnEhIKCmV4cGlyZVRpbWUYAyABKAUiLwoXRmFtaWx5QnV5RG9u",
"YXRlU2hvcF9DMlMSFAoMZG9uYXRlc2hvcElkGAEgASgFIn8KF0ZhbWlseUJ1",
"eURvbmF0ZVNob3BfUzJDEhEKCWVycm9yY29kZRgBIAEoBRIUCgxkb25hdGVz",
"aG9wSWQYAiABKAUSKQoIY3VyaXRlbXMYAyADKAsyFy5wcm90b2J1Zi5SZXdh",
"cmRJdGVtTXNnEhAKCGJ1eUNvdW50GAQgASgFIhgKFkZhbWlseUdldFNjb3Jl",
"U2hvcF9DMlMiZgoWRmFtaWx5R2V0U2NvcmVTaG9wX1MyQxIRCgllcnJvcmNv",
"ZGUYASABKAUSJQoFaXRlbXMYAiADKAsyFi5wcm90b2J1Zi5TdG9yZUl0ZW1N",
"c2cSEgoKZXhwaXJlVGltZRgDIAEoBSItChZGYW1pbHlCdXlTY29yZVNob3Bf",
"QzJTEhMKC3Njb3Jlc2hvcElkGAEgASgFIoEBChZGYW1pbHlCdXlTY29yZVNo",
"b3BfUzJDEhEKCWVycm9yY29kZRgBIAEoBRITCgtzY29yZXNob3BJZBgCIAEo",
"BRIYChBzY29yZXNob3BFeHBpcmVkGAMgASgFEhMKC2ZhbWlseVNjb3JlGAQg",
"ASgFEhAKCGJ1eUNvdW50GAUgASgFYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Protobuf.CommonReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.Login_C2S), global::Protobuf.Login_C2S.Parser, new[]{ "Username", "Channel", "SessionKey" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.Login_S2C), global::Protobuf.Login_S2C.Parser, new[]{ "Errorcode", "Userdata" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.SetGemDeckId_C2S), global::Protobuf.SetGemDeckId_C2S.Parser, new[]{ "Deckid" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.SetGemDeckId_S2C), global::Protobuf.SetGemDeckId_S2C.Parser, new[]{ "Errorcode", "Deckid" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MoveGemDeck_C2S), global::Protobuf.MoveGemDeck_C2S.Parser, new[]{ "Deckid", "Slotid", "Gemid" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MoveGemDeck_S2C), global::Protobuf.MoveGemDeck_S2C.Parser, new[]{ "Errorcode" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GMCommand_C2S), global::Protobuf.GMCommand_C2S.Parser, new[]{ "Type", "Cfgid", "Count" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GMCommand_S2C), global::Protobuf.GMCommand_S2C.Parser, new[]{ "Errorcode", "Type", "Cfgid", "Count", "Param1" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.LevelupGem_C2S), global::Protobuf.LevelupGem_C2S.Parser, new[]{ "Gemid", "Level" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.LevelupGem_S2C), global::Protobuf.LevelupGem_S2C.Parser, new[]{ "Errorcode", "Gemid", "Level", "Count", "Money" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetFriendList_C2S), global::Protobuf.GetFriendList_C2S.Parser, new[]{ "Start", "Limit" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetFriendList_S2C), global::Protobuf.GetFriendList_S2C.Parser, new[]{ "Errorcode", "Friends", "Total" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetBlockList_C2S), global::Protobuf.GetBlockList_C2S.Parser, new[]{ "Start", "Limit" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetBlockList_S2C), global::Protobuf.GetBlockList_S2C.Parser, new[]{ "Errorcode", "Blocks", "Total" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FindFriend_C2S), global::Protobuf.FindFriend_C2S.Parser, new[]{ "Username" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FindFriend_S2C), global::Protobuf.FindFriend_S2C.Parser, new[]{ "Errorcode", "Friend" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetFriendRequestList_C2S), global::Protobuf.GetFriendRequestList_C2S.Parser, new[]{ "Start", "Limit" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetFriendRequestList_S2C), global::Protobuf.GetFriendRequestList_S2C.Parser, new[]{ "Errorcode", "Friends", "Total" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendRequest_C2S), global::Protobuf.FriendRequest_C2S.Parser, new[]{ "Username" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendRequest_S2C), global::Protobuf.FriendRequest_S2C.Parser, new[]{ "Errorcode" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendDelete_C2S), global::Protobuf.FriendDelete_C2S.Parser, new[]{ "Username" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendDelete_S2C), global::Protobuf.FriendDelete_S2C.Parser, new[]{ "Errorcode", "Username" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendBlock_C2S), global::Protobuf.FriendBlock_C2S.Parser, new[]{ "Username" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendBlock_S2C), global::Protobuf.FriendBlock_S2C.Parser, new[]{ "Errorcode", "Username" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendAdd_C2S), global::Protobuf.FriendAdd_C2S.Parser, new[]{ "Username", "Accept" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendAdd_S2C), global::Protobuf.FriendAdd_S2C.Parser, new[]{ "Errorcode", "Username", "Accept" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendAcceptRequest_C2S), global::Protobuf.FriendAcceptRequest_C2S.Parser, new[]{ "Accept" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FriendAcceptRequest_S2C), global::Protobuf.FriendAcceptRequest_S2C.Parser, new[]{ "Errorcode", "Accept" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetRecommendFriend_C2S), global::Protobuf.GetRecommendFriend_C2S.Parser, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetRecommendFriend_S2C), global::Protobuf.GetRecommendFriend_S2C.Parser, new[]{ "Errorcode", "Friends" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.SetNickName_C2S), global::Protobuf.SetNickName_C2S.Parser, new[]{ "Nickname" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.SetNickName_S2C), global::Protobuf.SetNickName_S2C.Parser, new[]{ "Errorcode", "Nickname", "Gold" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.PushFriendRequest_S2C), global::Protobuf.PushFriendRequest_S2C.Parser, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetStoreItemList_C2S), global::Protobuf.GetStoreItemList_C2S.Parser, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetStoreItemList_S2C), global::Protobuf.GetStoreItemList_S2C.Parser, new[]{ "Errorcode", "Areas" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.BuyStoreItem_C2S), global::Protobuf.BuyStoreItem_C2S.Parser, new[]{ "Storeid" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.BuyStoreItem_S2C), global::Protobuf.BuyStoreItem_S2C.Parser, new[]{ "Errorcode", "Gameorderid", "Curitems", "Storeid", "RefreshTime", "BuyCount", "Boxreward" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetBattlePass_C2S), global::Protobuf.GetBattlePass_C2S.Parser, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.GetBattlePass_S2C), global::Protobuf.GetBattlePass_S2C.Parser, new[]{ "Errorcode", "Level", "Exp", "Expiretime", "Passtimeid", "Vip", "Isopen", "Takenitems" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.BuyBattlePass_C2S), global::Protobuf.BuyBattlePass_C2S.Parser, new[]{ "Type" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.BuyBattlePass_S2C), global::Protobuf.BuyBattlePass_S2C.Parser, new[]{ "Errorcode", "Gameorderid", "Type", "Level", "Exp" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.TakeBattlePassItem_C2S), global::Protobuf.TakeBattlePassItem_C2S.Parser, new[]{ "Itemid" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.TakeBattlePassItem_S2C), global::Protobuf.TakeBattlePassItem_S2C.Parser, new[]{ "Errorcode", "Itemid", "Curitems", "Boxreward" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.BuyBattlePassLevel_C2S), global::Protobuf.BuyBattlePassLevel_C2S.Parser, new[]{ "Level" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.BuyBattlePassLevel_S2C), global::Protobuf.BuyBattlePassLevel_S2C.Parser, new[]{ "Errorcode", "Level", "Exp", "Gold" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.UnLockArenaBox_C2S), global::Protobuf.UnLockArenaBox_C2S.Parser, new[]{ "Pos" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.UnLockArenaBox_S2C), global::Protobuf.UnLockArenaBox_S2C.Parser, new[]{ "Errorcode", "Areabox" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.TakeArenaBox_C2S), global::Protobuf.TakeArenaBox_C2S.Parser, new[]{ "Pos", "Free" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.TakeArenaBox_S2C), global::Protobuf.TakeArenaBox_S2C.Parser, new[]{ "Errorcode", "Pos", "Boxid", "Curitems", "Boxreward" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilySearch_C2S), global::Protobuf.FamilySearch_C2S.Parser, new[]{ "Name", "Start", "Limit" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilySearch_S2C), global::Protobuf.FamilySearch_S2C.Parser, new[]{ "Errorcode", "Familylist", "Total" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyPlayerOnline_S2C), global::Protobuf.FamilyPlayerOnline_S2C.Parser, new[]{ "Username", "Online" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyCreate_C2S), global::Protobuf.FamilyCreate_C2S.Parser, new[]{ "Name", "Desc", "Icons", "FreeJoin", "NeedScore" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyJoin_C2S), global::Protobuf.FamilyJoin_C2S.Parser, new[]{ "Uid" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyJoin_S2C), global::Protobuf.FamilyJoin_S2C.Parser, new[]{ "Errorcode", "Uid" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetChat_C2S), global::Protobuf.FamilyGetChat_C2S.Parser, new[]{ "Start", "Limit" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetChat_S2C), global::Protobuf.FamilyGetChat_S2C.Parser, new[]{ "Errorcode", "Messages", "Total", "OnlineCount" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartChat_C2S), global::Protobuf.FamilyStartChat_C2S.Parser, new[]{ "ChatType", "Content" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartChat_S2C), global::Protobuf.FamilyStartChat_S2C.Parser, new[]{ "Errorcode", "Message" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartDonate_C2S), global::Protobuf.FamilyStartDonate_C2S.Parser, new[]{ "MessageId" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartDonate_S2C), global::Protobuf.FamilyStartDonate_S2C.Parser, new[]{ "Errorcode", "Message" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyQuit_C2S), global::Protobuf.FamilyQuit_C2S.Parser, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyQuit_S2C), global::Protobuf.FamilyQuit_S2C.Parser, new[]{ "Errorcode" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyAgreeJoin_C2S), global::Protobuf.FamilyAgreeJoin_C2S.Parser, new[]{ "MessageId" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyAgreeJoin_S2C), global::Protobuf.FamilyAgreeJoin_S2C.Parser, new[]{ "Errorcode", "NewMember" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyKickUser_C2S), global::Protobuf.FamilyKickUser_C2S.Parser, new[]{ "Username" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyKickUser_S2C), global::Protobuf.FamilyKickUser_S2C.Parser, new[]{ "Errorcode" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyTransLeader_C2S), global::Protobuf.FamilyTransLeader_C2S.Parser, new[]{ "Username" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyTransLeader_S2C), global::Protobuf.FamilyTransLeader_S2C.Parser, new[]{ "Errorcode" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetDonateShop_C2S), global::Protobuf.FamilyGetDonateShop_C2S.Parser, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetDonateShop_S2C), global::Protobuf.FamilyGetDonateShop_S2C.Parser, new[]{ "Errorcode", "Items", "ExpireTime" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyBuyDonateShop_C2S), global::Protobuf.FamilyBuyDonateShop_C2S.Parser, new[]{ "DonateshopId" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyBuyDonateShop_S2C), global::Protobuf.FamilyBuyDonateShop_S2C.Parser, new[]{ "Errorcode", "DonateshopId", "Curitems", "BuyCount" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetScoreShop_C2S), global::Protobuf.FamilyGetScoreShop_C2S.Parser, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetScoreShop_S2C), global::Protobuf.FamilyGetScoreShop_S2C.Parser, new[]{ "Errorcode", "Items", "ExpireTime" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyBuyScoreShop_C2S), global::Protobuf.FamilyBuyScoreShop_C2S.Parser, new[]{ "ScoreshopId" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyBuyScoreShop_S2C), global::Protobuf.FamilyBuyScoreShop_S2C.Parser, new[]{ "Errorcode", "ScoreshopId", "ScoreshopExpired", "FamilyScore", "BuyCount" }, null, null, null)
}));
}
#endregion
}
#region Messages
///
/// 登陆
///
public sealed partial class Login_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Login_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Login_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Login_C2S(Login_C2S other) : this() {
username_ = other.username_;
channel_ = other.channel_;
sessionKey_ = other.sessionKey_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Login_C2S Clone() {
return new Login_C2S(this);
}
/// Field number for the "username" field.
public const int UsernameFieldNumber = 1;
private string username_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Username {
get { return username_; }
set {
username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "channel" field.
public const int ChannelFieldNumber = 2;
private int channel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Channel {
get { return channel_; }
set {
channel_ = value;
}
}
/// Field number for the "sessionKey" field.
public const int SessionKeyFieldNumber = 3;
private string sessionKey_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string SessionKey {
get { return sessionKey_; }
set {
sessionKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Login_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Login_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Username != other.Username) return false;
if (Channel != other.Channel) return false;
if (SessionKey != other.SessionKey) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Username.Length != 0) hash ^= Username.GetHashCode();
if (Channel != 0) hash ^= Channel.GetHashCode();
if (SessionKey.Length != 0) hash ^= SessionKey.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Username.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Username);
}
if (Channel != 0) {
output.WriteRawTag(16);
output.WriteInt32(Channel);
}
if (SessionKey.Length != 0) {
output.WriteRawTag(26);
output.WriteString(SessionKey);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Username.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
}
if (Channel != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Channel);
}
if (SessionKey.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionKey);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Login_C2S other) {
if (other == null) {
return;
}
if (other.Username.Length != 0) {
Username = other.Username;
}
if (other.Channel != 0) {
Channel = other.Channel;
}
if (other.SessionKey.Length != 0) {
SessionKey = other.SessionKey;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Username = input.ReadString();
break;
}
case 16: {
Channel = input.ReadInt32();
break;
}
case 26: {
SessionKey = input.ReadString();
break;
}
}
}
}
}
public sealed partial class Login_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Login_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Login_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Login_S2C(Login_S2C other) : this() {
errorcode_ = other.errorcode_;
Userdata = other.userdata_ != null ? other.Userdata.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Login_S2C Clone() {
return new Login_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "userdata" field.
public const int UserdataFieldNumber = 2;
private global::Protobuf.UserDataMsg userdata_;
///
/// *玩家详细信息
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Protobuf.UserDataMsg Userdata {
get { return userdata_; }
set {
userdata_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Login_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Login_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (!object.Equals(Userdata, other.Userdata)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (userdata_ != null) hash ^= Userdata.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (userdata_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Userdata);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (userdata_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Userdata);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Login_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.userdata_ != null) {
if (userdata_ == null) {
userdata_ = new global::Protobuf.UserDataMsg();
}
Userdata.MergeFrom(other.Userdata);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
if (userdata_ == null) {
userdata_ = new global::Protobuf.UserDataMsg();
}
input.ReadMessage(userdata_);
break;
}
}
}
}
}
///
/// 设置默认编组
///
public sealed partial class SetGemDeckId_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetGemDeckId_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetGemDeckId_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetGemDeckId_C2S(SetGemDeckId_C2S other) : this() {
deckid_ = other.deckid_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetGemDeckId_C2S Clone() {
return new SetGemDeckId_C2S(this);
}
/// Field number for the "deckid" field.
public const int DeckidFieldNumber = 1;
private int deckid_;
///
/// 0,1,2 索引编号
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Deckid {
get { return deckid_; }
set {
deckid_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SetGemDeckId_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SetGemDeckId_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Deckid != other.Deckid) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Deckid != 0) hash ^= Deckid.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Deckid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Deckid);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Deckid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Deckid);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SetGemDeckId_C2S other) {
if (other == null) {
return;
}
if (other.Deckid != 0) {
Deckid = other.Deckid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Deckid = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class SetGemDeckId_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetGemDeckId_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetGemDeckId_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetGemDeckId_S2C(SetGemDeckId_S2C other) : this() {
errorcode_ = other.errorcode_;
deckid_ = other.deckid_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetGemDeckId_S2C Clone() {
return new SetGemDeckId_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "deckid" field.
public const int DeckidFieldNumber = 2;
private int deckid_;
///
/// 0,1,2 索引编号
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Deckid {
get { return deckid_; }
set {
deckid_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SetGemDeckId_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SetGemDeckId_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Deckid != other.Deckid) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Deckid != 0) hash ^= Deckid.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Deckid != 0) {
output.WriteRawTag(16);
output.WriteInt32(Deckid);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Deckid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Deckid);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SetGemDeckId_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Deckid != 0) {
Deckid = other.Deckid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 16: {
Deckid = input.ReadInt32();
break;
}
}
}
}
}
///
/// 宝石编组
///
public sealed partial class MoveGemDeck_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoveGemDeck_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MoveGemDeck_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MoveGemDeck_C2S(MoveGemDeck_C2S other) : this() {
deckid_ = other.deckid_;
slotid_ = other.slotid_;
gemid_ = other.gemid_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MoveGemDeck_C2S Clone() {
return new MoveGemDeck_C2S(this);
}
/// Field number for the "deckid" field.
public const int DeckidFieldNumber = 1;
private int deckid_;
///
/// 0,1,2 索引编号
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Deckid {
get { return deckid_; }
set {
deckid_ = value;
}
}
/// Field number for the "slotid" field.
public const int SlotidFieldNumber = 2;
private int slotid_;
///
/// 0-4之间整数,表示具体的位置
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Slotid {
get { return slotid_; }
set {
slotid_ = value;
}
}
/// Field number for the "gemid" field.
public const int GemidFieldNumber = 3;
private int gemid_;
///
/// *宝石ID
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Gemid {
get { return gemid_; }
set {
gemid_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MoveGemDeck_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(MoveGemDeck_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Deckid != other.Deckid) return false;
if (Slotid != other.Slotid) return false;
if (Gemid != other.Gemid) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Deckid != 0) hash ^= Deckid.GetHashCode();
if (Slotid != 0) hash ^= Slotid.GetHashCode();
if (Gemid != 0) hash ^= Gemid.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Deckid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Deckid);
}
if (Slotid != 0) {
output.WriteRawTag(16);
output.WriteInt32(Slotid);
}
if (Gemid != 0) {
output.WriteRawTag(24);
output.WriteInt32(Gemid);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Deckid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Deckid);
}
if (Slotid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Slotid);
}
if (Gemid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gemid);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(MoveGemDeck_C2S other) {
if (other == null) {
return;
}
if (other.Deckid != 0) {
Deckid = other.Deckid;
}
if (other.Slotid != 0) {
Slotid = other.Slotid;
}
if (other.Gemid != 0) {
Gemid = other.Gemid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Deckid = input.ReadInt32();
break;
}
case 16: {
Slotid = input.ReadInt32();
break;
}
case 24: {
Gemid = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class MoveGemDeck_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoveGemDeck_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[5]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MoveGemDeck_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MoveGemDeck_S2C(MoveGemDeck_S2C other) : this() {
errorcode_ = other.errorcode_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MoveGemDeck_S2C Clone() {
return new MoveGemDeck_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
///
/// 为真表示上阵,false表示下阵
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MoveGemDeck_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(MoveGemDeck_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(MoveGemDeck_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
}
}
}
}
///
/// GM 指令
///
public sealed partial class GMCommand_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GMCommand_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[6]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GMCommand_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GMCommand_C2S(GMCommand_C2S other) : this() {
type_ = other.type_;
cfgid_ = other.cfgid_;
count_ = other.count_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GMCommand_C2S Clone() {
return new GMCommand_C2S(this);
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 1;
private string type_ = "";
///
/// 类型 如money gold gem 等等
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Type {
get { return type_; }
set {
type_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "cfgid" field.
public const int CfgidFieldNumber = 2;
private int cfgid_;
///
/// 配表ID
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Cfgid {
get { return cfgid_; }
set {
cfgid_ = value;
}
}
/// Field number for the "count" field.
public const int CountFieldNumber = 3;
private int count_;
///
/// 增加值
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Count {
get { return count_; }
set {
count_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GMCommand_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GMCommand_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Type != other.Type) return false;
if (Cfgid != other.Cfgid) return false;
if (Count != other.Count) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Type.Length != 0) hash ^= Type.GetHashCode();
if (Cfgid != 0) hash ^= Cfgid.GetHashCode();
if (Count != 0) hash ^= Count.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Type.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Type);
}
if (Cfgid != 0) {
output.WriteRawTag(16);
output.WriteInt32(Cfgid);
}
if (Count != 0) {
output.WriteRawTag(24);
output.WriteInt32(Count);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Type.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Type);
}
if (Cfgid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cfgid);
}
if (Count != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GMCommand_C2S other) {
if (other == null) {
return;
}
if (other.Type.Length != 0) {
Type = other.Type;
}
if (other.Cfgid != 0) {
Cfgid = other.Cfgid;
}
if (other.Count != 0) {
Count = other.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Type = input.ReadString();
break;
}
case 16: {
Cfgid = input.ReadInt32();
break;
}
case 24: {
Count = input.ReadInt32();
break;
}
}
}
}
}
///
/// *
/// 如果type=arenabox 则 cfgid为 boxid,count 为 pos 位置(0-3) param1为过期时间撮 单位秒
///
public sealed partial class GMCommand_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GMCommand_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[7]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GMCommand_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GMCommand_S2C(GMCommand_S2C other) : this() {
errorcode_ = other.errorcode_;
type_ = other.type_;
cfgid_ = other.cfgid_;
count_ = other.count_;
param1_ = other.param1_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GMCommand_S2C Clone() {
return new GMCommand_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 2;
private string type_ = "";
///
/// 类型 如money gold gem 等等
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Type {
get { return type_; }
set {
type_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "cfgid" field.
public const int CfgidFieldNumber = 3;
private int cfgid_;
///
/// 宝石、道具 数据表id
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Cfgid {
get { return cfgid_; }
set {
cfgid_ = value;
}
}
/// Field number for the "count" field.
public const int CountFieldNumber = 4;
private int count_;
///
/// 改变后的最终数量
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Count {
get { return count_; }
set {
count_ = value;
}
}
/// Field number for the "param1" field.
public const int Param1FieldNumber = 5;
private int param1_;
///
/// 额外参数1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Param1 {
get { return param1_; }
set {
param1_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GMCommand_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GMCommand_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Type != other.Type) return false;
if (Cfgid != other.Cfgid) return false;
if (Count != other.Count) return false;
if (Param1 != other.Param1) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Type.Length != 0) hash ^= Type.GetHashCode();
if (Cfgid != 0) hash ^= Cfgid.GetHashCode();
if (Count != 0) hash ^= Count.GetHashCode();
if (Param1 != 0) hash ^= Param1.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Type.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Type);
}
if (Cfgid != 0) {
output.WriteRawTag(24);
output.WriteInt32(Cfgid);
}
if (Count != 0) {
output.WriteRawTag(32);
output.WriteInt32(Count);
}
if (Param1 != 0) {
output.WriteRawTag(40);
output.WriteInt32(Param1);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Type.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Type);
}
if (Cfgid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cfgid);
}
if (Count != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count);
}
if (Param1 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Param1);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GMCommand_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Type.Length != 0) {
Type = other.Type;
}
if (other.Cfgid != 0) {
Cfgid = other.Cfgid;
}
if (other.Count != 0) {
Count = other.Count;
}
if (other.Param1 != 0) {
Param1 = other.Param1;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
Type = input.ReadString();
break;
}
case 24: {
Cfgid = input.ReadInt32();
break;
}
case 32: {
Count = input.ReadInt32();
break;
}
case 40: {
Param1 = input.ReadInt32();
break;
}
}
}
}
}
///
/// *宝石升级
///
public sealed partial class LevelupGem_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LevelupGem_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[8]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LevelupGem_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LevelupGem_C2S(LevelupGem_C2S other) : this() {
gemid_ = other.gemid_;
level_ = other.level_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LevelupGem_C2S Clone() {
return new LevelupGem_C2S(this);
}
/// Field number for the "gemid" field.
public const int GemidFieldNumber = 1;
private int gemid_;
///
/// *宝石ID
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Gemid {
get { return gemid_; }
set {
gemid_ = value;
}
}
/// Field number for the "level" field.
public const int LevelFieldNumber = 2;
private int level_;
///
/// *希望升到的等级
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Level {
get { return level_; }
set {
level_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as LevelupGem_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(LevelupGem_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Gemid != other.Gemid) return false;
if (Level != other.Level) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Gemid != 0) hash ^= Gemid.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Gemid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Gemid);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteInt32(Level);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Gemid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gemid);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(LevelupGem_C2S other) {
if (other == null) {
return;
}
if (other.Gemid != 0) {
Gemid = other.Gemid;
}
if (other.Level != 0) {
Level = other.Level;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Gemid = input.ReadInt32();
break;
}
case 16: {
Level = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class LevelupGem_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LevelupGem_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[9]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LevelupGem_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LevelupGem_S2C(LevelupGem_S2C other) : this() {
errorcode_ = other.errorcode_;
gemid_ = other.gemid_;
level_ = other.level_;
count_ = other.count_;
money_ = other.money_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LevelupGem_S2C Clone() {
return new LevelupGem_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "gemid" field.
public const int GemidFieldNumber = 2;
private int gemid_;
///
/// *宝石ID
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Gemid {
get { return gemid_; }
set {
gemid_ = value;
}
}
/// Field number for the "level" field.
public const int LevelFieldNumber = 3;
private int level_;
///
/// *新的等级
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Level {
get { return level_; }
set {
level_ = value;
}
}
/// Field number for the "count" field.
public const int CountFieldNumber = 4;
private int count_;
///
/// *新的宝石个数
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Count {
get { return count_; }
set {
count_ = value;
}
}
/// Field number for the "money" field.
public const int MoneyFieldNumber = 5;
private int money_;
///
/// 新的金币数
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Money {
get { return money_; }
set {
money_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as LevelupGem_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(LevelupGem_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Gemid != other.Gemid) return false;
if (Level != other.Level) return false;
if (Count != other.Count) return false;
if (Money != other.Money) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Gemid != 0) hash ^= Gemid.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Count != 0) hash ^= Count.GetHashCode();
if (Money != 0) hash ^= Money.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Gemid != 0) {
output.WriteRawTag(16);
output.WriteInt32(Gemid);
}
if (Level != 0) {
output.WriteRawTag(24);
output.WriteInt32(Level);
}
if (Count != 0) {
output.WriteRawTag(32);
output.WriteInt32(Count);
}
if (Money != 0) {
output.WriteRawTag(40);
output.WriteInt32(Money);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Gemid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gemid);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level);
}
if (Count != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count);
}
if (Money != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Money);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(LevelupGem_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Gemid != 0) {
Gemid = other.Gemid;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Count != 0) {
Count = other.Count;
}
if (other.Money != 0) {
Money = other.Money;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 16: {
Gemid = input.ReadInt32();
break;
}
case 24: {
Level = input.ReadInt32();
break;
}
case 32: {
Count = input.ReadInt32();
break;
}
case 40: {
Money = input.ReadInt32();
break;
}
}
}
}
}
///
/// 获取好友列表
///
public sealed partial class GetFriendList_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendList_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[10]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendList_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendList_C2S(GetFriendList_C2S other) : this() {
start_ = other.start_;
limit_ = other.limit_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendList_C2S Clone() {
return new GetFriendList_C2S(this);
}
/// Field number for the "start" field.
public const int StartFieldNumber = 1;
private int start_;
///
/// int32 errorcode = 1;
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Start {
get { return start_; }
set {
start_ = value;
}
}
/// Field number for the "limit" field.
public const int LimitFieldNumber = 2;
private int limit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Limit {
get { return limit_; }
set {
limit_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetFriendList_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetFriendList_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Start != other.Start) return false;
if (Limit != other.Limit) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Start != 0) hash ^= Start.GetHashCode();
if (Limit != 0) hash ^= Limit.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Start != 0) {
output.WriteRawTag(8);
output.WriteInt32(Start);
}
if (Limit != 0) {
output.WriteRawTag(16);
output.WriteInt32(Limit);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Start != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
}
if (Limit != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetFriendList_C2S other) {
if (other == null) {
return;
}
if (other.Start != 0) {
Start = other.Start;
}
if (other.Limit != 0) {
Limit = other.Limit;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Start = input.ReadInt32();
break;
}
case 16: {
Limit = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class GetFriendList_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendList_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[11]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendList_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendList_S2C(GetFriendList_S2C other) : this() {
errorcode_ = other.errorcode_;
friends_ = other.friends_.Clone();
total_ = other.total_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendList_S2C Clone() {
return new GetFriendList_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "friends" field.
public const int FriendsFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_friends_codec
= pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser);
private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField();
///
/// 好友
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Friends {
get { return friends_; }
}
/// Field number for the "total" field.
public const int TotalFieldNumber = 3;
private int total_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Total {
get { return total_; }
set {
total_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetFriendList_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetFriendList_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if(!friends_.Equals(other.friends_)) return false;
if (Total != other.Total) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
hash ^= friends_.GetHashCode();
if (Total != 0) hash ^= Total.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
friends_.WriteTo(output, _repeated_friends_codec);
if (Total != 0) {
output.WriteRawTag(24);
output.WriteInt32(Total);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
size += friends_.CalculateSize(_repeated_friends_codec);
if (Total != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetFriendList_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
friends_.Add(other.friends_);
if (other.Total != 0) {
Total = other.Total;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
friends_.AddEntriesFrom(input, _repeated_friends_codec);
break;
}
case 24: {
Total = input.ReadInt32();
break;
}
}
}
}
}
///
/// 获取黑名单列表
///
public sealed partial class GetBlockList_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockList_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[12]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBlockList_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBlockList_C2S(GetBlockList_C2S other) : this() {
start_ = other.start_;
limit_ = other.limit_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBlockList_C2S Clone() {
return new GetBlockList_C2S(this);
}
/// Field number for the "start" field.
public const int StartFieldNumber = 1;
private int start_;
///
/// int32 errorcode = 1;
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Start {
get { return start_; }
set {
start_ = value;
}
}
/// Field number for the "limit" field.
public const int LimitFieldNumber = 2;
private int limit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Limit {
get { return limit_; }
set {
limit_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetBlockList_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetBlockList_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Start != other.Start) return false;
if (Limit != other.Limit) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Start != 0) hash ^= Start.GetHashCode();
if (Limit != 0) hash ^= Limit.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Start != 0) {
output.WriteRawTag(8);
output.WriteInt32(Start);
}
if (Limit != 0) {
output.WriteRawTag(16);
output.WriteInt32(Limit);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Start != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
}
if (Limit != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetBlockList_C2S other) {
if (other == null) {
return;
}
if (other.Start != 0) {
Start = other.Start;
}
if (other.Limit != 0) {
Limit = other.Limit;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Start = input.ReadInt32();
break;
}
case 16: {
Limit = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class GetBlockList_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockList_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[13]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBlockList_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBlockList_S2C(GetBlockList_S2C other) : this() {
errorcode_ = other.errorcode_;
blocks_ = other.blocks_.Clone();
total_ = other.total_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBlockList_S2C Clone() {
return new GetBlockList_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "blocks" field.
public const int BlocksFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_blocks_codec
= pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser);
private readonly pbc::RepeatedField blocks_ = new pbc::RepeatedField();
///
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Blocks {
get { return blocks_; }
}
/// Field number for the "total" field.
public const int TotalFieldNumber = 3;
private int total_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Total {
get { return total_; }
set {
total_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetBlockList_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetBlockList_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if(!blocks_.Equals(other.blocks_)) return false;
if (Total != other.Total) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
hash ^= blocks_.GetHashCode();
if (Total != 0) hash ^= Total.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
blocks_.WriteTo(output, _repeated_blocks_codec);
if (Total != 0) {
output.WriteRawTag(24);
output.WriteInt32(Total);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
size += blocks_.CalculateSize(_repeated_blocks_codec);
if (Total != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetBlockList_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
blocks_.Add(other.blocks_);
if (other.Total != 0) {
Total = other.Total;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
blocks_.AddEntriesFrom(input, _repeated_blocks_codec);
break;
}
case 24: {
Total = input.ReadInt32();
break;
}
}
}
}
}
///
/// 查找好友
///
public sealed partial class FindFriend_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FindFriend_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[14]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FindFriend_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FindFriend_C2S(FindFriend_C2S other) : this() {
username_ = other.username_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FindFriend_C2S Clone() {
return new FindFriend_C2S(this);
}
/// Field number for the "username" field.
public const int UsernameFieldNumber = 1;
private string username_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Username {
get { return username_; }
set {
username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FindFriend_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FindFriend_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Username != other.Username) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Username.Length != 0) hash ^= Username.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Username.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Username);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Username.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FindFriend_C2S other) {
if (other == null) {
return;
}
if (other.Username.Length != 0) {
Username = other.Username;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Username = input.ReadString();
break;
}
}
}
}
}
public sealed partial class FindFriend_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FindFriend_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[15]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FindFriend_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FindFriend_S2C(FindFriend_S2C other) : this() {
errorcode_ = other.errorcode_;
Friend = other.friend_ != null ? other.Friend.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FindFriend_S2C Clone() {
return new FindFriend_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "friend" field.
public const int FriendFieldNumber = 2;
private global::Protobuf.FriendMsg friend_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Protobuf.FriendMsg Friend {
get { return friend_; }
set {
friend_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FindFriend_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FindFriend_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (!object.Equals(Friend, other.Friend)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (friend_ != null) hash ^= Friend.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (friend_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Friend);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (friend_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Friend);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FindFriend_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.friend_ != null) {
if (friend_ == null) {
friend_ = new global::Protobuf.FriendMsg();
}
Friend.MergeFrom(other.Friend);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
if (friend_ == null) {
friend_ = new global::Protobuf.FriendMsg();
}
input.ReadMessage(friend_);
break;
}
}
}
}
}
///
/// 获取好友请求列表
///
public sealed partial class GetFriendRequestList_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendRequestList_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[16]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendRequestList_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendRequestList_C2S(GetFriendRequestList_C2S other) : this() {
start_ = other.start_;
limit_ = other.limit_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendRequestList_C2S Clone() {
return new GetFriendRequestList_C2S(this);
}
/// Field number for the "start" field.
public const int StartFieldNumber = 1;
private int start_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Start {
get { return start_; }
set {
start_ = value;
}
}
/// Field number for the "limit" field.
public const int LimitFieldNumber = 2;
private int limit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Limit {
get { return limit_; }
set {
limit_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetFriendRequestList_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetFriendRequestList_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Start != other.Start) return false;
if (Limit != other.Limit) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Start != 0) hash ^= Start.GetHashCode();
if (Limit != 0) hash ^= Limit.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Start != 0) {
output.WriteRawTag(8);
output.WriteInt32(Start);
}
if (Limit != 0) {
output.WriteRawTag(16);
output.WriteInt32(Limit);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Start != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
}
if (Limit != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetFriendRequestList_C2S other) {
if (other == null) {
return;
}
if (other.Start != 0) {
Start = other.Start;
}
if (other.Limit != 0) {
Limit = other.Limit;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Start = input.ReadInt32();
break;
}
case 16: {
Limit = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class GetFriendRequestList_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendRequestList_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[17]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendRequestList_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendRequestList_S2C(GetFriendRequestList_S2C other) : this() {
errorcode_ = other.errorcode_;
friends_ = other.friends_.Clone();
total_ = other.total_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetFriendRequestList_S2C Clone() {
return new GetFriendRequestList_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "friends" field.
public const int FriendsFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_friends_codec
= pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser);
private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField();
///
/// 好友
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Friends {
get { return friends_; }
}
/// Field number for the "total" field.
public const int TotalFieldNumber = 3;
private int total_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Total {
get { return total_; }
set {
total_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetFriendRequestList_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetFriendRequestList_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if(!friends_.Equals(other.friends_)) return false;
if (Total != other.Total) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
hash ^= friends_.GetHashCode();
if (Total != 0) hash ^= Total.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
friends_.WriteTo(output, _repeated_friends_codec);
if (Total != 0) {
output.WriteRawTag(24);
output.WriteInt32(Total);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
size += friends_.CalculateSize(_repeated_friends_codec);
if (Total != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetFriendRequestList_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
friends_.Add(other.friends_);
if (other.Total != 0) {
Total = other.Total;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
friends_.AddEntriesFrom(input, _repeated_friends_codec);
break;
}
case 24: {
Total = input.ReadInt32();
break;
}
}
}
}
}
///
/// 请求添加好友
///
public sealed partial class FriendRequest_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendRequest_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[18]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendRequest_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendRequest_C2S(FriendRequest_C2S other) : this() {
username_ = other.username_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendRequest_C2S Clone() {
return new FriendRequest_C2S(this);
}
/// Field number for the "username" field.
public const int UsernameFieldNumber = 1;
private string username_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Username {
get { return username_; }
set {
username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendRequest_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendRequest_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Username != other.Username) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Username.Length != 0) hash ^= Username.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Username.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Username);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Username.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendRequest_C2S other) {
if (other == null) {
return;
}
if (other.Username.Length != 0) {
Username = other.Username;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Username = input.ReadString();
break;
}
}
}
}
}
public sealed partial class FriendRequest_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendRequest_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[19]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendRequest_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendRequest_S2C(FriendRequest_S2C other) : this() {
errorcode_ = other.errorcode_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendRequest_S2C Clone() {
return new FriendRequest_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendRequest_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendRequest_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendRequest_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
}
}
}
}
///
/// 删除好友
///
public sealed partial class FriendDelete_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendDelete_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[20]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendDelete_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendDelete_C2S(FriendDelete_C2S other) : this() {
username_ = other.username_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendDelete_C2S Clone() {
return new FriendDelete_C2S(this);
}
/// Field number for the "username" field.
public const int UsernameFieldNumber = 1;
private string username_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Username {
get { return username_; }
set {
username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendDelete_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendDelete_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Username != other.Username) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Username.Length != 0) hash ^= Username.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Username.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Username);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Username.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendDelete_C2S other) {
if (other == null) {
return;
}
if (other.Username.Length != 0) {
Username = other.Username;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Username = input.ReadString();
break;
}
}
}
}
}
public sealed partial class FriendDelete_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendDelete_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[21]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendDelete_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendDelete_S2C(FriendDelete_S2C other) : this() {
errorcode_ = other.errorcode_;
username_ = other.username_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendDelete_S2C Clone() {
return new FriendDelete_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "username" field.
public const int UsernameFieldNumber = 2;
private string username_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Username {
get { return username_; }
set {
username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendDelete_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendDelete_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Username != other.Username) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Username.Length != 0) hash ^= Username.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Username.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Username);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Username.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendDelete_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Username.Length != 0) {
Username = other.Username;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
Username = input.ReadString();
break;
}
}
}
}
}
///
/// 加入黑名单
///
public sealed partial class FriendBlock_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendBlock_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[22]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendBlock_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendBlock_C2S(FriendBlock_C2S other) : this() {
username_ = other.username_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendBlock_C2S Clone() {
return new FriendBlock_C2S(this);
}
/// Field number for the "username" field.
public const int UsernameFieldNumber = 1;
private string username_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Username {
get { return username_; }
set {
username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendBlock_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendBlock_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Username != other.Username) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Username.Length != 0) hash ^= Username.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Username.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Username);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Username.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendBlock_C2S other) {
if (other == null) {
return;
}
if (other.Username.Length != 0) {
Username = other.Username;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Username = input.ReadString();
break;
}
}
}
}
}
public sealed partial class FriendBlock_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendBlock_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[23]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendBlock_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendBlock_S2C(FriendBlock_S2C other) : this() {
errorcode_ = other.errorcode_;
username_ = other.username_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendBlock_S2C Clone() {
return new FriendBlock_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "username" field.
public const int UsernameFieldNumber = 2;
private string username_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Username {
get { return username_; }
set {
username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendBlock_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendBlock_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Username != other.Username) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Username.Length != 0) hash ^= Username.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Username.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Username);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Username.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendBlock_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Username.Length != 0) {
Username = other.Username;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
Username = input.ReadString();
break;
}
}
}
}
}
///
/// 同意加入好友
///
public sealed partial class FriendAdd_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAdd_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[24]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAdd_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAdd_C2S(FriendAdd_C2S other) : this() {
username_ = other.username_;
accept_ = other.accept_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAdd_C2S Clone() {
return new FriendAdd_C2S(this);
}
/// Field number for the "username" field.
public const int UsernameFieldNumber = 1;
private string username_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Username {
get { return username_; }
set {
username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "accept" field.
public const int AcceptFieldNumber = 2;
private bool accept_;
///
/// true 表示接受,false 表示不同意
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Accept {
get { return accept_; }
set {
accept_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendAdd_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendAdd_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Username != other.Username) return false;
if (Accept != other.Accept) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Username.Length != 0) hash ^= Username.GetHashCode();
if (Accept != false) hash ^= Accept.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Username.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Username);
}
if (Accept != false) {
output.WriteRawTag(16);
output.WriteBool(Accept);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Username.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
}
if (Accept != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendAdd_C2S other) {
if (other == null) {
return;
}
if (other.Username.Length != 0) {
Username = other.Username;
}
if (other.Accept != false) {
Accept = other.Accept;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Username = input.ReadString();
break;
}
case 16: {
Accept = input.ReadBool();
break;
}
}
}
}
}
public sealed partial class FriendAdd_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAdd_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[25]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAdd_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAdd_S2C(FriendAdd_S2C other) : this() {
errorcode_ = other.errorcode_;
username_ = other.username_;
accept_ = other.accept_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAdd_S2C Clone() {
return new FriendAdd_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "username" field.
public const int UsernameFieldNumber = 2;
private string username_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Username {
get { return username_; }
set {
username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "accept" field.
public const int AcceptFieldNumber = 3;
private bool accept_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Accept {
get { return accept_; }
set {
accept_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendAdd_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendAdd_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Username != other.Username) return false;
if (Accept != other.Accept) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Username.Length != 0) hash ^= Username.GetHashCode();
if (Accept != false) hash ^= Accept.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Username.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Username);
}
if (Accept != false) {
output.WriteRawTag(24);
output.WriteBool(Accept);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Username.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
}
if (Accept != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendAdd_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Username.Length != 0) {
Username = other.Username;
}
if (other.Accept != false) {
Accept = other.Accept;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
Username = input.ReadString();
break;
}
case 24: {
Accept = input.ReadBool();
break;
}
}
}
}
}
///
/// 是否接受好友申请
///
public sealed partial class FriendAcceptRequest_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAcceptRequest_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[26]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAcceptRequest_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAcceptRequest_C2S(FriendAcceptRequest_C2S other) : this() {
accept_ = other.accept_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAcceptRequest_C2S Clone() {
return new FriendAcceptRequest_C2S(this);
}
/// Field number for the "accept" field.
public const int AcceptFieldNumber = 1;
private bool accept_;
///
/// true表示接受,否则不接受
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Accept {
get { return accept_; }
set {
accept_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendAcceptRequest_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendAcceptRequest_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Accept != other.Accept) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Accept != false) hash ^= Accept.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Accept != false) {
output.WriteRawTag(8);
output.WriteBool(Accept);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Accept != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendAcceptRequest_C2S other) {
if (other == null) {
return;
}
if (other.Accept != false) {
Accept = other.Accept;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Accept = input.ReadBool();
break;
}
}
}
}
}
public sealed partial class FriendAcceptRequest_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAcceptRequest_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[27]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAcceptRequest_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAcceptRequest_S2C(FriendAcceptRequest_S2C other) : this() {
errorcode_ = other.errorcode_;
accept_ = other.accept_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FriendAcceptRequest_S2C Clone() {
return new FriendAcceptRequest_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "accept" field.
public const int AcceptFieldNumber = 2;
private bool accept_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Accept {
get { return accept_; }
set {
accept_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FriendAcceptRequest_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FriendAcceptRequest_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Accept != other.Accept) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Accept != false) hash ^= Accept.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Accept != false) {
output.WriteRawTag(16);
output.WriteBool(Accept);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Accept != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FriendAcceptRequest_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Accept != false) {
Accept = other.Accept;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 16: {
Accept = input.ReadBool();
break;
}
}
}
}
}
///
/// 获取推荐好友
///
public sealed partial class GetRecommendFriend_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetRecommendFriend_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[28]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetRecommendFriend_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetRecommendFriend_C2S(GetRecommendFriend_C2S other) : this() {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetRecommendFriend_C2S Clone() {
return new GetRecommendFriend_C2S(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetRecommendFriend_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetRecommendFriend_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetRecommendFriend_C2S other) {
if (other == null) {
return;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
}
}
}
}
public sealed partial class GetRecommendFriend_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetRecommendFriend_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[29]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetRecommendFriend_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetRecommendFriend_S2C(GetRecommendFriend_S2C other) : this() {
errorcode_ = other.errorcode_;
friends_ = other.friends_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetRecommendFriend_S2C Clone() {
return new GetRecommendFriend_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "friends" field.
public const int FriendsFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_friends_codec
= pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser);
private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Friends {
get { return friends_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetRecommendFriend_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetRecommendFriend_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if(!friends_.Equals(other.friends_)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
hash ^= friends_.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
friends_.WriteTo(output, _repeated_friends_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
size += friends_.CalculateSize(_repeated_friends_codec);
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetRecommendFriend_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
friends_.Add(other.friends_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
friends_.AddEntriesFrom(input, _repeated_friends_codec);
break;
}
}
}
}
}
///
/// !修改昵称
///
public sealed partial class SetNickName_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetNickName_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[30]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetNickName_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetNickName_C2S(SetNickName_C2S other) : this() {
nickname_ = other.nickname_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetNickName_C2S Clone() {
return new SetNickName_C2S(this);
}
/// Field number for the "nickname" field.
public const int NicknameFieldNumber = 1;
private string nickname_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Nickname {
get { return nickname_; }
set {
nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SetNickName_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SetNickName_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Nickname != other.Nickname) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Nickname.Length != 0) hash ^= Nickname.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Nickname.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Nickname);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Nickname.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SetNickName_C2S other) {
if (other == null) {
return;
}
if (other.Nickname.Length != 0) {
Nickname = other.Nickname;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Nickname = input.ReadString();
break;
}
}
}
}
}
public sealed partial class SetNickName_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetNickName_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[31]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetNickName_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetNickName_S2C(SetNickName_S2C other) : this() {
errorcode_ = other.errorcode_;
nickname_ = other.nickname_;
gold_ = other.gold_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetNickName_S2C Clone() {
return new SetNickName_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "nickname" field.
public const int NicknameFieldNumber = 2;
private string nickname_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Nickname {
get { return nickname_; }
set {
nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "gold" field.
public const int GoldFieldNumber = 3;
private int gold_;
///
/// !最终钻石数
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Gold {
get { return gold_; }
set {
gold_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SetNickName_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SetNickName_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Nickname != other.Nickname) return false;
if (Gold != other.Gold) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Nickname.Length != 0) hash ^= Nickname.GetHashCode();
if (Gold != 0) hash ^= Gold.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Nickname.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Nickname);
}
if (Gold != 0) {
output.WriteRawTag(24);
output.WriteInt32(Gold);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Nickname.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname);
}
if (Gold != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gold);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SetNickName_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Nickname.Length != 0) {
Nickname = other.Nickname;
}
if (other.Gold != 0) {
Gold = other.Gold;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
Nickname = input.ReadString();
break;
}
case 24: {
Gold = input.ReadInt32();
break;
}
}
}
}
}
///
/// !服务器推送,收到好友申请事件
///
public sealed partial class PushFriendRequest_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PushFriendRequest_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[32]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PushFriendRequest_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PushFriendRequest_S2C(PushFriendRequest_S2C other) : this() {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PushFriendRequest_S2C Clone() {
return new PushFriendRequest_S2C(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as PushFriendRequest_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(PushFriendRequest_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(PushFriendRequest_S2C other) {
if (other == null) {
return;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
}
}
}
}
///
/// 获取商城列表
/// 仅返回限时商城分区的商品
///
public sealed partial class GetStoreItemList_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStoreItemList_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[33]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStoreItemList_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStoreItemList_C2S(GetStoreItemList_C2S other) : this() {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStoreItemList_C2S Clone() {
return new GetStoreItemList_C2S(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetStoreItemList_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetStoreItemList_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetStoreItemList_C2S other) {
if (other == null) {
return;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
}
}
}
}
public sealed partial class GetStoreItemList_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStoreItemList_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[34]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStoreItemList_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStoreItemList_S2C(GetStoreItemList_S2C other) : this() {
errorcode_ = other.errorcode_;
areas_ = other.areas_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStoreItemList_S2C Clone() {
return new GetStoreItemList_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "areas" field.
public const int AreasFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_areas_codec
= pb::FieldCodec.ForMessage(18, global::Protobuf.StoreAreaMsg.Parser);
private readonly pbc::RepeatedField areas_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Areas {
get { return areas_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetStoreItemList_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetStoreItemList_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if(!areas_.Equals(other.areas_)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
hash ^= areas_.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
areas_.WriteTo(output, _repeated_areas_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
size += areas_.CalculateSize(_repeated_areas_codec);
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetStoreItemList_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
areas_.Add(other.areas_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
areas_.AddEntriesFrom(input, _repeated_areas_codec);
break;
}
}
}
}
}
///
/// 1.金币和钻石购买比较简单,直接检测数量,并返回是否购买成功消息
/// 2.rmb内购比较复杂,返回的是游戏订单(gameorderid),客户端使用该订单号和内购信息,去拉起支付,支付成功后渠道会调用支付回调,login服务器会通知游戏服发货。
/// BuyStoreItem_S2C 有可能是玩家上线的时候推送,因为玩家支付完毕后下线了
/// 3.gm内购是个特例,直接返回奖励
///
public sealed partial class BuyStoreItem_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyStoreItem_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[35]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyStoreItem_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyStoreItem_C2S(BuyStoreItem_C2S other) : this() {
storeid_ = other.storeid_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyStoreItem_C2S Clone() {
return new BuyStoreItem_C2S(this);
}
/// Field number for the "storeid" field.
public const int StoreidFieldNumber = 1;
private int storeid_;
///
/// ! 商品表里面的id
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Storeid {
get { return storeid_; }
set {
storeid_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BuyStoreItem_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BuyStoreItem_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Storeid != other.Storeid) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Storeid != 0) hash ^= Storeid.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Storeid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Storeid);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Storeid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Storeid);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BuyStoreItem_C2S other) {
if (other == null) {
return;
}
if (other.Storeid != 0) {
Storeid = other.Storeid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Storeid = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class BuyStoreItem_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyStoreItem_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[36]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyStoreItem_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyStoreItem_S2C(BuyStoreItem_S2C other) : this() {
errorcode_ = other.errorcode_;
gameorderid_ = other.gameorderid_;
curitems_ = other.curitems_.Clone();
storeid_ = other.storeid_;
refreshTime_ = other.refreshTime_;
buyCount_ = other.buyCount_;
boxreward_ = other.boxreward_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyStoreItem_S2C Clone() {
return new BuyStoreItem_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "gameorderid" field.
public const int GameorderidFieldNumber = 2;
private string gameorderid_ = "";
///
/// !内购的时候才返回的订单号
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Gameorderid {
get { return gameorderid_; }
set {
gameorderid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "curitems" field.
public const int CuritemsFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_curitems_codec
= pb::FieldCodec.ForMessage(26, global::Protobuf.RewardItemMsg.Parser);
private readonly pbc::RepeatedField curitems_ = new pbc::RepeatedField();
///
/// 消费后的当前值
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Curitems {
get { return curitems_; }
}
/// Field number for the "storeid" field.
public const int StoreidFieldNumber = 4;
private int storeid_;
///
/// ! 商品表里面的id
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Storeid {
get { return storeid_; }
set {
storeid_ = value;
}
}
/// Field number for the "refreshTime" field.
public const int RefreshTimeFieldNumber = 5;
private int refreshTime_;
///
/// 一下消息是限时商品用到的
/// UNIX时间戳,单位秒。如果为0-不显示刷新,否则表示在指定的时刻刷新.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int RefreshTime {
get { return refreshTime_; }
set {
refreshTime_ = value;
}
}
/// Field number for the "buyCount" field.
public const int BuyCountFieldNumber = 6;
private int buyCount_;
///
/// 如果是限时大区,表示购买个数,
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int BuyCount {
get { return buyCount_; }
set {
buyCount_ = value;
}
}
/// Field number for the "boxreward" field.
public const int BoxrewardFieldNumber = 7;
private static readonly pb::FieldCodec _repeated_boxreward_codec
= pb::FieldCodec.ForMessage(58, global::Protobuf.RewardItemMsg.Parser);
private readonly pbc::RepeatedField boxreward_ = new pbc::RepeatedField();
///
/// !如果有宝箱,表示宝箱掉落的wup
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Boxreward {
get { return boxreward_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BuyStoreItem_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BuyStoreItem_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Gameorderid != other.Gameorderid) return false;
if(!curitems_.Equals(other.curitems_)) return false;
if (Storeid != other.Storeid) return false;
if (RefreshTime != other.RefreshTime) return false;
if (BuyCount != other.BuyCount) return false;
if(!boxreward_.Equals(other.boxreward_)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Gameorderid.Length != 0) hash ^= Gameorderid.GetHashCode();
hash ^= curitems_.GetHashCode();
if (Storeid != 0) hash ^= Storeid.GetHashCode();
if (RefreshTime != 0) hash ^= RefreshTime.GetHashCode();
if (BuyCount != 0) hash ^= BuyCount.GetHashCode();
hash ^= boxreward_.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Gameorderid.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Gameorderid);
}
curitems_.WriteTo(output, _repeated_curitems_codec);
if (Storeid != 0) {
output.WriteRawTag(32);
output.WriteInt32(Storeid);
}
if (RefreshTime != 0) {
output.WriteRawTag(40);
output.WriteInt32(RefreshTime);
}
if (BuyCount != 0) {
output.WriteRawTag(48);
output.WriteInt32(BuyCount);
}
boxreward_.WriteTo(output, _repeated_boxreward_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Gameorderid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Gameorderid);
}
size += curitems_.CalculateSize(_repeated_curitems_codec);
if (Storeid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Storeid);
}
if (RefreshTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshTime);
}
if (BuyCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuyCount);
}
size += boxreward_.CalculateSize(_repeated_boxreward_codec);
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BuyStoreItem_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Gameorderid.Length != 0) {
Gameorderid = other.Gameorderid;
}
curitems_.Add(other.curitems_);
if (other.Storeid != 0) {
Storeid = other.Storeid;
}
if (other.RefreshTime != 0) {
RefreshTime = other.RefreshTime;
}
if (other.BuyCount != 0) {
BuyCount = other.BuyCount;
}
boxreward_.Add(other.boxreward_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
Gameorderid = input.ReadString();
break;
}
case 26: {
curitems_.AddEntriesFrom(input, _repeated_curitems_codec);
break;
}
case 32: {
Storeid = input.ReadInt32();
break;
}
case 40: {
RefreshTime = input.ReadInt32();
break;
}
case 48: {
BuyCount = input.ReadInt32();
break;
}
case 58: {
boxreward_.AddEntriesFrom(input, _repeated_boxreward_codec);
break;
}
}
}
}
}
///
/// 通行证
/// ! 获取通行证信息
///
public sealed partial class GetBattlePass_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBattlePass_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[37]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBattlePass_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBattlePass_C2S(GetBattlePass_C2S other) : this() {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBattlePass_C2S Clone() {
return new GetBattlePass_C2S(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetBattlePass_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetBattlePass_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetBattlePass_C2S other) {
if (other == null) {
return;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
}
}
}
}
public sealed partial class GetBattlePass_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBattlePass_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[38]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBattlePass_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBattlePass_S2C(GetBattlePass_S2C other) : this() {
errorcode_ = other.errorcode_;
level_ = other.level_;
exp_ = other.exp_;
expiretime_ = other.expiretime_;
passtimeid_ = other.passtimeid_;
vip_ = other.vip_;
isopen_ = other.isopen_;
takenitems_ = other.takenitems_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBattlePass_S2C Clone() {
return new GetBattlePass_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "level" field.
public const int LevelFieldNumber = 2;
private int level_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Level {
get { return level_; }
set {
level_ = value;
}
}
/// Field number for the "exp" field.
public const int ExpFieldNumber = 3;
private int exp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Exp {
get { return exp_; }
set {
exp_ = value;
}
}
/// Field number for the "expiretime" field.
public const int ExpiretimeFieldNumber = 4;
private int expiretime_;
///
/// !通行证过期时间戳
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Expiretime {
get { return expiretime_; }
set {
expiretime_ = value;
}
}
/// Field number for the "passtimeid" field.
public const int PasstimeidFieldNumber = 5;
private int passtimeid_;
///
/// 通行证赛季id @see battlepasstime,如果为0表示没有开启
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Passtimeid {
get { return passtimeid_; }
set {
passtimeid_ = value;
}
}
/// Field number for the "vip" field.
public const int VipFieldNumber = 6;
private bool vip_;
///
/// !是否是至尊通行证,true 表示是
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Vip {
get { return vip_; }
set {
vip_ = value;
}
}
/// Field number for the "isopen" field.
public const int IsopenFieldNumber = 7;
private bool isopen_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Isopen {
get { return isopen_; }
set {
isopen_ = value;
}
}
/// Field number for the "takenitems" field.
public const int TakenitemsFieldNumber = 8;
private static readonly pb::FieldCodec _repeated_takenitems_codec
= pb::FieldCodec.ForInt32(66);
private readonly pbc::RepeatedField takenitems_ = new pbc::RepeatedField();
///
/// ! 已经领取的id列表
/// @see battlepassaward 表的ID
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Takenitems {
get { return takenitems_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetBattlePass_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetBattlePass_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Level != other.Level) return false;
if (Exp != other.Exp) return false;
if (Expiretime != other.Expiretime) return false;
if (Passtimeid != other.Passtimeid) return false;
if (Vip != other.Vip) return false;
if (Isopen != other.Isopen) return false;
if(!takenitems_.Equals(other.takenitems_)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Exp != 0) hash ^= Exp.GetHashCode();
if (Expiretime != 0) hash ^= Expiretime.GetHashCode();
if (Passtimeid != 0) hash ^= Passtimeid.GetHashCode();
if (Vip != false) hash ^= Vip.GetHashCode();
if (Isopen != false) hash ^= Isopen.GetHashCode();
hash ^= takenitems_.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteInt32(Level);
}
if (Exp != 0) {
output.WriteRawTag(24);
output.WriteInt32(Exp);
}
if (Expiretime != 0) {
output.WriteRawTag(32);
output.WriteInt32(Expiretime);
}
if (Passtimeid != 0) {
output.WriteRawTag(40);
output.WriteInt32(Passtimeid);
}
if (Vip != false) {
output.WriteRawTag(48);
output.WriteBool(Vip);
}
if (Isopen != false) {
output.WriteRawTag(56);
output.WriteBool(Isopen);
}
takenitems_.WriteTo(output, _repeated_takenitems_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level);
}
if (Exp != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp);
}
if (Expiretime != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Expiretime);
}
if (Passtimeid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Passtimeid);
}
if (Vip != false) {
size += 1 + 1;
}
if (Isopen != false) {
size += 1 + 1;
}
size += takenitems_.CalculateSize(_repeated_takenitems_codec);
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetBattlePass_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Exp != 0) {
Exp = other.Exp;
}
if (other.Expiretime != 0) {
Expiretime = other.Expiretime;
}
if (other.Passtimeid != 0) {
Passtimeid = other.Passtimeid;
}
if (other.Vip != false) {
Vip = other.Vip;
}
if (other.Isopen != false) {
Isopen = other.Isopen;
}
takenitems_.Add(other.takenitems_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 16: {
Level = input.ReadInt32();
break;
}
case 24: {
Exp = input.ReadInt32();
break;
}
case 32: {
Expiretime = input.ReadInt32();
break;
}
case 40: {
Passtimeid = input.ReadInt32();
break;
}
case 48: {
Vip = input.ReadBool();
break;
}
case 56: {
Isopen = input.ReadBool();
break;
}
case 66:
case 64: {
takenitems_.AddEntriesFrom(input, _repeated_takenitems_codec);
break;
}
}
}
}
}
///
/// 和内购一样,如果是RMB类型,需要渠道返回确认信息。所有返回的结果有可能是玩家下线后上线时,推送
/// 如果是赛季间隔期,不能购买
///
public sealed partial class BuyBattlePass_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyBattlePass_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[39]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePass_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePass_C2S(BuyBattlePass_C2S other) : this() {
type_ = other.type_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePass_C2S Clone() {
return new BuyBattlePass_C2S(this);
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 1;
private int type_;
///
/// 0-普通购买,1-高级购买附带等级
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Type {
get { return type_; }
set {
type_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BuyBattlePass_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BuyBattlePass_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Type != other.Type) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Type != 0) hash ^= Type.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Type != 0) {
output.WriteRawTag(8);
output.WriteInt32(Type);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Type != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BuyBattlePass_C2S other) {
if (other == null) {
return;
}
if (other.Type != 0) {
Type = other.Type;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Type = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class BuyBattlePass_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyBattlePass_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[40]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePass_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePass_S2C(BuyBattlePass_S2C other) : this() {
errorcode_ = other.errorcode_;
gameorderid_ = other.gameorderid_;
type_ = other.type_;
level_ = other.level_;
exp_ = other.exp_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePass_S2C Clone() {
return new BuyBattlePass_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "gameorderid" field.
public const int GameorderidFieldNumber = 2;
private string gameorderid_ = "";
///
/// !内购的时候才返回的订单号
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Gameorderid {
get { return gameorderid_; }
set {
gameorderid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 3;
private int type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Type {
get { return type_; }
set {
type_ = value;
}
}
/// Field number for the "level" field.
public const int LevelFieldNumber = 4;
private int level_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Level {
get { return level_; }
set {
level_ = value;
}
}
/// Field number for the "exp" field.
public const int ExpFieldNumber = 5;
private int exp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Exp {
get { return exp_; }
set {
exp_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BuyBattlePass_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BuyBattlePass_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Gameorderid != other.Gameorderid) return false;
if (Type != other.Type) return false;
if (Level != other.Level) return false;
if (Exp != other.Exp) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Gameorderid.Length != 0) hash ^= Gameorderid.GetHashCode();
if (Type != 0) hash ^= Type.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Exp != 0) hash ^= Exp.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Gameorderid.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Gameorderid);
}
if (Type != 0) {
output.WriteRawTag(24);
output.WriteInt32(Type);
}
if (Level != 0) {
output.WriteRawTag(32);
output.WriteInt32(Level);
}
if (Exp != 0) {
output.WriteRawTag(40);
output.WriteInt32(Exp);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Gameorderid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Gameorderid);
}
if (Type != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level);
}
if (Exp != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BuyBattlePass_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Gameorderid.Length != 0) {
Gameorderid = other.Gameorderid;
}
if (other.Type != 0) {
Type = other.Type;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Exp != 0) {
Exp = other.Exp;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
Gameorderid = input.ReadString();
break;
}
case 24: {
Type = input.ReadInt32();
break;
}
case 32: {
Level = input.ReadInt32();
break;
}
case 40: {
Exp = input.ReadInt32();
break;
}
}
}
}
}
///
/// ! 领取通行证物品
/// ! 返回成功后,客户端自己添加到已经购买的列表里面
///
public sealed partial class TakeBattlePassItem_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TakeBattlePassItem_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[41]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeBattlePassItem_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeBattlePassItem_C2S(TakeBattlePassItem_C2S other) : this() {
itemid_ = other.itemid_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeBattlePassItem_C2S Clone() {
return new TakeBattlePassItem_C2S(this);
}
/// Field number for the "itemid" field.
public const int ItemidFieldNumber = 1;
private int itemid_;
///
/// @see battlepassaward 表的ID
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Itemid {
get { return itemid_; }
set {
itemid_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TakeBattlePassItem_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TakeBattlePassItem_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Itemid != other.Itemid) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Itemid != 0) hash ^= Itemid.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Itemid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Itemid);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Itemid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Itemid);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TakeBattlePassItem_C2S other) {
if (other == null) {
return;
}
if (other.Itemid != 0) {
Itemid = other.Itemid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Itemid = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class TakeBattlePassItem_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TakeBattlePassItem_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[42]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeBattlePassItem_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeBattlePassItem_S2C(TakeBattlePassItem_S2C other) : this() {
errorcode_ = other.errorcode_;
itemid_ = other.itemid_;
curitems_ = other.curitems_.Clone();
boxreward_ = other.boxreward_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeBattlePassItem_S2C Clone() {
return new TakeBattlePassItem_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "itemid" field.
public const int ItemidFieldNumber = 2;
private int itemid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Itemid {
get { return itemid_; }
set {
itemid_ = value;
}
}
/// Field number for the "curitems" field.
public const int CuritemsFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_curitems_codec
= pb::FieldCodec.ForMessage(26, global::Protobuf.RewardItemMsg.Parser);
private readonly pbc::RepeatedField curitems_ = new pbc::RepeatedField();
///
/// 当前值
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Curitems {
get { return curitems_; }
}
/// Field number for the "boxreward" field.
public const int BoxrewardFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_boxreward_codec
= pb::FieldCodec.ForMessage(34, global::Protobuf.RewardItemMsg.Parser);
private readonly pbc::RepeatedField boxreward_ = new pbc::RepeatedField();
///
/// !如果有宝箱,表示宝箱掉落的wup
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Boxreward {
get { return boxreward_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TakeBattlePassItem_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TakeBattlePassItem_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Itemid != other.Itemid) return false;
if(!curitems_.Equals(other.curitems_)) return false;
if(!boxreward_.Equals(other.boxreward_)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Itemid != 0) hash ^= Itemid.GetHashCode();
hash ^= curitems_.GetHashCode();
hash ^= boxreward_.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Itemid != 0) {
output.WriteRawTag(16);
output.WriteInt32(Itemid);
}
curitems_.WriteTo(output, _repeated_curitems_codec);
boxreward_.WriteTo(output, _repeated_boxreward_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Itemid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Itemid);
}
size += curitems_.CalculateSize(_repeated_curitems_codec);
size += boxreward_.CalculateSize(_repeated_boxreward_codec);
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TakeBattlePassItem_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Itemid != 0) {
Itemid = other.Itemid;
}
curitems_.Add(other.curitems_);
boxreward_.Add(other.boxreward_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 16: {
Itemid = input.ReadInt32();
break;
}
case 26: {
curitems_.AddEntriesFrom(input, _repeated_curitems_codec);
break;
}
case 34: {
boxreward_.AddEntriesFrom(input, _repeated_boxreward_codec);
break;
}
}
}
}
}
///
/// ! 购买通行证等级
///
public sealed partial class BuyBattlePassLevel_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyBattlePassLevel_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[43]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePassLevel_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePassLevel_C2S(BuyBattlePassLevel_C2S other) : this() {
level_ = other.level_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePassLevel_C2S Clone() {
return new BuyBattlePassLevel_C2S(this);
}
/// Field number for the "level" field.
public const int LevelFieldNumber = 1;
private int level_;
///
/// 需要购买的目标等级
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Level {
get { return level_; }
set {
level_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BuyBattlePassLevel_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BuyBattlePassLevel_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Level != other.Level) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Level != 0) hash ^= Level.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Level != 0) {
output.WriteRawTag(8);
output.WriteInt32(Level);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BuyBattlePassLevel_C2S other) {
if (other == null) {
return;
}
if (other.Level != 0) {
Level = other.Level;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Level = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class BuyBattlePassLevel_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyBattlePassLevel_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[44]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePassLevel_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePassLevel_S2C(BuyBattlePassLevel_S2C other) : this() {
errorcode_ = other.errorcode_;
level_ = other.level_;
exp_ = other.exp_;
gold_ = other.gold_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BuyBattlePassLevel_S2C Clone() {
return new BuyBattlePassLevel_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "level" field.
public const int LevelFieldNumber = 2;
private int level_;
///
/// ! 购买后的等级和经验
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Level {
get { return level_; }
set {
level_ = value;
}
}
/// Field number for the "exp" field.
public const int ExpFieldNumber = 3;
private int exp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Exp {
get { return exp_; }
set {
exp_ = value;
}
}
/// Field number for the "gold" field.
public const int GoldFieldNumber = 4;
private int gold_;
///
/// 当前金币数
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Gold {
get { return gold_; }
set {
gold_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BuyBattlePassLevel_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BuyBattlePassLevel_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Level != other.Level) return false;
if (Exp != other.Exp) return false;
if (Gold != other.Gold) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Exp != 0) hash ^= Exp.GetHashCode();
if (Gold != 0) hash ^= Gold.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteInt32(Level);
}
if (Exp != 0) {
output.WriteRawTag(24);
output.WriteInt32(Exp);
}
if (Gold != 0) {
output.WriteRawTag(32);
output.WriteInt32(Gold);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level);
}
if (Exp != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp);
}
if (Gold != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gold);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BuyBattlePassLevel_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Exp != 0) {
Exp = other.Exp;
}
if (other.Gold != 0) {
Gold = other.Gold;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 16: {
Level = input.ReadInt32();
break;
}
case 24: {
Exp = input.ReadInt32();
break;
}
case 32: {
Gold = input.ReadInt32();
break;
}
}
}
}
}
///
/// ! 解锁竞技场宝箱
///
public sealed partial class UnLockArenaBox_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnLockArenaBox_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[45]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnLockArenaBox_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnLockArenaBox_C2S(UnLockArenaBox_C2S other) : this() {
pos_ = other.pos_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnLockArenaBox_C2S Clone() {
return new UnLockArenaBox_C2S(this);
}
/// Field number for the "pos" field.
public const int PosFieldNumber = 1;
private int pos_;
///
/// 位置0-3
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Pos {
get { return pos_; }
set {
pos_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnLockArenaBox_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnLockArenaBox_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Pos != other.Pos) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Pos != 0) hash ^= Pos.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Pos != 0) {
output.WriteRawTag(8);
output.WriteInt32(Pos);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Pos != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Pos);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnLockArenaBox_C2S other) {
if (other == null) {
return;
}
if (other.Pos != 0) {
Pos = other.Pos;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Pos = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class UnLockArenaBox_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnLockArenaBox_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[46]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnLockArenaBox_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnLockArenaBox_S2C(UnLockArenaBox_S2C other) : this() {
errorcode_ = other.errorcode_;
Areabox = other.areabox_ != null ? other.Areabox.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnLockArenaBox_S2C Clone() {
return new UnLockArenaBox_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "areabox" field.
public const int AreaboxFieldNumber = 2;
private global::Protobuf.ArenaBoxMsg areabox_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Protobuf.ArenaBoxMsg Areabox {
get { return areabox_; }
set {
areabox_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnLockArenaBox_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnLockArenaBox_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (!object.Equals(Areabox, other.Areabox)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (areabox_ != null) hash ^= Areabox.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (areabox_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Areabox);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (areabox_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Areabox);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnLockArenaBox_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.areabox_ != null) {
if (areabox_ == null) {
areabox_ = new global::Protobuf.ArenaBoxMsg();
}
Areabox.MergeFrom(other.Areabox);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 18: {
if (areabox_ == null) {
areabox_ = new global::Protobuf.ArenaBoxMsg();
}
input.ReadMessage(areabox_);
break;
}
}
}
}
}
///
/// ! 领取竞技场宝箱
///
public sealed partial class TakeArenaBox_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TakeArenaBox_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[47]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeArenaBox_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeArenaBox_C2S(TakeArenaBox_C2S other) : this() {
pos_ = other.pos_;
free_ = other.free_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeArenaBox_C2S Clone() {
return new TakeArenaBox_C2S(this);
}
/// Field number for the "pos" field.
public const int PosFieldNumber = 1;
private int pos_;
///
/// 位置0-3
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Pos {
get { return pos_; }
set {
pos_ = value;
}
}
/// Field number for the "free" field.
public const int FreeFieldNumber = 2;
private bool free_;
///
/// ! true 表示免费领取,否则用钻石领取
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Free {
get { return free_; }
set {
free_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TakeArenaBox_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TakeArenaBox_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Pos != other.Pos) return false;
if (Free != other.Free) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Pos != 0) hash ^= Pos.GetHashCode();
if (Free != false) hash ^= Free.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Pos != 0) {
output.WriteRawTag(8);
output.WriteInt32(Pos);
}
if (Free != false) {
output.WriteRawTag(16);
output.WriteBool(Free);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Pos != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Pos);
}
if (Free != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TakeArenaBox_C2S other) {
if (other == null) {
return;
}
if (other.Pos != 0) {
Pos = other.Pos;
}
if (other.Free != false) {
Free = other.Free;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Pos = input.ReadInt32();
break;
}
case 16: {
Free = input.ReadBool();
break;
}
}
}
}
}
public sealed partial class TakeArenaBox_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TakeArenaBox_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[48]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeArenaBox_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeArenaBox_S2C(TakeArenaBox_S2C other) : this() {
errorcode_ = other.errorcode_;
pos_ = other.pos_;
boxid_ = other.boxid_;
curitems_ = other.curitems_.Clone();
boxreward_ = other.boxreward_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TakeArenaBox_S2C Clone() {
return new TakeArenaBox_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "pos" field.
public const int PosFieldNumber = 2;
private int pos_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Pos {
get { return pos_; }
set {
pos_ = value;
}
}
/// Field number for the "boxid" field.
public const int BoxidFieldNumber = 3;
private int boxid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Boxid {
get { return boxid_; }
set {
boxid_ = value;
}
}
/// Field number for the "curitems" field.
public const int CuritemsFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_curitems_codec
= pb::FieldCodec.ForMessage(34, global::Protobuf.RewardItemMsg.Parser);
private readonly pbc::RepeatedField curitems_ = new pbc::RepeatedField();
///
/// 当前值
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Curitems {
get { return curitems_; }
}
/// Field number for the "boxreward" field.
public const int BoxrewardFieldNumber = 5;
private static readonly pb::FieldCodec _repeated_boxreward_codec
= pb::FieldCodec.ForMessage(42, global::Protobuf.RewardItemMsg.Parser);
private readonly pbc::RepeatedField boxreward_ = new pbc::RepeatedField();
///
/// !如果有宝箱,表示宝箱掉落的wup
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Boxreward {
get { return boxreward_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TakeArenaBox_S2C);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TakeArenaBox_S2C other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Errorcode != other.Errorcode) return false;
if (Pos != other.Pos) return false;
if (Boxid != other.Boxid) return false;
if(!curitems_.Equals(other.curitems_)) return false;
if(!boxreward_.Equals(other.boxreward_)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
if (Pos != 0) hash ^= Pos.GetHashCode();
if (Boxid != 0) hash ^= Boxid.GetHashCode();
hash ^= curitems_.GetHashCode();
hash ^= boxreward_.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Errorcode != 0) {
output.WriteRawTag(8);
output.WriteInt32(Errorcode);
}
if (Pos != 0) {
output.WriteRawTag(16);
output.WriteInt32(Pos);
}
if (Boxid != 0) {
output.WriteRawTag(24);
output.WriteInt32(Boxid);
}
curitems_.WriteTo(output, _repeated_curitems_codec);
boxreward_.WriteTo(output, _repeated_boxreward_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Errorcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
}
if (Pos != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Pos);
}
if (Boxid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Boxid);
}
size += curitems_.CalculateSize(_repeated_curitems_codec);
size += boxreward_.CalculateSize(_repeated_boxreward_codec);
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TakeArenaBox_S2C other) {
if (other == null) {
return;
}
if (other.Errorcode != 0) {
Errorcode = other.Errorcode;
}
if (other.Pos != 0) {
Pos = other.Pos;
}
if (other.Boxid != 0) {
Boxid = other.Boxid;
}
curitems_.Add(other.curitems_);
boxreward_.Add(other.boxreward_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
Errorcode = input.ReadInt32();
break;
}
case 16: {
Pos = input.ReadInt32();
break;
}
case 24: {
Boxid = input.ReadInt32();
break;
}
case 34: {
curitems_.AddEntriesFrom(input, _repeated_curitems_codec);
break;
}
case 42: {
boxreward_.AddEntriesFrom(input, _repeated_boxreward_codec);
break;
}
}
}
}
}
///
/// 查找工会,支持模糊查询
///
public sealed partial class FamilySearch_C2S : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilySearch_C2S());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[49]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FamilySearch_C2S() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FamilySearch_C2S(FamilySearch_C2S other) : this() {
name_ = other.name_;
start_ = other.start_;
limit_ = other.limit_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FamilySearch_C2S Clone() {
return new FamilySearch_C2S(this);
}
/// Field number for the "name" field.
public const int NameFieldNumber = 1;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "start" field.
public const int StartFieldNumber = 2;
private int start_;
///
/// 起始分页0
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Start {
get { return start_; }
set {
start_ = value;
}
}
/// Field number for the "limit" field.
public const int LimitFieldNumber = 3;
private int limit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Limit {
get { return limit_; }
set {
limit_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as FamilySearch_C2S);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FamilySearch_C2S other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Name != other.Name) return false;
if (Start != other.Start) return false;
if (Limit != other.Limit) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Start != 0) hash ^= Start.GetHashCode();
if (Limit != 0) hash ^= Limit.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Start != 0) {
output.WriteRawTag(16);
output.WriteInt32(Start);
}
if (Limit != 0) {
output.WriteRawTag(24);
output.WriteInt32(Limit);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Start != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
}
if (Limit != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FamilySearch_C2S other) {
if (other == null) {
return;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Start != 0) {
Start = other.Start;
}
if (other.Limit != 0) {
Limit = other.Limit;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Name = input.ReadString();
break;
}
case 16: {
Start = input.ReadInt32();
break;
}
case 24: {
Limit = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class FamilySearch_S2C : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilySearch_S2C());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[50]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FamilySearch_S2C() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FamilySearch_S2C(FamilySearch_S2C other) : this() {
errorcode_ = other.errorcode_;
familylist_ = other.familylist_.Clone();
total_ = other.total_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FamilySearch_S2C Clone() {
return new FamilySearch_S2C(this);
}
/// Field number for the "errorcode" field.
public const int ErrorcodeFieldNumber = 1;
private int errorcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Errorcode {
get { return errorcode_; }
set {
errorcode_ = value;
}
}
/// Field number for the "familylist" field.
public const int FamilylistFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_familylist_codec
= pb::FieldCodec.ForMessage(18, global::Protobuf.FamilySearchItemMsg.Parser);
private readonly pbc::RepeatedField familylist_ = new pbc::RepeatedField