// 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 {
|
|
/// <summary>Holder for reflection information generated from game.proto</summary>
|
public static partial class GameReflection {
|
|
#region Descriptor
|
/// <summary>File descriptor for game.proto</summary>
|
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
|
/// <summary>
|
/// 登陆
|
/// </summary>
|
public sealed partial class Login_C2S : pb::IMessage<Login_C2S> {
|
private static readonly pb::MessageParser<Login_C2S> _parser = new pb::MessageParser<Login_C2S>(() => new Login_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<Login_C2S> 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);
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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");
|
}
|
}
|
|
/// <summary>Field number for the "channel" field.</summary>
|
public const int ChannelFieldNumber = 2;
|
private int channel_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Channel {
|
get { return channel_; }
|
set {
|
channel_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "sessionKey" field.</summary>
|
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<Login_S2C> {
|
private static readonly pb::MessageParser<Login_S2C> _parser = new pb::MessageParser<Login_S2C>(() => new Login_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<Login_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "userdata" field.</summary>
|
public const int UserdataFieldNumber = 2;
|
private global::Protobuf.UserDataMsg userdata_;
|
/// <summary>
|
/// *玩家详细信息
|
/// </summary>
|
[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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 设置默认编组
|
/// </summary>
|
public sealed partial class SetGemDeckId_C2S : pb::IMessage<SetGemDeckId_C2S> {
|
private static readonly pb::MessageParser<SetGemDeckId_C2S> _parser = new pb::MessageParser<SetGemDeckId_C2S>(() => new SetGemDeckId_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<SetGemDeckId_C2S> 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);
|
}
|
|
/// <summary>Field number for the "deckid" field.</summary>
|
public const int DeckidFieldNumber = 1;
|
private int deckid_;
|
/// <summary>
|
/// 0,1,2 索引编号
|
/// </summary>
|
[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<SetGemDeckId_S2C> {
|
private static readonly pb::MessageParser<SetGemDeckId_S2C> _parser = new pb::MessageParser<SetGemDeckId_S2C>(() => new SetGemDeckId_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<SetGemDeckId_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "deckid" field.</summary>
|
public const int DeckidFieldNumber = 2;
|
private int deckid_;
|
/// <summary>
|
/// 0,1,2 索引编号
|
/// </summary>
|
[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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 宝石编组
|
/// </summary>
|
public sealed partial class MoveGemDeck_C2S : pb::IMessage<MoveGemDeck_C2S> {
|
private static readonly pb::MessageParser<MoveGemDeck_C2S> _parser = new pb::MessageParser<MoveGemDeck_C2S>(() => new MoveGemDeck_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<MoveGemDeck_C2S> 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);
|
}
|
|
/// <summary>Field number for the "deckid" field.</summary>
|
public const int DeckidFieldNumber = 1;
|
private int deckid_;
|
/// <summary>
|
/// 0,1,2 索引编号
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Deckid {
|
get { return deckid_; }
|
set {
|
deckid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "slotid" field.</summary>
|
public const int SlotidFieldNumber = 2;
|
private int slotid_;
|
/// <summary>
|
/// 0-4之间整数,表示具体的位置
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Slotid {
|
get { return slotid_; }
|
set {
|
slotid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "gemid" field.</summary>
|
public const int GemidFieldNumber = 3;
|
private int gemid_;
|
/// <summary>
|
/// *宝石ID
|
/// </summary>
|
[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<MoveGemDeck_S2C> {
|
private static readonly pb::MessageParser<MoveGemDeck_S2C> _parser = new pb::MessageParser<MoveGemDeck_S2C>(() => new MoveGemDeck_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<MoveGemDeck_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
/// <summary>
|
/// 为真表示上阵,false表示下阵
|
/// </summary>
|
[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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// GM 指令
|
/// </summary>
|
public sealed partial class GMCommand_C2S : pb::IMessage<GMCommand_C2S> {
|
private static readonly pb::MessageParser<GMCommand_C2S> _parser = new pb::MessageParser<GMCommand_C2S>(() => new GMCommand_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GMCommand_C2S> 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);
|
}
|
|
/// <summary>Field number for the "type" field.</summary>
|
public const int TypeFieldNumber = 1;
|
private string type_ = "";
|
/// <summary>
|
/// 类型 如money gold gem 等等
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public string Type {
|
get { return type_; }
|
set {
|
type_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
}
|
}
|
|
/// <summary>Field number for the "cfgid" field.</summary>
|
public const int CfgidFieldNumber = 2;
|
private int cfgid_;
|
/// <summary>
|
/// 配表ID
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Cfgid {
|
get { return cfgid_; }
|
set {
|
cfgid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "count" field.</summary>
|
public const int CountFieldNumber = 3;
|
private int count_;
|
/// <summary>
|
/// 增加值
|
/// </summary>
|
[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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// *
|
/// 如果type=arenabox 则 cfgid为 boxid,count 为 pos 位置(0-3) param1为过期时间撮 单位秒
|
/// </summary>
|
public sealed partial class GMCommand_S2C : pb::IMessage<GMCommand_S2C> {
|
private static readonly pb::MessageParser<GMCommand_S2C> _parser = new pb::MessageParser<GMCommand_S2C>(() => new GMCommand_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GMCommand_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "type" field.</summary>
|
public const int TypeFieldNumber = 2;
|
private string type_ = "";
|
/// <summary>
|
/// 类型 如money gold gem 等等
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public string Type {
|
get { return type_; }
|
set {
|
type_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
}
|
}
|
|
/// <summary>Field number for the "cfgid" field.</summary>
|
public const int CfgidFieldNumber = 3;
|
private int cfgid_;
|
/// <summary>
|
/// 宝石、道具 数据表id
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Cfgid {
|
get { return cfgid_; }
|
set {
|
cfgid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "count" field.</summary>
|
public const int CountFieldNumber = 4;
|
private int count_;
|
/// <summary>
|
/// 改变后的最终数量
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Count {
|
get { return count_; }
|
set {
|
count_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "param1" field.</summary>
|
public const int Param1FieldNumber = 5;
|
private int param1_;
|
/// <summary>
|
/// 额外参数1
|
/// </summary>
|
[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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// *宝石升级
|
/// </summary>
|
public sealed partial class LevelupGem_C2S : pb::IMessage<LevelupGem_C2S> {
|
private static readonly pb::MessageParser<LevelupGem_C2S> _parser = new pb::MessageParser<LevelupGem_C2S>(() => new LevelupGem_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<LevelupGem_C2S> 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);
|
}
|
|
/// <summary>Field number for the "gemid" field.</summary>
|
public const int GemidFieldNumber = 1;
|
private int gemid_;
|
/// <summary>
|
/// *宝石ID
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Gemid {
|
get { return gemid_; }
|
set {
|
gemid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "level" field.</summary>
|
public const int LevelFieldNumber = 2;
|
private int level_;
|
/// <summary>
|
/// *希望升到的等级
|
/// </summary>
|
[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<LevelupGem_S2C> {
|
private static readonly pb::MessageParser<LevelupGem_S2C> _parser = new pb::MessageParser<LevelupGem_S2C>(() => new LevelupGem_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<LevelupGem_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "gemid" field.</summary>
|
public const int GemidFieldNumber = 2;
|
private int gemid_;
|
/// <summary>
|
/// *宝石ID
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Gemid {
|
get { return gemid_; }
|
set {
|
gemid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "level" field.</summary>
|
public const int LevelFieldNumber = 3;
|
private int level_;
|
/// <summary>
|
/// *新的等级
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Level {
|
get { return level_; }
|
set {
|
level_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "count" field.</summary>
|
public const int CountFieldNumber = 4;
|
private int count_;
|
/// <summary>
|
/// *新的宝石个数
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Count {
|
get { return count_; }
|
set {
|
count_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "money" field.</summary>
|
public const int MoneyFieldNumber = 5;
|
private int money_;
|
/// <summary>
|
/// 新的金币数
|
/// </summary>
|
[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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 获取好友列表
|
/// </summary>
|
public sealed partial class GetFriendList_C2S : pb::IMessage<GetFriendList_C2S> {
|
private static readonly pb::MessageParser<GetFriendList_C2S> _parser = new pb::MessageParser<GetFriendList_C2S>(() => new GetFriendList_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetFriendList_C2S> 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);
|
}
|
|
/// <summary>Field number for the "start" field.</summary>
|
public const int StartFieldNumber = 1;
|
private int start_;
|
/// <summary>
|
/// int32 errorcode = 1;
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Start {
|
get { return start_; }
|
set {
|
start_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "limit" field.</summary>
|
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<GetFriendList_S2C> {
|
private static readonly pb::MessageParser<GetFriendList_S2C> _parser = new pb::MessageParser<GetFriendList_S2C>(() => new GetFriendList_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetFriendList_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "friends" field.</summary>
|
public const int FriendsFieldNumber = 2;
|
private static readonly pb::FieldCodec<global::Protobuf.FriendMsg> _repeated_friends_codec
|
= pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.FriendMsg> friends_ = new pbc::RepeatedField<global::Protobuf.FriendMsg>();
|
/// <summary>
|
/// 好友
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.FriendMsg> Friends {
|
get { return friends_; }
|
}
|
|
/// <summary>Field number for the "total" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 获取黑名单列表
|
/// </summary>
|
public sealed partial class GetBlockList_C2S : pb::IMessage<GetBlockList_C2S> {
|
private static readonly pb::MessageParser<GetBlockList_C2S> _parser = new pb::MessageParser<GetBlockList_C2S>(() => new GetBlockList_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetBlockList_C2S> 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);
|
}
|
|
/// <summary>Field number for the "start" field.</summary>
|
public const int StartFieldNumber = 1;
|
private int start_;
|
/// <summary>
|
/// int32 errorcode = 1;
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Start {
|
get { return start_; }
|
set {
|
start_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "limit" field.</summary>
|
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<GetBlockList_S2C> {
|
private static readonly pb::MessageParser<GetBlockList_S2C> _parser = new pb::MessageParser<GetBlockList_S2C>(() => new GetBlockList_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetBlockList_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "blocks" field.</summary>
|
public const int BlocksFieldNumber = 2;
|
private static readonly pb::FieldCodec<global::Protobuf.FriendMsg> _repeated_blocks_codec
|
= pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.FriendMsg> blocks_ = new pbc::RepeatedField<global::Protobuf.FriendMsg>();
|
/// <summary>
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.FriendMsg> Blocks {
|
get { return blocks_; }
|
}
|
|
/// <summary>Field number for the "total" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 查找好友
|
/// </summary>
|
public sealed partial class FindFriend_C2S : pb::IMessage<FindFriend_C2S> {
|
private static readonly pb::MessageParser<FindFriend_C2S> _parser = new pb::MessageParser<FindFriend_C2S>(() => new FindFriend_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FindFriend_C2S> 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);
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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<FindFriend_S2C> {
|
private static readonly pb::MessageParser<FindFriend_S2C> _parser = new pb::MessageParser<FindFriend_S2C>(() => new FindFriend_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FindFriend_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "friend" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 获取好友请求列表
|
/// </summary>
|
public sealed partial class GetFriendRequestList_C2S : pb::IMessage<GetFriendRequestList_C2S> {
|
private static readonly pb::MessageParser<GetFriendRequestList_C2S> _parser = new pb::MessageParser<GetFriendRequestList_C2S>(() => new GetFriendRequestList_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetFriendRequestList_C2S> 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);
|
}
|
|
/// <summary>Field number for the "start" field.</summary>
|
public const int StartFieldNumber = 1;
|
private int start_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Start {
|
get { return start_; }
|
set {
|
start_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "limit" field.</summary>
|
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<GetFriendRequestList_S2C> {
|
private static readonly pb::MessageParser<GetFriendRequestList_S2C> _parser = new pb::MessageParser<GetFriendRequestList_S2C>(() => new GetFriendRequestList_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetFriendRequestList_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "friends" field.</summary>
|
public const int FriendsFieldNumber = 2;
|
private static readonly pb::FieldCodec<global::Protobuf.FriendMsg> _repeated_friends_codec
|
= pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.FriendMsg> friends_ = new pbc::RepeatedField<global::Protobuf.FriendMsg>();
|
/// <summary>
|
/// 好友
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.FriendMsg> Friends {
|
get { return friends_; }
|
}
|
|
/// <summary>Field number for the "total" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 请求添加好友
|
/// </summary>
|
public sealed partial class FriendRequest_C2S : pb::IMessage<FriendRequest_C2S> {
|
private static readonly pb::MessageParser<FriendRequest_C2S> _parser = new pb::MessageParser<FriendRequest_C2S>(() => new FriendRequest_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendRequest_C2S> 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);
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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<FriendRequest_S2C> {
|
private static readonly pb::MessageParser<FriendRequest_S2C> _parser = new pb::MessageParser<FriendRequest_S2C>(() => new FriendRequest_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendRequest_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 删除好友
|
/// </summary>
|
public sealed partial class FriendDelete_C2S : pb::IMessage<FriendDelete_C2S> {
|
private static readonly pb::MessageParser<FriendDelete_C2S> _parser = new pb::MessageParser<FriendDelete_C2S>(() => new FriendDelete_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendDelete_C2S> 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);
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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<FriendDelete_S2C> {
|
private static readonly pb::MessageParser<FriendDelete_S2C> _parser = new pb::MessageParser<FriendDelete_S2C>(() => new FriendDelete_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendDelete_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 加入黑名单
|
/// </summary>
|
public sealed partial class FriendBlock_C2S : pb::IMessage<FriendBlock_C2S> {
|
private static readonly pb::MessageParser<FriendBlock_C2S> _parser = new pb::MessageParser<FriendBlock_C2S>(() => new FriendBlock_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendBlock_C2S> 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);
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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<FriendBlock_S2C> {
|
private static readonly pb::MessageParser<FriendBlock_S2C> _parser = new pb::MessageParser<FriendBlock_S2C>(() => new FriendBlock_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendBlock_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 同意加入好友
|
/// </summary>
|
public sealed partial class FriendAdd_C2S : pb::IMessage<FriendAdd_C2S> {
|
private static readonly pb::MessageParser<FriendAdd_C2S> _parser = new pb::MessageParser<FriendAdd_C2S>(() => new FriendAdd_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendAdd_C2S> 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);
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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");
|
}
|
}
|
|
/// <summary>Field number for the "accept" field.</summary>
|
public const int AcceptFieldNumber = 2;
|
private bool accept_;
|
/// <summary>
|
/// true 表示接受,false 表示不同意
|
/// </summary>
|
[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<FriendAdd_S2C> {
|
private static readonly pb::MessageParser<FriendAdd_S2C> _parser = new pb::MessageParser<FriendAdd_S2C>(() => new FriendAdd_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendAdd_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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");
|
}
|
}
|
|
/// <summary>Field number for the "accept" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 是否接受好友申请
|
/// </summary>
|
public sealed partial class FriendAcceptRequest_C2S : pb::IMessage<FriendAcceptRequest_C2S> {
|
private static readonly pb::MessageParser<FriendAcceptRequest_C2S> _parser = new pb::MessageParser<FriendAcceptRequest_C2S>(() => new FriendAcceptRequest_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendAcceptRequest_C2S> 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);
|
}
|
|
/// <summary>Field number for the "accept" field.</summary>
|
public const int AcceptFieldNumber = 1;
|
private bool accept_;
|
/// <summary>
|
/// true表示接受,否则不接受
|
/// </summary>
|
[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<FriendAcceptRequest_S2C> {
|
private static readonly pb::MessageParser<FriendAcceptRequest_S2C> _parser = new pb::MessageParser<FriendAcceptRequest_S2C>(() => new FriendAcceptRequest_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FriendAcceptRequest_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "accept" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 获取推荐好友
|
/// </summary>
|
public sealed partial class GetRecommendFriend_C2S : pb::IMessage<GetRecommendFriend_C2S> {
|
private static readonly pb::MessageParser<GetRecommendFriend_C2S> _parser = new pb::MessageParser<GetRecommendFriend_C2S>(() => new GetRecommendFriend_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetRecommendFriend_C2S> 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<GetRecommendFriend_S2C> {
|
private static readonly pb::MessageParser<GetRecommendFriend_S2C> _parser = new pb::MessageParser<GetRecommendFriend_S2C>(() => new GetRecommendFriend_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetRecommendFriend_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "friends" field.</summary>
|
public const int FriendsFieldNumber = 2;
|
private static readonly pb::FieldCodec<global::Protobuf.FriendMsg> _repeated_friends_codec
|
= pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.FriendMsg> friends_ = new pbc::RepeatedField<global::Protobuf.FriendMsg>();
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.FriendMsg> 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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// !修改昵称
|
/// </summary>
|
public sealed partial class SetNickName_C2S : pb::IMessage<SetNickName_C2S> {
|
private static readonly pb::MessageParser<SetNickName_C2S> _parser = new pb::MessageParser<SetNickName_C2S>(() => new SetNickName_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<SetNickName_C2S> 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);
|
}
|
|
/// <summary>Field number for the "nickname" field.</summary>
|
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<SetNickName_S2C> {
|
private static readonly pb::MessageParser<SetNickName_S2C> _parser = new pb::MessageParser<SetNickName_S2C>(() => new SetNickName_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<SetNickName_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "nickname" field.</summary>
|
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");
|
}
|
}
|
|
/// <summary>Field number for the "gold" field.</summary>
|
public const int GoldFieldNumber = 3;
|
private int gold_;
|
/// <summary>
|
/// !最终钻石数
|
/// </summary>
|
[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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// !服务器推送,收到好友申请事件
|
/// </summary>
|
public sealed partial class PushFriendRequest_S2C : pb::IMessage<PushFriendRequest_S2C> {
|
private static readonly pb::MessageParser<PushFriendRequest_S2C> _parser = new pb::MessageParser<PushFriendRequest_S2C>(() => new PushFriendRequest_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<PushFriendRequest_S2C> 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;
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 获取商城列表
|
/// 仅返回限时商城分区的商品
|
/// </summary>
|
public sealed partial class GetStoreItemList_C2S : pb::IMessage<GetStoreItemList_C2S> {
|
private static readonly pb::MessageParser<GetStoreItemList_C2S> _parser = new pb::MessageParser<GetStoreItemList_C2S>(() => new GetStoreItemList_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetStoreItemList_C2S> 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<GetStoreItemList_S2C> {
|
private static readonly pb::MessageParser<GetStoreItemList_S2C> _parser = new pb::MessageParser<GetStoreItemList_S2C>(() => new GetStoreItemList_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetStoreItemList_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "areas" field.</summary>
|
public const int AreasFieldNumber = 2;
|
private static readonly pb::FieldCodec<global::Protobuf.StoreAreaMsg> _repeated_areas_codec
|
= pb::FieldCodec.ForMessage(18, global::Protobuf.StoreAreaMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.StoreAreaMsg> areas_ = new pbc::RepeatedField<global::Protobuf.StoreAreaMsg>();
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.StoreAreaMsg> 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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 1.金币和钻石购买比较简单,直接检测数量,并返回是否购买成功消息
|
/// 2.rmb内购比较复杂,返回的是游戏订单(gameorderid),客户端使用该订单号和内购信息,去拉起支付,支付成功后渠道会调用支付回调,login服务器会通知游戏服发货。
|
/// BuyStoreItem_S2C 有可能是玩家上线的时候推送,因为玩家支付完毕后下线了
|
/// 3.gm内购是个特例,直接返回奖励
|
/// </summary>
|
public sealed partial class BuyStoreItem_C2S : pb::IMessage<BuyStoreItem_C2S> {
|
private static readonly pb::MessageParser<BuyStoreItem_C2S> _parser = new pb::MessageParser<BuyStoreItem_C2S>(() => new BuyStoreItem_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<BuyStoreItem_C2S> 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);
|
}
|
|
/// <summary>Field number for the "storeid" field.</summary>
|
public const int StoreidFieldNumber = 1;
|
private int storeid_;
|
/// <summary>
|
/// ! 商品表里面的id
|
/// </summary>
|
[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<BuyStoreItem_S2C> {
|
private static readonly pb::MessageParser<BuyStoreItem_S2C> _parser = new pb::MessageParser<BuyStoreItem_S2C>(() => new BuyStoreItem_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<BuyStoreItem_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "gameorderid" field.</summary>
|
public const int GameorderidFieldNumber = 2;
|
private string gameorderid_ = "";
|
/// <summary>
|
/// !内购的时候才返回的订单号
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public string Gameorderid {
|
get { return gameorderid_; }
|
set {
|
gameorderid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
}
|
}
|
|
/// <summary>Field number for the "curitems" field.</summary>
|
public const int CuritemsFieldNumber = 3;
|
private static readonly pb::FieldCodec<global::Protobuf.RewardItemMsg> _repeated_curitems_codec
|
= pb::FieldCodec.ForMessage(26, global::Protobuf.RewardItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.RewardItemMsg> curitems_ = new pbc::RepeatedField<global::Protobuf.RewardItemMsg>();
|
/// <summary>
|
/// 消费后的当前值
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.RewardItemMsg> Curitems {
|
get { return curitems_; }
|
}
|
|
/// <summary>Field number for the "storeid" field.</summary>
|
public const int StoreidFieldNumber = 4;
|
private int storeid_;
|
/// <summary>
|
/// ! 商品表里面的id
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Storeid {
|
get { return storeid_; }
|
set {
|
storeid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "refreshTime" field.</summary>
|
public const int RefreshTimeFieldNumber = 5;
|
private int refreshTime_;
|
/// <summary>
|
/// 一下消息是限时商品用到的
|
/// UNIX时间戳,单位秒。如果为0-不显示刷新,否则表示在指定的时刻刷新.
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int RefreshTime {
|
get { return refreshTime_; }
|
set {
|
refreshTime_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "buyCount" field.</summary>
|
public const int BuyCountFieldNumber = 6;
|
private int buyCount_;
|
/// <summary>
|
/// 如果是限时大区,表示购买个数,
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int BuyCount {
|
get { return buyCount_; }
|
set {
|
buyCount_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "boxreward" field.</summary>
|
public const int BoxrewardFieldNumber = 7;
|
private static readonly pb::FieldCodec<global::Protobuf.RewardItemMsg> _repeated_boxreward_codec
|
= pb::FieldCodec.ForMessage(58, global::Protobuf.RewardItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.RewardItemMsg> boxreward_ = new pbc::RepeatedField<global::Protobuf.RewardItemMsg>();
|
/// <summary>
|
/// !如果有宝箱,表示宝箱掉落的wup
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.RewardItemMsg> 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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 通行证
|
/// ! 获取通行证信息
|
/// </summary>
|
public sealed partial class GetBattlePass_C2S : pb::IMessage<GetBattlePass_C2S> {
|
private static readonly pb::MessageParser<GetBattlePass_C2S> _parser = new pb::MessageParser<GetBattlePass_C2S>(() => new GetBattlePass_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetBattlePass_C2S> 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<GetBattlePass_S2C> {
|
private static readonly pb::MessageParser<GetBattlePass_S2C> _parser = new pb::MessageParser<GetBattlePass_S2C>(() => new GetBattlePass_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<GetBattlePass_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "level" field.</summary>
|
public const int LevelFieldNumber = 2;
|
private int level_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Level {
|
get { return level_; }
|
set {
|
level_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "exp" field.</summary>
|
public const int ExpFieldNumber = 3;
|
private int exp_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Exp {
|
get { return exp_; }
|
set {
|
exp_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "expiretime" field.</summary>
|
public const int ExpiretimeFieldNumber = 4;
|
private int expiretime_;
|
/// <summary>
|
/// !通行证过期时间戳
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Expiretime {
|
get { return expiretime_; }
|
set {
|
expiretime_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "passtimeid" field.</summary>
|
public const int PasstimeidFieldNumber = 5;
|
private int passtimeid_;
|
/// <summary>
|
/// 通行证赛季id @see battlepasstime,如果为0表示没有开启
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Passtimeid {
|
get { return passtimeid_; }
|
set {
|
passtimeid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "vip" field.</summary>
|
public const int VipFieldNumber = 6;
|
private bool vip_;
|
/// <summary>
|
/// !是否是至尊通行证,true 表示是
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Vip {
|
get { return vip_; }
|
set {
|
vip_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "isopen" field.</summary>
|
public const int IsopenFieldNumber = 7;
|
private bool isopen_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Isopen {
|
get { return isopen_; }
|
set {
|
isopen_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "takenitems" field.</summary>
|
public const int TakenitemsFieldNumber = 8;
|
private static readonly pb::FieldCodec<int> _repeated_takenitems_codec
|
= pb::FieldCodec.ForInt32(66);
|
private readonly pbc::RepeatedField<int> takenitems_ = new pbc::RepeatedField<int>();
|
/// <summary>
|
/// ! 已经领取的id列表
|
/// @see battlepassaward 表的ID
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<int> 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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 和内购一样,如果是RMB类型,需要渠道返回确认信息。所有返回的结果有可能是玩家下线后上线时,推送
|
/// 如果是赛季间隔期,不能购买
|
/// </summary>
|
public sealed partial class BuyBattlePass_C2S : pb::IMessage<BuyBattlePass_C2S> {
|
private static readonly pb::MessageParser<BuyBattlePass_C2S> _parser = new pb::MessageParser<BuyBattlePass_C2S>(() => new BuyBattlePass_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<BuyBattlePass_C2S> 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);
|
}
|
|
/// <summary>Field number for the "type" field.</summary>
|
public const int TypeFieldNumber = 1;
|
private int type_;
|
/// <summary>
|
/// 0-普通购买,1-高级购买附带等级
|
/// </summary>
|
[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<BuyBattlePass_S2C> {
|
private static readonly pb::MessageParser<BuyBattlePass_S2C> _parser = new pb::MessageParser<BuyBattlePass_S2C>(() => new BuyBattlePass_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<BuyBattlePass_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "gameorderid" field.</summary>
|
public const int GameorderidFieldNumber = 2;
|
private string gameorderid_ = "";
|
/// <summary>
|
/// !内购的时候才返回的订单号
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public string Gameorderid {
|
get { return gameorderid_; }
|
set {
|
gameorderid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
}
|
}
|
|
/// <summary>Field number for the "type" field.</summary>
|
public const int TypeFieldNumber = 3;
|
private int type_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Type {
|
get { return type_; }
|
set {
|
type_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "level" field.</summary>
|
public const int LevelFieldNumber = 4;
|
private int level_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Level {
|
get { return level_; }
|
set {
|
level_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "exp" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// ! 领取通行证物品
|
/// ! 返回成功后,客户端自己添加到已经购买的列表里面
|
/// </summary>
|
public sealed partial class TakeBattlePassItem_C2S : pb::IMessage<TakeBattlePassItem_C2S> {
|
private static readonly pb::MessageParser<TakeBattlePassItem_C2S> _parser = new pb::MessageParser<TakeBattlePassItem_C2S>(() => new TakeBattlePassItem_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<TakeBattlePassItem_C2S> 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);
|
}
|
|
/// <summary>Field number for the "itemid" field.</summary>
|
public const int ItemidFieldNumber = 1;
|
private int itemid_;
|
/// <summary>
|
/// @see battlepassaward 表的ID
|
/// </summary>
|
[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<TakeBattlePassItem_S2C> {
|
private static readonly pb::MessageParser<TakeBattlePassItem_S2C> _parser = new pb::MessageParser<TakeBattlePassItem_S2C>(() => new TakeBattlePassItem_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<TakeBattlePassItem_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "itemid" field.</summary>
|
public const int ItemidFieldNumber = 2;
|
private int itemid_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Itemid {
|
get { return itemid_; }
|
set {
|
itemid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "curitems" field.</summary>
|
public const int CuritemsFieldNumber = 3;
|
private static readonly pb::FieldCodec<global::Protobuf.RewardItemMsg> _repeated_curitems_codec
|
= pb::FieldCodec.ForMessage(26, global::Protobuf.RewardItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.RewardItemMsg> curitems_ = new pbc::RepeatedField<global::Protobuf.RewardItemMsg>();
|
/// <summary>
|
/// 当前值
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.RewardItemMsg> Curitems {
|
get { return curitems_; }
|
}
|
|
/// <summary>Field number for the "boxreward" field.</summary>
|
public const int BoxrewardFieldNumber = 4;
|
private static readonly pb::FieldCodec<global::Protobuf.RewardItemMsg> _repeated_boxreward_codec
|
= pb::FieldCodec.ForMessage(34, global::Protobuf.RewardItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.RewardItemMsg> boxreward_ = new pbc::RepeatedField<global::Protobuf.RewardItemMsg>();
|
/// <summary>
|
/// !如果有宝箱,表示宝箱掉落的wup
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.RewardItemMsg> 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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// ! 购买通行证等级
|
/// </summary>
|
public sealed partial class BuyBattlePassLevel_C2S : pb::IMessage<BuyBattlePassLevel_C2S> {
|
private static readonly pb::MessageParser<BuyBattlePassLevel_C2S> _parser = new pb::MessageParser<BuyBattlePassLevel_C2S>(() => new BuyBattlePassLevel_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<BuyBattlePassLevel_C2S> 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);
|
}
|
|
/// <summary>Field number for the "level" field.</summary>
|
public const int LevelFieldNumber = 1;
|
private int level_;
|
/// <summary>
|
/// 需要购买的目标等级
|
/// </summary>
|
[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<BuyBattlePassLevel_S2C> {
|
private static readonly pb::MessageParser<BuyBattlePassLevel_S2C> _parser = new pb::MessageParser<BuyBattlePassLevel_S2C>(() => new BuyBattlePassLevel_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<BuyBattlePassLevel_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "level" field.</summary>
|
public const int LevelFieldNumber = 2;
|
private int level_;
|
/// <summary>
|
/// ! 购买后的等级和经验
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Level {
|
get { return level_; }
|
set {
|
level_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "exp" field.</summary>
|
public const int ExpFieldNumber = 3;
|
private int exp_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Exp {
|
get { return exp_; }
|
set {
|
exp_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "gold" field.</summary>
|
public const int GoldFieldNumber = 4;
|
private int gold_;
|
/// <summary>
|
/// 当前金币数
|
/// </summary>
|
[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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// ! 解锁竞技场宝箱
|
/// </summary>
|
public sealed partial class UnLockArenaBox_C2S : pb::IMessage<UnLockArenaBox_C2S> {
|
private static readonly pb::MessageParser<UnLockArenaBox_C2S> _parser = new pb::MessageParser<UnLockArenaBox_C2S>(() => new UnLockArenaBox_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<UnLockArenaBox_C2S> 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);
|
}
|
|
/// <summary>Field number for the "pos" field.</summary>
|
public const int PosFieldNumber = 1;
|
private int pos_;
|
/// <summary>
|
/// 位置0-3
|
/// </summary>
|
[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<UnLockArenaBox_S2C> {
|
private static readonly pb::MessageParser<UnLockArenaBox_S2C> _parser = new pb::MessageParser<UnLockArenaBox_S2C>(() => new UnLockArenaBox_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<UnLockArenaBox_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "areabox" field.</summary>
|
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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// ! 领取竞技场宝箱
|
/// </summary>
|
public sealed partial class TakeArenaBox_C2S : pb::IMessage<TakeArenaBox_C2S> {
|
private static readonly pb::MessageParser<TakeArenaBox_C2S> _parser = new pb::MessageParser<TakeArenaBox_C2S>(() => new TakeArenaBox_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<TakeArenaBox_C2S> 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);
|
}
|
|
/// <summary>Field number for the "pos" field.</summary>
|
public const int PosFieldNumber = 1;
|
private int pos_;
|
/// <summary>
|
/// 位置0-3
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Pos {
|
get { return pos_; }
|
set {
|
pos_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "free" field.</summary>
|
public const int FreeFieldNumber = 2;
|
private bool free_;
|
/// <summary>
|
/// ! true 表示免费领取,否则用钻石领取
|
/// </summary>
|
[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<TakeArenaBox_S2C> {
|
private static readonly pb::MessageParser<TakeArenaBox_S2C> _parser = new pb::MessageParser<TakeArenaBox_S2C>(() => new TakeArenaBox_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<TakeArenaBox_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "pos" field.</summary>
|
public const int PosFieldNumber = 2;
|
private int pos_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Pos {
|
get { return pos_; }
|
set {
|
pos_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "boxid" field.</summary>
|
public const int BoxidFieldNumber = 3;
|
private int boxid_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Boxid {
|
get { return boxid_; }
|
set {
|
boxid_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "curitems" field.</summary>
|
public const int CuritemsFieldNumber = 4;
|
private static readonly pb::FieldCodec<global::Protobuf.RewardItemMsg> _repeated_curitems_codec
|
= pb::FieldCodec.ForMessage(34, global::Protobuf.RewardItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.RewardItemMsg> curitems_ = new pbc::RepeatedField<global::Protobuf.RewardItemMsg>();
|
/// <summary>
|
/// 当前值
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.RewardItemMsg> Curitems {
|
get { return curitems_; }
|
}
|
|
/// <summary>Field number for the "boxreward" field.</summary>
|
public const int BoxrewardFieldNumber = 5;
|
private static readonly pb::FieldCodec<global::Protobuf.RewardItemMsg> _repeated_boxreward_codec
|
= pb::FieldCodec.ForMessage(42, global::Protobuf.RewardItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.RewardItemMsg> boxreward_ = new pbc::RepeatedField<global::Protobuf.RewardItemMsg>();
|
/// <summary>
|
/// !如果有宝箱,表示宝箱掉落的wup
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.RewardItemMsg> 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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 查找工会,支持模糊查询
|
/// </summary>
|
public sealed partial class FamilySearch_C2S : pb::IMessage<FamilySearch_C2S> {
|
private static readonly pb::MessageParser<FamilySearch_C2S> _parser = new pb::MessageParser<FamilySearch_C2S>(() => new FamilySearch_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilySearch_C2S> 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);
|
}
|
|
/// <summary>Field number for the "name" field.</summary>
|
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");
|
}
|
}
|
|
/// <summary>Field number for the "start" field.</summary>
|
public const int StartFieldNumber = 2;
|
private int start_;
|
/// <summary>
|
/// 起始分页0
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Start {
|
get { return start_; }
|
set {
|
start_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "limit" field.</summary>
|
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<FamilySearch_S2C> {
|
private static readonly pb::MessageParser<FamilySearch_S2C> _parser = new pb::MessageParser<FamilySearch_S2C>(() => new FamilySearch_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilySearch_S2C> 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);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "familylist" field.</summary>
|
public const int FamilylistFieldNumber = 2;
|
private static readonly pb::FieldCodec<global::Protobuf.FamilySearchItemMsg> _repeated_familylist_codec
|
= pb::FieldCodec.ForMessage(18, global::Protobuf.FamilySearchItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.FamilySearchItemMsg> familylist_ = new pbc::RepeatedField<global::Protobuf.FamilySearchItemMsg>();
|
/// <summary>
|
/// 工会
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.FamilySearchItemMsg> Familylist {
|
get { return familylist_; }
|
}
|
|
/// <summary>Field number for the "total" field.</summary>
|
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 FamilySearch_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilySearch_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if(!familylist_.Equals(other.familylist_)) 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 ^= familylist_.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);
|
}
|
familylist_.WriteTo(output, _repeated_familylist_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 += familylist_.CalculateSize(_repeated_familylist_codec);
|
if (Total != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilySearch_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
familylist_.Add(other.familylist_);
|
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: {
|
familylist_.AddEntriesFrom(input, _repeated_familylist_codec);
|
break;
|
}
|
case 24: {
|
Total = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 服务器广播其他玩家在线或下线
|
/// </summary>
|
public sealed partial class FamilyPlayerOnline_S2C : pb::IMessage<FamilyPlayerOnline_S2C> {
|
private static readonly pb::MessageParser<FamilyPlayerOnline_S2C> _parser = new pb::MessageParser<FamilyPlayerOnline_S2C>(() => new FamilyPlayerOnline_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyPlayerOnline_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[51]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyPlayerOnline_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyPlayerOnline_S2C(FamilyPlayerOnline_S2C other) : this() {
|
username_ = other.username_;
|
online_ = other.online_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyPlayerOnline_S2C Clone() {
|
return new FamilyPlayerOnline_S2C(this);
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
public const int UsernameFieldNumber = 1;
|
private int username_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Username {
|
get { return username_; }
|
set {
|
username_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "online" field.</summary>
|
public const int OnlineFieldNumber = 2;
|
private bool online_;
|
/// <summary>
|
/// true 在线 false 不在线
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Online {
|
get { return online_; }
|
set {
|
online_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyPlayerOnline_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyPlayerOnline_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Username != other.Username) return false;
|
if (Online != other.Online) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Username != 0) hash ^= Username.GetHashCode();
|
if (Online != false) hash ^= Online.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 != 0) {
|
output.WriteRawTag(8);
|
output.WriteInt32(Username);
|
}
|
if (Online != false) {
|
output.WriteRawTag(16);
|
output.WriteBool(Online);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Username != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Username);
|
}
|
if (Online != false) {
|
size += 1 + 1;
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyPlayerOnline_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Username != 0) {
|
Username = other.Username;
|
}
|
if (other.Online != false) {
|
Online = other.Online;
|
}
|
}
|
|
[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: {
|
Username = input.ReadInt32();
|
break;
|
}
|
case 16: {
|
Online = input.ReadBool();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 创建工会,成功返回 Success
|
/// </summary>
|
public sealed partial class FamilyCreate_C2S : pb::IMessage<FamilyCreate_C2S> {
|
private static readonly pb::MessageParser<FamilyCreate_C2S> _parser = new pb::MessageParser<FamilyCreate_C2S>(() => new FamilyCreate_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyCreate_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[52]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyCreate_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyCreate_C2S(FamilyCreate_C2S other) : this() {
|
name_ = other.name_;
|
desc_ = other.desc_;
|
icons_ = other.icons_.Clone();
|
freeJoin_ = other.freeJoin_;
|
needScore_ = other.needScore_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyCreate_C2S Clone() {
|
return new FamilyCreate_C2S(this);
|
}
|
|
/// <summary>Field number for the "name" field.</summary>
|
public const int NameFieldNumber = 1;
|
private string name_ = "";
|
/// <summary>
|
/// 工会名
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public string Name {
|
get { return name_; }
|
set {
|
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
}
|
}
|
|
/// <summary>Field number for the "desc" field.</summary>
|
public const int DescFieldNumber = 2;
|
private string desc_ = "";
|
/// <summary>
|
/// 描述 公告
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public string Desc {
|
get { return desc_; }
|
set {
|
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
}
|
}
|
|
/// <summary>Field number for the "icons" field.</summary>
|
public const int IconsFieldNumber = 3;
|
private static readonly pb::FieldCodec<int> _repeated_icons_codec
|
= pb::FieldCodec.ForInt32(26);
|
private readonly pbc::RepeatedField<int> icons_ = new pbc::RepeatedField<int>();
|
/// <summary>
|
/// 徽章图标
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<int> Icons {
|
get { return icons_; }
|
}
|
|
/// <summary>Field number for the "freeJoin" field.</summary>
|
public const int FreeJoinFieldNumber = 4;
|
private int freeJoin_;
|
/// <summary>
|
/// ! 1 免费加入,2 需要批准,3 禁止加入
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int FreeJoin {
|
get { return freeJoin_; }
|
set {
|
freeJoin_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "needScore" field.</summary>
|
public const int NeedScoreFieldNumber = 5;
|
private int needScore_;
|
/// <summary>
|
/// 需要积分
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int NeedScore {
|
get { return needScore_; }
|
set {
|
needScore_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyCreate_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyCreate_C2S other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Name != other.Name) return false;
|
if (Desc != other.Desc) return false;
|
if(!icons_.Equals(other.icons_)) return false;
|
if (FreeJoin != other.FreeJoin) return false;
|
if (NeedScore != other.NeedScore) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
hash ^= icons_.GetHashCode();
|
if (FreeJoin != 0) hash ^= FreeJoin.GetHashCode();
|
if (NeedScore != 0) hash ^= NeedScore.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 (Desc.Length != 0) {
|
output.WriteRawTag(18);
|
output.WriteString(Desc);
|
}
|
icons_.WriteTo(output, _repeated_icons_codec);
|
if (FreeJoin != 0) {
|
output.WriteRawTag(32);
|
output.WriteInt32(FreeJoin);
|
}
|
if (NeedScore != 0) {
|
output.WriteRawTag(40);
|
output.WriteInt32(NeedScore);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Name.Length != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
}
|
if (Desc.Length != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
}
|
size += icons_.CalculateSize(_repeated_icons_codec);
|
if (FreeJoin != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FreeJoin);
|
}
|
if (NeedScore != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedScore);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyCreate_C2S other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Name.Length != 0) {
|
Name = other.Name;
|
}
|
if (other.Desc.Length != 0) {
|
Desc = other.Desc;
|
}
|
icons_.Add(other.icons_);
|
if (other.FreeJoin != 0) {
|
FreeJoin = other.FreeJoin;
|
}
|
if (other.NeedScore != 0) {
|
NeedScore = other.NeedScore;
|
}
|
}
|
|
[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 18: {
|
Desc = input.ReadString();
|
break;
|
}
|
case 26:
|
case 24: {
|
icons_.AddEntriesFrom(input, _repeated_icons_codec);
|
break;
|
}
|
case 32: {
|
FreeJoin = input.ReadInt32();
|
break;
|
}
|
case 40: {
|
NeedScore = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 申请加入公会
|
/// </summary>
|
public sealed partial class FamilyJoin_C2S : pb::IMessage<FamilyJoin_C2S> {
|
private static readonly pb::MessageParser<FamilyJoin_C2S> _parser = new pb::MessageParser<FamilyJoin_C2S>(() => new FamilyJoin_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyJoin_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[53]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyJoin_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyJoin_C2S(FamilyJoin_C2S other) : this() {
|
uid_ = other.uid_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyJoin_C2S Clone() {
|
return new FamilyJoin_C2S(this);
|
}
|
|
/// <summary>Field number for the "uid" field.</summary>
|
public const int UidFieldNumber = 1;
|
private string uid_ = "";
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public string Uid {
|
get { return uid_; }
|
set {
|
uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyJoin_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyJoin_C2S other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Uid != other.Uid) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Uid.Length != 0) hash ^= Uid.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 (Uid.Length != 0) {
|
output.WriteRawTag(10);
|
output.WriteString(Uid);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Uid.Length != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyJoin_C2S other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Uid.Length != 0) {
|
Uid = other.Uid;
|
}
|
}
|
|
[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: {
|
Uid = input.ReadString();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
public sealed partial class FamilyJoin_S2C : pb::IMessage<FamilyJoin_S2C> {
|
private static readonly pb::MessageParser<FamilyJoin_S2C> _parser = new pb::MessageParser<FamilyJoin_S2C>(() => new FamilyJoin_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyJoin_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[54]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyJoin_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyJoin_S2C(FamilyJoin_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
uid_ = other.uid_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyJoin_S2C Clone() {
|
return new FamilyJoin_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "uid" field.</summary>
|
public const int UidFieldNumber = 2;
|
private string uid_ = "";
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public string Uid {
|
get { return uid_; }
|
set {
|
uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyJoin_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyJoin_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if (Uid != other.Uid) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
|
if (Uid.Length != 0) hash ^= Uid.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 (Uid.Length != 0) {
|
output.WriteRawTag(18);
|
output.WriteString(Uid);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Errorcode != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
|
}
|
if (Uid.Length != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyJoin_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
if (other.Uid.Length != 0) {
|
Uid = other.Uid;
|
}
|
}
|
|
[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: {
|
Uid = input.ReadString();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 获取聊天信息,基于分页查询,默认显示最后一页
|
/// </summary>
|
public sealed partial class FamilyGetChat_C2S : pb::IMessage<FamilyGetChat_C2S> {
|
private static readonly pb::MessageParser<FamilyGetChat_C2S> _parser = new pb::MessageParser<FamilyGetChat_C2S>(() => new FamilyGetChat_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyGetChat_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[55]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetChat_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetChat_C2S(FamilyGetChat_C2S other) : this() {
|
start_ = other.start_;
|
limit_ = other.limit_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetChat_C2S Clone() {
|
return new FamilyGetChat_C2S(this);
|
}
|
|
/// <summary>Field number for the "start" field.</summary>
|
public const int StartFieldNumber = 1;
|
private int start_;
|
/// <summary>
|
/// 0是最后一页,1倒数第二页
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Start {
|
get { return start_; }
|
set {
|
start_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "limit" field.</summary>
|
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 FamilyGetChat_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyGetChat_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(FamilyGetChat_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 FamilyGetChat_S2C : pb::IMessage<FamilyGetChat_S2C> {
|
private static readonly pb::MessageParser<FamilyGetChat_S2C> _parser = new pb::MessageParser<FamilyGetChat_S2C>(() => new FamilyGetChat_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyGetChat_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[56]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetChat_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetChat_S2C(FamilyGetChat_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
messages_ = other.messages_.Clone();
|
total_ = other.total_;
|
onlineCount_ = other.onlineCount_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetChat_S2C Clone() {
|
return new FamilyGetChat_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "messages" field.</summary>
|
public const int MessagesFieldNumber = 2;
|
private static readonly pb::FieldCodec<global::Protobuf.FamilyChatMsg> _repeated_messages_codec
|
= pb::FieldCodec.ForMessage(18, global::Protobuf.FamilyChatMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.FamilyChatMsg> messages_ = new pbc::RepeatedField<global::Protobuf.FamilyChatMsg>();
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.FamilyChatMsg> Messages {
|
get { return messages_; }
|
}
|
|
/// <summary>Field number for the "total" field.</summary>
|
public const int TotalFieldNumber = 3;
|
private int total_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Total {
|
get { return total_; }
|
set {
|
total_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "onlineCount" field.</summary>
|
public const int OnlineCountFieldNumber = 4;
|
private int onlineCount_;
|
/// <summary>
|
/// 公会在线玩家数
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int OnlineCount {
|
get { return onlineCount_; }
|
set {
|
onlineCount_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyGetChat_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyGetChat_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if(!messages_.Equals(other.messages_)) return false;
|
if (Total != other.Total) return false;
|
if (OnlineCount != other.OnlineCount) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
|
hash ^= messages_.GetHashCode();
|
if (Total != 0) hash ^= Total.GetHashCode();
|
if (OnlineCount != 0) hash ^= OnlineCount.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);
|
}
|
messages_.WriteTo(output, _repeated_messages_codec);
|
if (Total != 0) {
|
output.WriteRawTag(24);
|
output.WriteInt32(Total);
|
}
|
if (OnlineCount != 0) {
|
output.WriteRawTag(32);
|
output.WriteInt32(OnlineCount);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Errorcode != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
|
}
|
size += messages_.CalculateSize(_repeated_messages_codec);
|
if (Total != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total);
|
}
|
if (OnlineCount != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(OnlineCount);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyGetChat_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
messages_.Add(other.messages_);
|
if (other.Total != 0) {
|
Total = other.Total;
|
}
|
if (other.OnlineCount != 0) {
|
OnlineCount = other.OnlineCount;
|
}
|
}
|
|
[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: {
|
messages_.AddEntriesFrom(input, _repeated_messages_codec);
|
break;
|
}
|
case 24: {
|
Total = input.ReadInt32();
|
break;
|
}
|
case 32: {
|
OnlineCount = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 玩家发送聊天内容
|
/// </summary>
|
public sealed partial class FamilyStartChat_C2S : pb::IMessage<FamilyStartChat_C2S> {
|
private static readonly pb::MessageParser<FamilyStartChat_C2S> _parser = new pb::MessageParser<FamilyStartChat_C2S>(() => new FamilyStartChat_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyStartChat_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[57]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartChat_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartChat_C2S(FamilyStartChat_C2S other) : this() {
|
chatType_ = other.chatType_;
|
content_ = other.content_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartChat_C2S Clone() {
|
return new FamilyStartChat_C2S(this);
|
}
|
|
/// <summary>Field number for the "chatType" field.</summary>
|
public const int ChatTypeFieldNumber = 1;
|
private global::Protobuf.ChatType chatType_ = 0;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public global::Protobuf.ChatType ChatType {
|
get { return chatType_; }
|
set {
|
chatType_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "content" field.</summary>
|
public const int ContentFieldNumber = 2;
|
private string content_ = "";
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public string Content {
|
get { return content_; }
|
set {
|
content_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyStartChat_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyStartChat_C2S other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (ChatType != other.ChatType) return false;
|
if (Content != other.Content) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (ChatType != 0) hash ^= ChatType.GetHashCode();
|
if (Content.Length != 0) hash ^= Content.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 (ChatType != 0) {
|
output.WriteRawTag(8);
|
output.WriteEnum((int) ChatType);
|
}
|
if (Content.Length != 0) {
|
output.WriteRawTag(18);
|
output.WriteString(Content);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (ChatType != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ChatType);
|
}
|
if (Content.Length != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Content);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyStartChat_C2S other) {
|
if (other == null) {
|
return;
|
}
|
if (other.ChatType != 0) {
|
ChatType = other.ChatType;
|
}
|
if (other.Content.Length != 0) {
|
Content = other.Content;
|
}
|
}
|
|
[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: {
|
chatType_ = (global::Protobuf.ChatType) input.ReadEnum();
|
break;
|
}
|
case 18: {
|
Content = input.ReadString();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 这个消息也会群发给其他玩家
|
/// </summary>
|
public sealed partial class FamilyStartChat_S2C : pb::IMessage<FamilyStartChat_S2C> {
|
private static readonly pb::MessageParser<FamilyStartChat_S2C> _parser = new pb::MessageParser<FamilyStartChat_S2C>(() => new FamilyStartChat_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyStartChat_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[58]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartChat_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartChat_S2C(FamilyStartChat_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
Message = other.message_ != null ? other.Message.Clone() : null;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartChat_S2C Clone() {
|
return new FamilyStartChat_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "message" field.</summary>
|
public const int MessageFieldNumber = 2;
|
private global::Protobuf.FamilyChatMsg message_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public global::Protobuf.FamilyChatMsg Message {
|
get { return message_; }
|
set {
|
message_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyStartChat_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyStartChat_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if (!object.Equals(Message, other.Message)) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
|
if (message_ != null) hash ^= Message.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 (message_ != null) {
|
output.WriteRawTag(18);
|
output.WriteMessage(Message);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Errorcode != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
|
}
|
if (message_ != null) {
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyStartChat_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
if (other.message_ != null) {
|
if (message_ == null) {
|
message_ = new global::Protobuf.FamilyChatMsg();
|
}
|
Message.MergeFrom(other.Message);
|
}
|
}
|
|
[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 (message_ == null) {
|
message_ = new global::Protobuf.FamilyChatMsg();
|
}
|
input.ReadMessage(message_);
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 给一个玩家捐献一个宝石
|
/// </summary>
|
public sealed partial class FamilyStartDonate_C2S : pb::IMessage<FamilyStartDonate_C2S> {
|
private static readonly pb::MessageParser<FamilyStartDonate_C2S> _parser = new pb::MessageParser<FamilyStartDonate_C2S>(() => new FamilyStartDonate_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyStartDonate_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[59]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartDonate_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartDonate_C2S(FamilyStartDonate_C2S other) : this() {
|
messageId_ = other.messageId_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartDonate_C2S Clone() {
|
return new FamilyStartDonate_C2S(this);
|
}
|
|
/// <summary>Field number for the "messageId" field.</summary>
|
public const int MessageIdFieldNumber = 1;
|
private int messageId_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int MessageId {
|
get { return messageId_; }
|
set {
|
messageId_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyStartDonate_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyStartDonate_C2S other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (MessageId != other.MessageId) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (MessageId != 0) hash ^= MessageId.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 (MessageId != 0) {
|
output.WriteRawTag(8);
|
output.WriteInt32(MessageId);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (MessageId != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MessageId);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyStartDonate_C2S other) {
|
if (other == null) {
|
return;
|
}
|
if (other.MessageId != 0) {
|
MessageId = other.MessageId;
|
}
|
}
|
|
[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: {
|
MessageId = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 捐赠结果 这个消息也会群发给其他玩家
|
/// </summary>
|
public sealed partial class FamilyStartDonate_S2C : pb::IMessage<FamilyStartDonate_S2C> {
|
private static readonly pb::MessageParser<FamilyStartDonate_S2C> _parser = new pb::MessageParser<FamilyStartDonate_S2C>(() => new FamilyStartDonate_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyStartDonate_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[60]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartDonate_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartDonate_S2C(FamilyStartDonate_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
Message = other.message_ != null ? other.Message.Clone() : null;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyStartDonate_S2C Clone() {
|
return new FamilyStartDonate_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "message" field.</summary>
|
public const int MessageFieldNumber = 2;
|
private global::Protobuf.FamilyChatMsg message_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public global::Protobuf.FamilyChatMsg Message {
|
get { return message_; }
|
set {
|
message_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyStartDonate_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyStartDonate_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if (!object.Equals(Message, other.Message)) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
|
if (message_ != null) hash ^= Message.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 (message_ != null) {
|
output.WriteRawTag(18);
|
output.WriteMessage(Message);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Errorcode != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
|
}
|
if (message_ != null) {
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyStartDonate_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
if (other.message_ != null) {
|
if (message_ == null) {
|
message_ = new global::Protobuf.FamilyChatMsg();
|
}
|
Message.MergeFrom(other.Message);
|
}
|
}
|
|
[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 (message_ == null) {
|
message_ = new global::Protobuf.FamilyChatMsg();
|
}
|
input.ReadMessage(message_);
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 退出工会
|
/// 如果是会长退出,服务器会指定一个新的会长
|
/// </summary>
|
public sealed partial class FamilyQuit_C2S : pb::IMessage<FamilyQuit_C2S> {
|
private static readonly pb::MessageParser<FamilyQuit_C2S> _parser = new pb::MessageParser<FamilyQuit_C2S>(() => new FamilyQuit_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyQuit_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[61]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyQuit_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyQuit_C2S(FamilyQuit_C2S other) : this() {
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyQuit_C2S Clone() {
|
return new FamilyQuit_C2S(this);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyQuit_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyQuit_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(FamilyQuit_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 FamilyQuit_S2C : pb::IMessage<FamilyQuit_S2C> {
|
private static readonly pb::MessageParser<FamilyQuit_S2C> _parser = new pb::MessageParser<FamilyQuit_S2C>(() => new FamilyQuit_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyQuit_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[62]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyQuit_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyQuit_S2C(FamilyQuit_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyQuit_S2C Clone() {
|
return new FamilyQuit_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
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 FamilyQuit_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyQuit_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(FamilyQuit_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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// @{ 会长特有协议
|
/// 会长批准入会
|
/// </summary>
|
public sealed partial class FamilyAgreeJoin_C2S : pb::IMessage<FamilyAgreeJoin_C2S> {
|
private static readonly pb::MessageParser<FamilyAgreeJoin_C2S> _parser = new pb::MessageParser<FamilyAgreeJoin_C2S>(() => new FamilyAgreeJoin_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyAgreeJoin_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[63]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyAgreeJoin_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyAgreeJoin_C2S(FamilyAgreeJoin_C2S other) : this() {
|
messageId_ = other.messageId_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyAgreeJoin_C2S Clone() {
|
return new FamilyAgreeJoin_C2S(this);
|
}
|
|
/// <summary>Field number for the "messageId" field.</summary>
|
public const int MessageIdFieldNumber = 1;
|
private int messageId_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int MessageId {
|
get { return messageId_; }
|
set {
|
messageId_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyAgreeJoin_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyAgreeJoin_C2S other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (MessageId != other.MessageId) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (MessageId != 0) hash ^= MessageId.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 (MessageId != 0) {
|
output.WriteRawTag(8);
|
output.WriteInt32(MessageId);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (MessageId != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MessageId);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyAgreeJoin_C2S other) {
|
if (other == null) {
|
return;
|
}
|
if (other.MessageId != 0) {
|
MessageId = other.MessageId;
|
}
|
}
|
|
[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: {
|
MessageId = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
public sealed partial class FamilyAgreeJoin_S2C : pb::IMessage<FamilyAgreeJoin_S2C> {
|
private static readonly pb::MessageParser<FamilyAgreeJoin_S2C> _parser = new pb::MessageParser<FamilyAgreeJoin_S2C>(() => new FamilyAgreeJoin_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyAgreeJoin_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[64]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyAgreeJoin_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyAgreeJoin_S2C(FamilyAgreeJoin_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
NewMember = other.newMember_ != null ? other.NewMember.Clone() : null;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyAgreeJoin_S2C Clone() {
|
return new FamilyAgreeJoin_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "newMember" field.</summary>
|
public const int NewMemberFieldNumber = 2;
|
private global::Protobuf.FamilyMemberMsg newMember_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public global::Protobuf.FamilyMemberMsg NewMember {
|
get { return newMember_; }
|
set {
|
newMember_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyAgreeJoin_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyAgreeJoin_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if (!object.Equals(NewMember, other.NewMember)) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
|
if (newMember_ != null) hash ^= NewMember.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 (newMember_ != null) {
|
output.WriteRawTag(18);
|
output.WriteMessage(NewMember);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Errorcode != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
|
}
|
if (newMember_ != null) {
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(NewMember);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyAgreeJoin_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
if (other.newMember_ != null) {
|
if (newMember_ == null) {
|
newMember_ = new global::Protobuf.FamilyMemberMsg();
|
}
|
NewMember.MergeFrom(other.NewMember);
|
}
|
}
|
|
[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 (newMember_ == null) {
|
newMember_ = new global::Protobuf.FamilyMemberMsg();
|
}
|
input.ReadMessage(newMember_);
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 踢出会员
|
/// </summary>
|
public sealed partial class FamilyKickUser_C2S : pb::IMessage<FamilyKickUser_C2S> {
|
private static readonly pb::MessageParser<FamilyKickUser_C2S> _parser = new pb::MessageParser<FamilyKickUser_C2S>(() => new FamilyKickUser_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyKickUser_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[65]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyKickUser_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyKickUser_C2S(FamilyKickUser_C2S other) : this() {
|
username_ = other.username_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyKickUser_C2S Clone() {
|
return new FamilyKickUser_C2S(this);
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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 FamilyKickUser_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyKickUser_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(FamilyKickUser_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 FamilyKickUser_S2C : pb::IMessage<FamilyKickUser_S2C> {
|
private static readonly pb::MessageParser<FamilyKickUser_S2C> _parser = new pb::MessageParser<FamilyKickUser_S2C>(() => new FamilyKickUser_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyKickUser_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[66]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyKickUser_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyKickUser_S2C(FamilyKickUser_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyKickUser_S2C Clone() {
|
return new FamilyKickUser_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
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 FamilyKickUser_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyKickUser_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(FamilyKickUser_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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 转让会长
|
/// </summary>
|
public sealed partial class FamilyTransLeader_C2S : pb::IMessage<FamilyTransLeader_C2S> {
|
private static readonly pb::MessageParser<FamilyTransLeader_C2S> _parser = new pb::MessageParser<FamilyTransLeader_C2S>(() => new FamilyTransLeader_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyTransLeader_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[67]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyTransLeader_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyTransLeader_C2S(FamilyTransLeader_C2S other) : this() {
|
username_ = other.username_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyTransLeader_C2S Clone() {
|
return new FamilyTransLeader_C2S(this);
|
}
|
|
/// <summary>Field number for the "username" field.</summary>
|
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 FamilyTransLeader_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyTransLeader_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(FamilyTransLeader_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 FamilyTransLeader_S2C : pb::IMessage<FamilyTransLeader_S2C> {
|
private static readonly pb::MessageParser<FamilyTransLeader_S2C> _parser = new pb::MessageParser<FamilyTransLeader_S2C>(() => new FamilyTransLeader_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyTransLeader_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[68]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyTransLeader_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyTransLeader_S2C(FamilyTransLeader_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyTransLeader_S2C Clone() {
|
return new FamilyTransLeader_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
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 FamilyTransLeader_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyTransLeader_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(FamilyTransLeader_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;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// @ 工会商店(使用工会捐献积分兑换,所有人都有权限)
|
/// 获取捐赠商店列表
|
/// </summary>
|
public sealed partial class FamilyGetDonateShop_C2S : pb::IMessage<FamilyGetDonateShop_C2S> {
|
private static readonly pb::MessageParser<FamilyGetDonateShop_C2S> _parser = new pb::MessageParser<FamilyGetDonateShop_C2S>(() => new FamilyGetDonateShop_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyGetDonateShop_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[69]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetDonateShop_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetDonateShop_C2S(FamilyGetDonateShop_C2S other) : this() {
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetDonateShop_C2S Clone() {
|
return new FamilyGetDonateShop_C2S(this);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyGetDonateShop_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyGetDonateShop_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(FamilyGetDonateShop_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 FamilyGetDonateShop_S2C : pb::IMessage<FamilyGetDonateShop_S2C> {
|
private static readonly pb::MessageParser<FamilyGetDonateShop_S2C> _parser = new pb::MessageParser<FamilyGetDonateShop_S2C>(() => new FamilyGetDonateShop_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyGetDonateShop_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[70]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetDonateShop_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetDonateShop_S2C(FamilyGetDonateShop_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
items_ = other.items_.Clone();
|
expireTime_ = other.expireTime_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetDonateShop_S2C Clone() {
|
return new FamilyGetDonateShop_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "items" field.</summary>
|
public const int ItemsFieldNumber = 2;
|
private static readonly pb::FieldCodec<global::Protobuf.StoreItemMsg> _repeated_items_codec
|
= pb::FieldCodec.ForMessage(18, global::Protobuf.StoreItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.StoreItemMsg> items_ = new pbc::RepeatedField<global::Protobuf.StoreItemMsg>();
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.StoreItemMsg> Items {
|
get { return items_; }
|
}
|
|
/// <summary>Field number for the "expireTime" field.</summary>
|
public const int ExpireTimeFieldNumber = 3;
|
private int expireTime_;
|
/// <summary>
|
/// !下次刷新时间,UNIX时间戳,单位秒
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int ExpireTime {
|
get { return expireTime_; }
|
set {
|
expireTime_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyGetDonateShop_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyGetDonateShop_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if(!items_.Equals(other.items_)) return false;
|
if (ExpireTime != other.ExpireTime) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
|
hash ^= items_.GetHashCode();
|
if (ExpireTime != 0) hash ^= ExpireTime.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);
|
}
|
items_.WriteTo(output, _repeated_items_codec);
|
if (ExpireTime != 0) {
|
output.WriteRawTag(24);
|
output.WriteInt32(ExpireTime);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Errorcode != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
|
}
|
size += items_.CalculateSize(_repeated_items_codec);
|
if (ExpireTime != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpireTime);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyGetDonateShop_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
items_.Add(other.items_);
|
if (other.ExpireTime != 0) {
|
ExpireTime = other.ExpireTime;
|
}
|
}
|
|
[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: {
|
items_.AddEntriesFrom(input, _repeated_items_codec);
|
break;
|
}
|
case 24: {
|
ExpireTime = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 购买捐赠商城物品
|
/// </summary>
|
public sealed partial class FamilyBuyDonateShop_C2S : pb::IMessage<FamilyBuyDonateShop_C2S> {
|
private static readonly pb::MessageParser<FamilyBuyDonateShop_C2S> _parser = new pb::MessageParser<FamilyBuyDonateShop_C2S>(() => new FamilyBuyDonateShop_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyBuyDonateShop_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[71]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyDonateShop_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyDonateShop_C2S(FamilyBuyDonateShop_C2S other) : this() {
|
donateshopId_ = other.donateshopId_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyDonateShop_C2S Clone() {
|
return new FamilyBuyDonateShop_C2S(this);
|
}
|
|
/// <summary>Field number for the "donateshopId" field.</summary>
|
public const int DonateshopIdFieldNumber = 1;
|
private int donateshopId_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int DonateshopId {
|
get { return donateshopId_; }
|
set {
|
donateshopId_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyBuyDonateShop_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyBuyDonateShop_C2S other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (DonateshopId != other.DonateshopId) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (DonateshopId != 0) hash ^= DonateshopId.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 (DonateshopId != 0) {
|
output.WriteRawTag(8);
|
output.WriteInt32(DonateshopId);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (DonateshopId != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DonateshopId);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyBuyDonateShop_C2S other) {
|
if (other == null) {
|
return;
|
}
|
if (other.DonateshopId != 0) {
|
DonateshopId = other.DonateshopId;
|
}
|
}
|
|
[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: {
|
DonateshopId = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
public sealed partial class FamilyBuyDonateShop_S2C : pb::IMessage<FamilyBuyDonateShop_S2C> {
|
private static readonly pb::MessageParser<FamilyBuyDonateShop_S2C> _parser = new pb::MessageParser<FamilyBuyDonateShop_S2C>(() => new FamilyBuyDonateShop_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyBuyDonateShop_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[72]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyDonateShop_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyDonateShop_S2C(FamilyBuyDonateShop_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
donateshopId_ = other.donateshopId_;
|
curitems_ = other.curitems_.Clone();
|
buyCount_ = other.buyCount_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyDonateShop_S2C Clone() {
|
return new FamilyBuyDonateShop_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "donateshopId" field.</summary>
|
public const int DonateshopIdFieldNumber = 2;
|
private int donateshopId_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int DonateshopId {
|
get { return donateshopId_; }
|
set {
|
donateshopId_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "curitems" field.</summary>
|
public const int CuritemsFieldNumber = 3;
|
private static readonly pb::FieldCodec<global::Protobuf.RewardItemMsg> _repeated_curitems_codec
|
= pb::FieldCodec.ForMessage(26, global::Protobuf.RewardItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.RewardItemMsg> curitems_ = new pbc::RepeatedField<global::Protobuf.RewardItemMsg>();
|
/// <summary>
|
/// 消费后的当前值
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.RewardItemMsg> Curitems {
|
get { return curitems_; }
|
}
|
|
/// <summary>Field number for the "buyCount" field.</summary>
|
public const int BuyCountFieldNumber = 4;
|
private int buyCount_;
|
/// <summary>
|
/// 当前的购买次数
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int BuyCount {
|
get { return buyCount_; }
|
set {
|
buyCount_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyBuyDonateShop_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyBuyDonateShop_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if (DonateshopId != other.DonateshopId) return false;
|
if(!curitems_.Equals(other.curitems_)) return false;
|
if (BuyCount != other.BuyCount) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
|
if (DonateshopId != 0) hash ^= DonateshopId.GetHashCode();
|
hash ^= curitems_.GetHashCode();
|
if (BuyCount != 0) hash ^= BuyCount.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 (DonateshopId != 0) {
|
output.WriteRawTag(16);
|
output.WriteInt32(DonateshopId);
|
}
|
curitems_.WriteTo(output, _repeated_curitems_codec);
|
if (BuyCount != 0) {
|
output.WriteRawTag(32);
|
output.WriteInt32(BuyCount);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Errorcode != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
|
}
|
if (DonateshopId != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DonateshopId);
|
}
|
size += curitems_.CalculateSize(_repeated_curitems_codec);
|
if (BuyCount != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuyCount);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyBuyDonateShop_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
if (other.DonateshopId != 0) {
|
DonateshopId = other.DonateshopId;
|
}
|
curitems_.Add(other.curitems_);
|
if (other.BuyCount != 0) {
|
BuyCount = other.BuyCount;
|
}
|
}
|
|
[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: {
|
DonateshopId = input.ReadInt32();
|
break;
|
}
|
case 26: {
|
curitems_.AddEntriesFrom(input, _repeated_curitems_codec);
|
break;
|
}
|
case 32: {
|
BuyCount = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 获取积分商店物品列表
|
/// </summary>
|
public sealed partial class FamilyGetScoreShop_C2S : pb::IMessage<FamilyGetScoreShop_C2S> {
|
private static readonly pb::MessageParser<FamilyGetScoreShop_C2S> _parser = new pb::MessageParser<FamilyGetScoreShop_C2S>(() => new FamilyGetScoreShop_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyGetScoreShop_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[73]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetScoreShop_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetScoreShop_C2S(FamilyGetScoreShop_C2S other) : this() {
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetScoreShop_C2S Clone() {
|
return new FamilyGetScoreShop_C2S(this);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyGetScoreShop_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyGetScoreShop_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(FamilyGetScoreShop_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 FamilyGetScoreShop_S2C : pb::IMessage<FamilyGetScoreShop_S2C> {
|
private static readonly pb::MessageParser<FamilyGetScoreShop_S2C> _parser = new pb::MessageParser<FamilyGetScoreShop_S2C>(() => new FamilyGetScoreShop_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyGetScoreShop_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[74]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetScoreShop_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetScoreShop_S2C(FamilyGetScoreShop_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
items_ = other.items_.Clone();
|
expireTime_ = other.expireTime_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyGetScoreShop_S2C Clone() {
|
return new FamilyGetScoreShop_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "items" field.</summary>
|
public const int ItemsFieldNumber = 2;
|
private static readonly pb::FieldCodec<global::Protobuf.StoreItemMsg> _repeated_items_codec
|
= pb::FieldCodec.ForMessage(18, global::Protobuf.StoreItemMsg.Parser);
|
private readonly pbc::RepeatedField<global::Protobuf.StoreItemMsg> items_ = new pbc::RepeatedField<global::Protobuf.StoreItemMsg>();
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public pbc::RepeatedField<global::Protobuf.StoreItemMsg> Items {
|
get { return items_; }
|
}
|
|
/// <summary>Field number for the "expireTime" field.</summary>
|
public const int ExpireTimeFieldNumber = 3;
|
private int expireTime_;
|
/// <summary>
|
/// !下次刷新时间,UNIX时间戳,单位秒
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int ExpireTime {
|
get { return expireTime_; }
|
set {
|
expireTime_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyGetScoreShop_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyGetScoreShop_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if(!items_.Equals(other.items_)) return false;
|
if (ExpireTime != other.ExpireTime) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
|
hash ^= items_.GetHashCode();
|
if (ExpireTime != 0) hash ^= ExpireTime.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);
|
}
|
items_.WriteTo(output, _repeated_items_codec);
|
if (ExpireTime != 0) {
|
output.WriteRawTag(24);
|
output.WriteInt32(ExpireTime);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Errorcode != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
|
}
|
size += items_.CalculateSize(_repeated_items_codec);
|
if (ExpireTime != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpireTime);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyGetScoreShop_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
items_.Add(other.items_);
|
if (other.ExpireTime != 0) {
|
ExpireTime = other.ExpireTime;
|
}
|
}
|
|
[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: {
|
items_.AddEntriesFrom(input, _repeated_items_codec);
|
break;
|
}
|
case 24: {
|
ExpireTime = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
/// <summary>
|
/// 购买积分商城物品
|
/// </summary>
|
public sealed partial class FamilyBuyScoreShop_C2S : pb::IMessage<FamilyBuyScoreShop_C2S> {
|
private static readonly pb::MessageParser<FamilyBuyScoreShop_C2S> _parser = new pb::MessageParser<FamilyBuyScoreShop_C2S>(() => new FamilyBuyScoreShop_C2S());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyBuyScoreShop_C2S> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[75]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyScoreShop_C2S() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyScoreShop_C2S(FamilyBuyScoreShop_C2S other) : this() {
|
scoreshopId_ = other.scoreshopId_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyScoreShop_C2S Clone() {
|
return new FamilyBuyScoreShop_C2S(this);
|
}
|
|
/// <summary>Field number for the "scoreshopId" field.</summary>
|
public const int ScoreshopIdFieldNumber = 1;
|
private int scoreshopId_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int ScoreshopId {
|
get { return scoreshopId_; }
|
set {
|
scoreshopId_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyBuyScoreShop_C2S);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyBuyScoreShop_C2S other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (ScoreshopId != other.ScoreshopId) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (ScoreshopId != 0) hash ^= ScoreshopId.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 (ScoreshopId != 0) {
|
output.WriteRawTag(8);
|
output.WriteInt32(ScoreshopId);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (ScoreshopId != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreshopId);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyBuyScoreShop_C2S other) {
|
if (other == null) {
|
return;
|
}
|
if (other.ScoreshopId != 0) {
|
ScoreshopId = other.ScoreshopId;
|
}
|
}
|
|
[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: {
|
ScoreshopId = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
public sealed partial class FamilyBuyScoreShop_S2C : pb::IMessage<FamilyBuyScoreShop_S2C> {
|
private static readonly pb::MessageParser<FamilyBuyScoreShop_S2C> _parser = new pb::MessageParser<FamilyBuyScoreShop_S2C>(() => new FamilyBuyScoreShop_S2C());
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pb::MessageParser<FamilyBuyScoreShop_S2C> Parser { get { return _parser; } }
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public static pbr::MessageDescriptor Descriptor {
|
get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[76]; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
get { return Descriptor; }
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyScoreShop_S2C() {
|
OnConstruction();
|
}
|
|
partial void OnConstruction();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyScoreShop_S2C(FamilyBuyScoreShop_S2C other) : this() {
|
errorcode_ = other.errorcode_;
|
scoreshopId_ = other.scoreshopId_;
|
scoreshopExpired_ = other.scoreshopExpired_;
|
familyScore_ = other.familyScore_;
|
buyCount_ = other.buyCount_;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public FamilyBuyScoreShop_S2C Clone() {
|
return new FamilyBuyScoreShop_S2C(this);
|
}
|
|
/// <summary>Field number for the "errorcode" field.</summary>
|
public const int ErrorcodeFieldNumber = 1;
|
private int errorcode_;
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int Errorcode {
|
get { return errorcode_; }
|
set {
|
errorcode_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "scoreshopId" field.</summary>
|
public const int ScoreshopIdFieldNumber = 2;
|
private int scoreshopId_;
|
/// <summary>
|
/// ! 这个2个字段,复制到工会结构体里面
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int ScoreshopId {
|
get { return scoreshopId_; }
|
set {
|
scoreshopId_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "scoreshopExpired" field.</summary>
|
public const int ScoreshopExpiredFieldNumber = 3;
|
private int scoreshopExpired_;
|
/// <summary>
|
/// ! 注意,这个是不积分商店刷新时间,这个是新的BUF过期时间戳.单位秒
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int ScoreshopExpired {
|
get { return scoreshopExpired_; }
|
set {
|
scoreshopExpired_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "familyScore" field.</summary>
|
public const int FamilyScoreFieldNumber = 4;
|
private int familyScore_;
|
/// <summary>
|
/// !当前的工会积分
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int FamilyScore {
|
get { return familyScore_; }
|
set {
|
familyScore_ = value;
|
}
|
}
|
|
/// <summary>Field number for the "buyCount" field.</summary>
|
public const int BuyCountFieldNumber = 5;
|
private int buyCount_;
|
/// <summary>
|
/// ! 当前的购买次数
|
/// </summary>
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int BuyCount {
|
get { return buyCount_; }
|
set {
|
buyCount_ = value;
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override bool Equals(object other) {
|
return Equals(other as FamilyBuyScoreShop_S2C);
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public bool Equals(FamilyBuyScoreShop_S2C other) {
|
if (ReferenceEquals(other, null)) {
|
return false;
|
}
|
if (ReferenceEquals(other, this)) {
|
return true;
|
}
|
if (Errorcode != other.Errorcode) return false;
|
if (ScoreshopId != other.ScoreshopId) return false;
|
if (ScoreshopExpired != other.ScoreshopExpired) return false;
|
if (FamilyScore != other.FamilyScore) return false;
|
if (BuyCount != other.BuyCount) return false;
|
return true;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public override int GetHashCode() {
|
int hash = 1;
|
if (Errorcode != 0) hash ^= Errorcode.GetHashCode();
|
if (ScoreshopId != 0) hash ^= ScoreshopId.GetHashCode();
|
if (ScoreshopExpired != 0) hash ^= ScoreshopExpired.GetHashCode();
|
if (FamilyScore != 0) hash ^= FamilyScore.GetHashCode();
|
if (BuyCount != 0) hash ^= BuyCount.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 (ScoreshopId != 0) {
|
output.WriteRawTag(16);
|
output.WriteInt32(ScoreshopId);
|
}
|
if (ScoreshopExpired != 0) {
|
output.WriteRawTag(24);
|
output.WriteInt32(ScoreshopExpired);
|
}
|
if (FamilyScore != 0) {
|
output.WriteRawTag(32);
|
output.WriteInt32(FamilyScore);
|
}
|
if (BuyCount != 0) {
|
output.WriteRawTag(40);
|
output.WriteInt32(BuyCount);
|
}
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public int CalculateSize() {
|
int size = 0;
|
if (Errorcode != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode);
|
}
|
if (ScoreshopId != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreshopId);
|
}
|
if (ScoreshopExpired != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreshopExpired);
|
}
|
if (FamilyScore != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FamilyScore);
|
}
|
if (BuyCount != 0) {
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuyCount);
|
}
|
return size;
|
}
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
public void MergeFrom(FamilyBuyScoreShop_S2C other) {
|
if (other == null) {
|
return;
|
}
|
if (other.Errorcode != 0) {
|
Errorcode = other.Errorcode;
|
}
|
if (other.ScoreshopId != 0) {
|
ScoreshopId = other.ScoreshopId;
|
}
|
if (other.ScoreshopExpired != 0) {
|
ScoreshopExpired = other.ScoreshopExpired;
|
}
|
if (other.FamilyScore != 0) {
|
FamilyScore = other.FamilyScore;
|
}
|
if (other.BuyCount != 0) {
|
BuyCount = other.BuyCount;
|
}
|
}
|
|
[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: {
|
ScoreshopId = input.ReadInt32();
|
break;
|
}
|
case 24: {
|
ScoreshopExpired = input.ReadInt32();
|
break;
|
}
|
case 32: {
|
FamilyScore = input.ReadInt32();
|
break;
|
}
|
case 40: {
|
BuyCount = input.ReadInt32();
|
break;
|
}
|
}
|
}
|
}
|
|
}
|
|
#endregion
|
|
}
|
|
#endregion Designer generated code
|