// Generated by the protocol buffer compiler. DO NOT EDIT! // source: game.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace Protobuf { /// Holder for reflection information generated from game.proto public static partial class GameReflection { #region Descriptor /// File descriptor for game.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GameReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CgpnYW1lLnByb3RvEghwcm90b2J1ZhoMY29tbW9uLnByb3RvIkIKCUxvZ2lu", "X0MyUxIQCgh1c2VybmFtZRgBIAEoCRIPCgdjaGFubmVsGAIgASgFEhIKCnNl", "c3Npb25LZXkYAyABKAkiRwoJTG9naW5fUzJDEhEKCWVycm9yY29kZRgBIAEo", "BRInCgh1c2VyZGF0YRgCIAEoCzIVLnByb3RvYnVmLlVzZXJEYXRhTXNnIiIK", "EFNldEdlbURlY2tJZF9DMlMSDgoGZGVja2lkGAEgASgFIjUKEFNldEdlbURl", "Y2tJZF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEg4KBmRlY2tpZBgCIAEoBSJA", "Cg9Nb3ZlR2VtRGVja19DMlMSDgoGZGVja2lkGAEgASgFEg4KBnNsb3RpZBgC", "IAEoBRINCgVnZW1pZBgDIAEoBSIkCg9Nb3ZlR2VtRGVja19TMkMSEQoJZXJy", "b3Jjb2RlGAEgASgFIjsKDUdNQ29tbWFuZF9DMlMSDAoEdHlwZRgBIAEoCRIN", "CgVjZmdpZBgCIAEoBRINCgVjb3VudBgDIAEoBSJeCg1HTUNvbW1hbmRfUzJD", "EhEKCWVycm9yY29kZRgBIAEoBRIMCgR0eXBlGAIgASgJEg0KBWNmZ2lkGAMg", "ASgFEg0KBWNvdW50GAQgASgFEg4KBnBhcmFtMRgFIAEoBSIuCg5MZXZlbHVw", "R2VtX0MyUxINCgVnZW1pZBgBIAEoBRINCgVsZXZlbBgCIAEoBSJfCg5MZXZl", "bHVwR2VtX1MyQxIRCgllcnJvcmNvZGUYASABKAUSDQoFZ2VtaWQYAiABKAUS", "DQoFbGV2ZWwYAyABKAUSDQoFY291bnQYBCABKAUSDQoFbW9uZXkYBSABKAUi", "MQoRR2V0RnJpZW5kTGlzdF9DMlMSDQoFc3RhcnQYASABKAUSDQoFbGltaXQY", "AiABKAUiWwoRR2V0RnJpZW5kTGlzdF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgF", "EiQKB2ZyaWVuZHMYAiADKAsyEy5wcm90b2J1Zi5GcmllbmRNc2cSDQoFdG90", "YWwYAyABKAUiMAoQR2V0QmxvY2tMaXN0X0MyUxINCgVzdGFydBgBIAEoBRIN", "CgVsaW1pdBgCIAEoBSJZChBHZXRCbG9ja0xpc3RfUzJDEhEKCWVycm9yY29k", "ZRgBIAEoBRIjCgZibG9ja3MYAiADKAsyEy5wcm90b2J1Zi5GcmllbmRNc2cS", "DQoFdG90YWwYAyABKAUiIgoORmluZEZyaWVuZF9DMlMSEAoIdXNlcm5hbWUY", "ASABKAkiSAoORmluZEZyaWVuZF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEiMK", "BmZyaWVuZBgCIAEoCzITLnByb3RvYnVmLkZyaWVuZE1zZyI4ChhHZXRGcmll", "bmRSZXF1ZXN0TGlzdF9DMlMSDQoFc3RhcnQYASABKAUSDQoFbGltaXQYAiAB", "KAUiYgoYR2V0RnJpZW5kUmVxdWVzdExpc3RfUzJDEhEKCWVycm9yY29kZRgB", "IAEoBRIkCgdmcmllbmRzGAIgAygLMhMucHJvdG9idWYuRnJpZW5kTXNnEg0K", "BXRvdGFsGAMgASgFIiUKEUZyaWVuZFJlcXVlc3RfQzJTEhAKCHVzZXJuYW1l", "GAEgASgJIiYKEUZyaWVuZFJlcXVlc3RfUzJDEhEKCWVycm9yY29kZRgBIAEo", "BSIkChBGcmllbmREZWxldGVfQzJTEhAKCHVzZXJuYW1lGAEgASgJIjcKEEZy", "aWVuZERlbGV0ZV9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEhAKCHVzZXJuYW1l", "GAIgASgJIiMKD0ZyaWVuZEJsb2NrX0MyUxIQCgh1c2VybmFtZRgBIAEoCSI2", "Cg9GcmllbmRCbG9ja19TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEhAKCHVzZXJu", "YW1lGAIgASgJIjEKDUZyaWVuZEFkZF9DMlMSEAoIdXNlcm5hbWUYASABKAkS", "DgoGYWNjZXB0GAIgASgIIkQKDUZyaWVuZEFkZF9TMkMSEQoJZXJyb3Jjb2Rl", "GAEgASgFEhAKCHVzZXJuYW1lGAIgASgJEg4KBmFjY2VwdBgDIAEoCCIpChdG", "cmllbmRBY2NlcHRSZXF1ZXN0X0MyUxIOCgZhY2NlcHQYASABKAgiPAoXRnJp", "ZW5kQWNjZXB0UmVxdWVzdF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEg4KBmFj", "Y2VwdBgCIAEoCCIYChZHZXRSZWNvbW1lbmRGcmllbmRfQzJTIlEKFkdldFJl", "Y29tbWVuZEZyaWVuZF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEiQKB2ZyaWVu", "ZHMYAiADKAsyEy5wcm90b2J1Zi5GcmllbmRNc2ciIwoPU2V0Tmlja05hbWVf", "QzJTEhAKCG5pY2tuYW1lGAEgASgJIkQKD1NldE5pY2tOYW1lX1MyQxIRCgll", "cnJvcmNvZGUYASABKAUSEAoIbmlja25hbWUYAiABKAkSDAoEZ29sZBgDIAEo", "BSIXChVQdXNoRnJpZW5kUmVxdWVzdF9TMkMiFgoUR2V0U3RvcmVJdGVtTGlz", "dF9DMlMiUAoUR2V0U3RvcmVJdGVtTGlzdF9TMkMSEQoJZXJyb3Jjb2RlGAEg", "ASgFEiUKBWFyZWFzGAIgAygLMhYucHJvdG9idWYuU3RvcmVBcmVhTXNnIiMK", "EEJ1eVN0b3JlSXRlbV9DMlMSDwoHc3RvcmVpZBgBIAEoBSLJAQoQQnV5U3Rv", "cmVJdGVtX1MyQxIRCgllcnJvcmNvZGUYASABKAUSEwoLZ2FtZW9yZGVyaWQY", "AiABKAkSKQoIY3VyaXRlbXMYAyADKAsyFy5wcm90b2J1Zi5SZXdhcmRJdGVt", "TXNnEg8KB3N0b3JlaWQYBCABKAUSEwoLcmVmcmVzaFRpbWUYBSABKAUSEAoI", "YnV5Q291bnQYBiABKAUSKgoJYm94cmV3YXJkGAcgAygLMhcucHJvdG9idWYu", "UmV3YXJkSXRlbU1zZyITChFHZXRCYXR0bGVQYXNzX0MyUyKbAQoRR2V0QmF0", "dGxlUGFzc19TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEg0KBWxldmVsGAIgASgF", "EgsKA2V4cBgDIAEoBRISCgpleHBpcmV0aW1lGAQgASgFEhIKCnBhc3N0aW1l", "aWQYBSABKAUSCwoDdmlwGAYgASgIEg4KBmlzb3BlbhgHIAEoCBISCgp0YWtl", "bml0ZW1zGAggAygFIiEKEUJ1eUJhdHRsZVBhc3NfQzJTEgwKBHR5cGUYASAB", "KAUiZQoRQnV5QmF0dGxlUGFzc19TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEhMK", "C2dhbWVvcmRlcmlkGAIgASgJEgwKBHR5cGUYAyABKAUSDQoFbGV2ZWwYBCAB", "KAUSCwoDZXhwGAUgASgFIigKFlRha2VCYXR0bGVQYXNzSXRlbV9DMlMSDgoG", "aXRlbWlkGAEgASgFIpIBChZUYWtlQmF0dGxlUGFzc0l0ZW1fUzJDEhEKCWVy", "cm9yY29kZRgBIAEoBRIOCgZpdGVtaWQYAiABKAUSKQoIY3VyaXRlbXMYAyAD", "KAsyFy5wcm90b2J1Zi5SZXdhcmRJdGVtTXNnEioKCWJveHJld2FyZBgEIAMo", "CzIXLnByb3RvYnVmLlJld2FyZEl0ZW1Nc2ciJwoWQnV5QmF0dGxlUGFzc0xl", "dmVsX0MyUxINCgVsZXZlbBgBIAEoBSJVChZCdXlCYXR0bGVQYXNzTGV2ZWxf", "UzJDEhEKCWVycm9yY29kZRgBIAEoBRINCgVsZXZlbBgCIAEoBRILCgNleHAY", "AyABKAUSDAoEZ29sZBgEIAEoBSIhChJVbkxvY2tBcmVuYUJveF9DMlMSCwoD", "cG9zGAEgASgFIk8KElVuTG9ja0FyZW5hQm94X1MyQxIRCgllcnJvcmNvZGUY", "ASABKAUSJgoHYXJlYWJveBgCIAEoCzIVLnByb3RvYnVmLkFyZW5hQm94TXNn", "Ii0KEFRha2VBcmVuYUJveF9DMlMSCwoDcG9zGAEgASgFEgwKBGZyZWUYAiAB", "KAgimAEKEFRha2VBcmVuYUJveF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEgsK", "A3BvcxgCIAEoBRINCgVib3hpZBgDIAEoBRIpCghjdXJpdGVtcxgEIAMoCzIX", "LnByb3RvYnVmLlJld2FyZEl0ZW1Nc2cSKgoJYm94cmV3YXJkGAUgAygLMhcu", "cHJvdG9idWYuUmV3YXJkSXRlbU1zZyI1Cg5GYW1pbHlJbmZvX1MyQxIjCgZm", "YW1pbHkYASABKAsyEy5wcm90b2J1Zi5GYW1pbHlNc2ciLwoQRmFtaWx5U2Vh", "cmNoX0MyUxIMCgRuYW1lGAEgASgJEg0KBWxpbWl0GAIgASgFIlgKEEZhbWls", "eVNlYXJjaF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEjEKCmZhbWlseWxpc3QY", "AiADKAsyHS5wcm90b2J1Zi5GYW1pbHlTZWFyY2hJdGVtTXNnIjoKFkZhbWls", "eVBsYXllck9ubGluZV9TMkMSEAoIdXNlcm5hbWUYASABKAUSDgoGb25saW5l", "GAIgASgIImIKEEZhbWlseUNyZWF0ZV9DMlMSDAoEbmFtZRgBIAEoCRIMCgRk", "ZXNjGAIgASgJEg0KBWljb25zGAMgAygFEhAKCGZyZWVKb2luGAQgASgFEhEK", "CW5lZWRTY29yZRgFIAEoBSJKChBGYW1pbHlDcmVhdGVfUzJDEhEKCWVycm9y", "Y29kZRgBIAEoBRIjCgZmYW1pbHkYAiABKAsyEy5wcm90b2J1Zi5GYW1pbHlN", "c2ciHQoORmFtaWx5RmluZF9DMlMSCwoDdWlkGAEgASgJIkgKDkZhbWlseUZp", "bmRfUzJDEhEKCWVycm9yY29kZRgBIAEoBRIjCgZmYW1pbHkYAiABKAsyEy5w", "cm90b2J1Zi5GYW1pbHlNc2ciHQoORmFtaWx5Sm9pbl9DMlMSCwoDdWlkGAEg", "ASgJIjAKDkZhbWlseUpvaW5fUzJDEhEKCWVycm9yY29kZRgBIAEoBRILCgN1", "aWQYAiABKAkiIgoRRmFtaWx5R2V0Q2hhdF9DMlMSDQoFbGltaXQYASABKAUi", "ZgoRRmFtaWx5R2V0Q2hhdF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEikKCG1l", "c3NhZ2VzGAIgAygLMhcucHJvdG9idWYuRmFtaWx5Q2hhdE1zZxITCgtvbmxp", "bmVDb3VudBgEIAEoBSJMChNGYW1pbHlTdGFydENoYXRfQzJTEiQKCGNoYXRU", "eXBlGAEgASgOMhIucHJvdG9idWYuQ2hhdFR5cGUSDwoHY29udGVudBgCIAEo", "CSJSChNGYW1pbHlTdGFydENoYXRfUzJDEhEKCWVycm9yY29kZRgBIAEoBRIo", "CgdtZXNzYWdlGAIgASgLMhcucHJvdG9idWYuRmFtaWx5Q2hhdE1zZyIqChVG", "YW1pbHlTdGFydERvbmF0ZV9DMlMSEQoJbWVzc2FnZUlkGAEgASgFIlQKFUZh", "bWlseVN0YXJ0RG9uYXRlX1MyQxIRCgllcnJvcmNvZGUYASABKAUSKAoHbWVz", "c2FnZRgCIAEoCzIXLnByb3RvYnVmLkZhbWlseUNoYXRNc2ciEAoORmFtaWx5", "UXVpdF9DMlMiIwoORmFtaWx5UXVpdF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgF", "IigKE0ZhbWlseUFncmVlSm9pbl9DMlMSEQoJbWVzc2FnZUlkGAEgASgFIlYK", "E0ZhbWlseUFncmVlSm9pbl9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEiwKCW5l", "d01lbWJlchgCIAEoCzIZLnByb3RvYnVmLkZhbWlseU1lbWJlck1zZyImChJG", "YW1pbHlLaWNrVXNlcl9DMlMSEAoIdXNlcm5hbWUYASABKAkiJwoSRmFtaWx5", "S2lja1VzZXJfUzJDEhEKCWVycm9yY29kZRgBIAEoBSIpChVGYW1pbHlUcmFu", "c0xlYWRlcl9DMlMSEAoIdXNlcm5hbWUYASABKAkiKgoVRmFtaWx5VHJhbnNM", "ZWFkZXJfUzJDEhEKCWVycm9yY29kZRgBIAEoBSIZChdGYW1pbHlHZXREb25h", "dGVTaG9wX0MyUyJnChdGYW1pbHlHZXREb25hdGVTaG9wX1MyQxIRCgllcnJv", "cmNvZGUYASABKAUSJQoFaXRlbXMYAiADKAsyFi5wcm90b2J1Zi5TdG9yZUl0", "ZW1Nc2cSEgoKZXhwaXJlVGltZRgDIAEoBSIvChdGYW1pbHlCdXlEb25hdGVT", "aG9wX0MyUxIUCgxkb25hdGVzaG9wSWQYASABKAUifwoXRmFtaWx5QnV5RG9u", "YXRlU2hvcF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEhQKDGRvbmF0ZXNob3BJ", "ZBgCIAEoBRIpCghjdXJpdGVtcxgDIAMoCzIXLnByb3RvYnVmLlJld2FyZEl0", "ZW1Nc2cSEAoIYnV5Q291bnQYBCABKAUiGAoWRmFtaWx5R2V0U2NvcmVTaG9w", "X0MyUyJmChZGYW1pbHlHZXRTY29yZVNob3BfUzJDEhEKCWVycm9yY29kZRgB", "IAEoBRIlCgVpdGVtcxgCIAMoCzIWLnByb3RvYnVmLlN0b3JlSXRlbU1zZxIS", "CgpleHBpcmVUaW1lGAMgASgFIi0KFkZhbWlseUJ1eVNjb3JlU2hvcF9DMlMS", "EwoLc2NvcmVzaG9wSWQYASABKAUigQEKFkZhbWlseUJ1eVNjb3JlU2hvcF9T", "MkMSEQoJZXJyb3Jjb2RlGAEgASgFEhMKC3Njb3Jlc2hvcElkGAIgASgFEhgK", "EHNjb3Jlc2hvcEV4cGlyZWQYAyABKAUSEwoLZmFtaWx5U2NvcmUYBCABKAUS", "EAoIYnV5Q291bnQYBSABKAViBnByb3RvMw==")); 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.FamilyInfo_S2C), global::Protobuf.FamilyInfo_S2C.Parser, new[]{ "Family" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilySearch_C2S), global::Protobuf.FamilySearch_C2S.Parser, new[]{ "Name", "Limit" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilySearch_S2C), global::Protobuf.FamilySearch_S2C.Parser, new[]{ "Errorcode", "Familylist" }, 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.FamilyCreate_S2C), global::Protobuf.FamilyCreate_S2C.Parser, new[]{ "Errorcode", "Family" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyFind_C2S), global::Protobuf.FamilyFind_C2S.Parser, new[]{ "Uid" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyFind_S2C), global::Protobuf.FamilyFind_S2C.Parser, new[]{ "Errorcode", "Family" }, 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[]{ "Limit" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetChat_S2C), global::Protobuf.FamilyGetChat_S2C.Parser, new[]{ "Errorcode", "Messages", "OnlineCount" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartChat_C2S), global::Protobuf.FamilyStartChat_C2S.Parser, new[]{ "ChatType", "Content" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartChat_S2C), global::Protobuf.FamilyStartChat_S2C.Parser, new[]{ "Errorcode", "Message" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartDonate_C2S), global::Protobuf.FamilyStartDonate_C2S.Parser, new[]{ "MessageId" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartDonate_S2C), global::Protobuf.FamilyStartDonate_S2C.Parser, new[]{ "Errorcode", "Message" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyQuit_C2S), global::Protobuf.FamilyQuit_C2S.Parser, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyQuit_S2C), global::Protobuf.FamilyQuit_S2C.Parser, new[]{ "Errorcode" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyAgreeJoin_C2S), global::Protobuf.FamilyAgreeJoin_C2S.Parser, new[]{ "MessageId" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyAgreeJoin_S2C), global::Protobuf.FamilyAgreeJoin_S2C.Parser, new[]{ "Errorcode", "NewMember" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyKickUser_C2S), global::Protobuf.FamilyKickUser_C2S.Parser, new[]{ "Username" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyKickUser_S2C), global::Protobuf.FamilyKickUser_S2C.Parser, new[]{ "Errorcode" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyTransLeader_C2S), global::Protobuf.FamilyTransLeader_C2S.Parser, new[]{ "Username" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyTransLeader_S2C), global::Protobuf.FamilyTransLeader_S2C.Parser, new[]{ "Errorcode" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetDonateShop_C2S), global::Protobuf.FamilyGetDonateShop_C2S.Parser, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetDonateShop_S2C), global::Protobuf.FamilyGetDonateShop_S2C.Parser, new[]{ "Errorcode", "Items", "ExpireTime" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyBuyDonateShop_C2S), global::Protobuf.FamilyBuyDonateShop_C2S.Parser, new[]{ "DonateshopId" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyBuyDonateShop_S2C), global::Protobuf.FamilyBuyDonateShop_S2C.Parser, new[]{ "Errorcode", "DonateshopId", "Curitems", "BuyCount" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetScoreShop_C2S), global::Protobuf.FamilyGetScoreShop_C2S.Parser, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetScoreShop_S2C), global::Protobuf.FamilyGetScoreShop_S2C.Parser, new[]{ "Errorcode", "Items", "ExpireTime" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyBuyScoreShop_C2S), global::Protobuf.FamilyBuyScoreShop_C2S.Parser, new[]{ "ScoreshopId" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyBuyScoreShop_S2C), global::Protobuf.FamilyBuyScoreShop_S2C.Parser, new[]{ "Errorcode", "ScoreshopId", "ScoreshopExpired", "FamilyScore", "BuyCount" }, null, null, null) })); } #endregion } #region Messages /// /// 登陆 /// public sealed partial class Login_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Login_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Login_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Login_C2S(Login_C2S other) : this() { username_ = other.username_; channel_ = other.channel_; sessionKey_ = other.sessionKey_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Login_C2S Clone() { return new Login_C2S(this); } /// Field number for the "username" field. public const int UsernameFieldNumber = 1; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "channel" field. public const int ChannelFieldNumber = 2; private int channel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Channel { get { return channel_; } set { channel_ = value; } } /// Field number for the "sessionKey" field. public const int SessionKeyFieldNumber = 3; private string sessionKey_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string SessionKey { get { return sessionKey_; } set { sessionKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Login_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Login_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Username != other.Username) return false; if (Channel != other.Channel) return false; if (SessionKey != other.SessionKey) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Username.Length != 0) hash ^= Username.GetHashCode(); if (Channel != 0) hash ^= Channel.GetHashCode(); if (SessionKey.Length != 0) hash ^= SessionKey.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Username.Length != 0) { output.WriteRawTag(10); output.WriteString(Username); } if (Channel != 0) { output.WriteRawTag(16); output.WriteInt32(Channel); } if (SessionKey.Length != 0) { output.WriteRawTag(26); output.WriteString(SessionKey); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Username.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } if (Channel != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Channel); } if (SessionKey.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionKey); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Login_C2S other) { if (other == null) { return; } if (other.Username.Length != 0) { Username = other.Username; } if (other.Channel != 0) { Channel = other.Channel; } if (other.SessionKey.Length != 0) { SessionKey = other.SessionKey; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { Username = input.ReadString(); break; } case 16: { Channel = input.ReadInt32(); break; } case 26: { SessionKey = input.ReadString(); break; } } } } } public sealed partial class Login_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Login_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Login_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Login_S2C(Login_S2C other) : this() { errorcode_ = other.errorcode_; Userdata = other.userdata_ != null ? other.Userdata.Clone() : null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Login_S2C Clone() { return new Login_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "userdata" field. public const int UserdataFieldNumber = 2; private global::Protobuf.UserDataMsg userdata_; /// /// *玩家详细信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Protobuf.UserDataMsg Userdata { get { return userdata_; } set { userdata_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Login_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Login_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (!object.Equals(Userdata, other.Userdata)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (userdata_ != null) hash ^= Userdata.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (userdata_ != null) { output.WriteRawTag(18); output.WriteMessage(Userdata); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (userdata_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Userdata); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Login_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.userdata_ != null) { if (userdata_ == null) { userdata_ = new global::Protobuf.UserDataMsg(); } Userdata.MergeFrom(other.Userdata); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { if (userdata_ == null) { userdata_ = new global::Protobuf.UserDataMsg(); } input.ReadMessage(userdata_); break; } } } } } /// /// 设置默认编组 /// public sealed partial class SetGemDeckId_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetGemDeckId_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetGemDeckId_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetGemDeckId_C2S(SetGemDeckId_C2S other) : this() { deckid_ = other.deckid_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetGemDeckId_C2S Clone() { return new SetGemDeckId_C2S(this); } /// Field number for the "deckid" field. public const int DeckidFieldNumber = 1; private int deckid_; /// /// 0,1,2 索引编号 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Deckid { get { return deckid_; } set { deckid_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as SetGemDeckId_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(SetGemDeckId_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Deckid != other.Deckid) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Deckid != 0) hash ^= Deckid.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Deckid != 0) { output.WriteRawTag(8); output.WriteInt32(Deckid); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Deckid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Deckid); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(SetGemDeckId_C2S other) { if (other == null) { return; } if (other.Deckid != 0) { Deckid = other.Deckid; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Deckid = input.ReadInt32(); break; } } } } } public sealed partial class SetGemDeckId_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetGemDeckId_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetGemDeckId_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetGemDeckId_S2C(SetGemDeckId_S2C other) : this() { errorcode_ = other.errorcode_; deckid_ = other.deckid_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetGemDeckId_S2C Clone() { return new SetGemDeckId_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "deckid" field. public const int DeckidFieldNumber = 2; private int deckid_; /// /// 0,1,2 索引编号 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Deckid { get { return deckid_; } set { deckid_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as SetGemDeckId_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(SetGemDeckId_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Deckid != other.Deckid) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Deckid != 0) hash ^= Deckid.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Deckid != 0) { output.WriteRawTag(16); output.WriteInt32(Deckid); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Deckid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Deckid); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(SetGemDeckId_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Deckid != 0) { Deckid = other.Deckid; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 16: { Deckid = input.ReadInt32(); break; } } } } } /// /// 宝石编组 /// public sealed partial class MoveGemDeck_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoveGemDeck_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MoveGemDeck_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MoveGemDeck_C2S(MoveGemDeck_C2S other) : this() { deckid_ = other.deckid_; slotid_ = other.slotid_; gemid_ = other.gemid_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MoveGemDeck_C2S Clone() { return new MoveGemDeck_C2S(this); } /// Field number for the "deckid" field. public const int DeckidFieldNumber = 1; private int deckid_; /// /// 0,1,2 索引编号 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Deckid { get { return deckid_; } set { deckid_ = value; } } /// Field number for the "slotid" field. public const int SlotidFieldNumber = 2; private int slotid_; /// /// 0-4之间整数,表示具体的位置 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Slotid { get { return slotid_; } set { slotid_ = value; } } /// Field number for the "gemid" field. public const int GemidFieldNumber = 3; private int gemid_; /// /// *宝石ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Gemid { get { return gemid_; } set { gemid_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as MoveGemDeck_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(MoveGemDeck_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Deckid != other.Deckid) return false; if (Slotid != other.Slotid) return false; if (Gemid != other.Gemid) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Deckid != 0) hash ^= Deckid.GetHashCode(); if (Slotid != 0) hash ^= Slotid.GetHashCode(); if (Gemid != 0) hash ^= Gemid.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Deckid != 0) { output.WriteRawTag(8); output.WriteInt32(Deckid); } if (Slotid != 0) { output.WriteRawTag(16); output.WriteInt32(Slotid); } if (Gemid != 0) { output.WriteRawTag(24); output.WriteInt32(Gemid); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Deckid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Deckid); } if (Slotid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Slotid); } if (Gemid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gemid); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(MoveGemDeck_C2S other) { if (other == null) { return; } if (other.Deckid != 0) { Deckid = other.Deckid; } if (other.Slotid != 0) { Slotid = other.Slotid; } if (other.Gemid != 0) { Gemid = other.Gemid; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Deckid = input.ReadInt32(); break; } case 16: { Slotid = input.ReadInt32(); break; } case 24: { Gemid = input.ReadInt32(); break; } } } } } public sealed partial class MoveGemDeck_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoveGemDeck_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MoveGemDeck_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MoveGemDeck_S2C(MoveGemDeck_S2C other) : this() { errorcode_ = other.errorcode_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MoveGemDeck_S2C Clone() { return new MoveGemDeck_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; /// /// 为真表示上阵,false表示下阵 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as MoveGemDeck_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(MoveGemDeck_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(MoveGemDeck_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } } } } } /// /// GM 指令 /// public sealed partial class GMCommand_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GMCommand_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[6]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GMCommand_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GMCommand_C2S(GMCommand_C2S other) : this() { type_ = other.type_; cfgid_ = other.cfgid_; count_ = other.count_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GMCommand_C2S Clone() { return new GMCommand_C2S(this); } /// Field number for the "type" field. public const int TypeFieldNumber = 1; private string type_ = ""; /// /// 类型 如money gold gem 等等 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Type { get { return type_; } set { type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "cfgid" field. public const int CfgidFieldNumber = 2; private int cfgid_; /// /// 配表ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Cfgid { get { return cfgid_; } set { cfgid_ = value; } } /// Field number for the "count" field. public const int CountFieldNumber = 3; private int count_; /// /// 增加值 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Count { get { return count_; } set { count_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GMCommand_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GMCommand_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Type != other.Type) return false; if (Cfgid != other.Cfgid) return false; if (Count != other.Count) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Type.Length != 0) hash ^= Type.GetHashCode(); if (Cfgid != 0) hash ^= Cfgid.GetHashCode(); if (Count != 0) hash ^= Count.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Type.Length != 0) { output.WriteRawTag(10); output.WriteString(Type); } if (Cfgid != 0) { output.WriteRawTag(16); output.WriteInt32(Cfgid); } if (Count != 0) { output.WriteRawTag(24); output.WriteInt32(Count); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Type.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); } if (Cfgid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cfgid); } if (Count != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GMCommand_C2S other) { if (other == null) { return; } if (other.Type.Length != 0) { Type = other.Type; } if (other.Cfgid != 0) { Cfgid = other.Cfgid; } if (other.Count != 0) { Count = other.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { Type = input.ReadString(); break; } case 16: { Cfgid = input.ReadInt32(); break; } case 24: { Count = input.ReadInt32(); break; } } } } } /// /// * /// 如果type=arenabox 则 cfgid为 boxid,count 为 pos 位置(0-3) param1为过期时间撮 单位秒 /// public sealed partial class GMCommand_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GMCommand_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[7]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GMCommand_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GMCommand_S2C(GMCommand_S2C other) : this() { errorcode_ = other.errorcode_; type_ = other.type_; cfgid_ = other.cfgid_; count_ = other.count_; param1_ = other.param1_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GMCommand_S2C Clone() { return new GMCommand_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "type" field. public const int TypeFieldNumber = 2; private string type_ = ""; /// /// 类型 如money gold gem 等等 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Type { get { return type_; } set { type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "cfgid" field. public const int CfgidFieldNumber = 3; private int cfgid_; /// /// 宝石、道具 数据表id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Cfgid { get { return cfgid_; } set { cfgid_ = value; } } /// Field number for the "count" field. public const int CountFieldNumber = 4; private int count_; /// /// 改变后的最终数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Count { get { return count_; } set { count_ = value; } } /// Field number for the "param1" field. public const int Param1FieldNumber = 5; private int param1_; /// /// 额外参数1 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Param1 { get { return param1_; } set { param1_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GMCommand_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GMCommand_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Type != other.Type) return false; if (Cfgid != other.Cfgid) return false; if (Count != other.Count) return false; if (Param1 != other.Param1) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Type.Length != 0) hash ^= Type.GetHashCode(); if (Cfgid != 0) hash ^= Cfgid.GetHashCode(); if (Count != 0) hash ^= Count.GetHashCode(); if (Param1 != 0) hash ^= Param1.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Type.Length != 0) { output.WriteRawTag(18); output.WriteString(Type); } if (Cfgid != 0) { output.WriteRawTag(24); output.WriteInt32(Cfgid); } if (Count != 0) { output.WriteRawTag(32); output.WriteInt32(Count); } if (Param1 != 0) { output.WriteRawTag(40); output.WriteInt32(Param1); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Type.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); } if (Cfgid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cfgid); } if (Count != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count); } if (Param1 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Param1); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GMCommand_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Type.Length != 0) { Type = other.Type; } if (other.Cfgid != 0) { Cfgid = other.Cfgid; } if (other.Count != 0) { Count = other.Count; } if (other.Param1 != 0) { Param1 = other.Param1; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { Type = input.ReadString(); break; } case 24: { Cfgid = input.ReadInt32(); break; } case 32: { Count = input.ReadInt32(); break; } case 40: { Param1 = input.ReadInt32(); break; } } } } } /// /// *宝石升级 /// public sealed partial class LevelupGem_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LevelupGem_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[8]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public LevelupGem_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public LevelupGem_C2S(LevelupGem_C2S other) : this() { gemid_ = other.gemid_; level_ = other.level_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public LevelupGem_C2S Clone() { return new LevelupGem_C2S(this); } /// Field number for the "gemid" field. public const int GemidFieldNumber = 1; private int gemid_; /// /// *宝石ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Gemid { get { return gemid_; } set { gemid_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 2; private int level_; /// /// *希望升到的等级 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Level { get { return level_; } set { level_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as LevelupGem_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(LevelupGem_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Gemid != other.Gemid) return false; if (Level != other.Level) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Gemid != 0) hash ^= Gemid.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Gemid != 0) { output.WriteRawTag(8); output.WriteInt32(Gemid); } if (Level != 0) { output.WriteRawTag(16); output.WriteInt32(Level); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Gemid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gemid); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(LevelupGem_C2S other) { if (other == null) { return; } if (other.Gemid != 0) { Gemid = other.Gemid; } if (other.Level != 0) { Level = other.Level; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Gemid = input.ReadInt32(); break; } case 16: { Level = input.ReadInt32(); break; } } } } } public sealed partial class LevelupGem_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LevelupGem_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[9]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public LevelupGem_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public LevelupGem_S2C(LevelupGem_S2C other) : this() { errorcode_ = other.errorcode_; gemid_ = other.gemid_; level_ = other.level_; count_ = other.count_; money_ = other.money_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public LevelupGem_S2C Clone() { return new LevelupGem_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "gemid" field. public const int GemidFieldNumber = 2; private int gemid_; /// /// *宝石ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Gemid { get { return gemid_; } set { gemid_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 3; private int level_; /// /// *新的等级 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Level { get { return level_; } set { level_ = value; } } /// Field number for the "count" field. public const int CountFieldNumber = 4; private int count_; /// /// *新的宝石个数 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Count { get { return count_; } set { count_ = value; } } /// Field number for the "money" field. public const int MoneyFieldNumber = 5; private int money_; /// /// 新的金币数 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Money { get { return money_; } set { money_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as LevelupGem_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(LevelupGem_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Gemid != other.Gemid) return false; if (Level != other.Level) return false; if (Count != other.Count) return false; if (Money != other.Money) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Gemid != 0) hash ^= Gemid.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (Count != 0) hash ^= Count.GetHashCode(); if (Money != 0) hash ^= Money.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Gemid != 0) { output.WriteRawTag(16); output.WriteInt32(Gemid); } if (Level != 0) { output.WriteRawTag(24); output.WriteInt32(Level); } if (Count != 0) { output.WriteRawTag(32); output.WriteInt32(Count); } if (Money != 0) { output.WriteRawTag(40); output.WriteInt32(Money); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Gemid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gemid); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); } if (Count != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count); } if (Money != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Money); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(LevelupGem_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Gemid != 0) { Gemid = other.Gemid; } if (other.Level != 0) { Level = other.Level; } if (other.Count != 0) { Count = other.Count; } if (other.Money != 0) { Money = other.Money; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 16: { Gemid = input.ReadInt32(); break; } case 24: { Level = input.ReadInt32(); break; } case 32: { Count = input.ReadInt32(); break; } case 40: { Money = input.ReadInt32(); break; } } } } } /// /// 获取好友列表 /// public sealed partial class GetFriendList_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendList_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[10]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendList_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendList_C2S(GetFriendList_C2S other) : this() { start_ = other.start_; limit_ = other.limit_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendList_C2S Clone() { return new GetFriendList_C2S(this); } /// Field number for the "start" field. public const int StartFieldNumber = 1; private int start_; /// /// int32 errorcode = 1; /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Start { get { return start_; } set { start_ = value; } } /// Field number for the "limit" field. public const int LimitFieldNumber = 2; private int limit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Limit { get { return limit_; } set { limit_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetFriendList_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetFriendList_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Start != other.Start) return false; if (Limit != other.Limit) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Start != 0) hash ^= Start.GetHashCode(); if (Limit != 0) hash ^= Limit.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Start != 0) { output.WriteRawTag(8); output.WriteInt32(Start); } if (Limit != 0) { output.WriteRawTag(16); output.WriteInt32(Limit); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Start != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); } if (Limit != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetFriendList_C2S other) { if (other == null) { return; } if (other.Start != 0) { Start = other.Start; } if (other.Limit != 0) { Limit = other.Limit; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Start = input.ReadInt32(); break; } case 16: { Limit = input.ReadInt32(); break; } } } } } public sealed partial class GetFriendList_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendList_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[11]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendList_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendList_S2C(GetFriendList_S2C other) : this() { errorcode_ = other.errorcode_; friends_ = other.friends_.Clone(); total_ = other.total_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendList_S2C Clone() { return new GetFriendList_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "friends" field. public const int FriendsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_friends_codec = pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser); private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); /// /// 好友 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Friends { get { return friends_; } } /// Field number for the "total" field. public const int TotalFieldNumber = 3; private int total_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Total { get { return total_; } set { total_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetFriendList_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetFriendList_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if(!friends_.Equals(other.friends_)) return false; if (Total != other.Total) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); hash ^= friends_.GetHashCode(); if (Total != 0) hash ^= Total.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } friends_.WriteTo(output, _repeated_friends_codec); if (Total != 0) { output.WriteRawTag(24); output.WriteInt32(Total); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } size += friends_.CalculateSize(_repeated_friends_codec); if (Total != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetFriendList_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } friends_.Add(other.friends_); if (other.Total != 0) { Total = other.Total; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { friends_.AddEntriesFrom(input, _repeated_friends_codec); break; } case 24: { Total = input.ReadInt32(); break; } } } } } /// /// 获取黑名单列表 /// public sealed partial class GetBlockList_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockList_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[12]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBlockList_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBlockList_C2S(GetBlockList_C2S other) : this() { start_ = other.start_; limit_ = other.limit_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBlockList_C2S Clone() { return new GetBlockList_C2S(this); } /// Field number for the "start" field. public const int StartFieldNumber = 1; private int start_; /// /// int32 errorcode = 1; /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Start { get { return start_; } set { start_ = value; } } /// Field number for the "limit" field. public const int LimitFieldNumber = 2; private int limit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Limit { get { return limit_; } set { limit_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetBlockList_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetBlockList_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Start != other.Start) return false; if (Limit != other.Limit) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Start != 0) hash ^= Start.GetHashCode(); if (Limit != 0) hash ^= Limit.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Start != 0) { output.WriteRawTag(8); output.WriteInt32(Start); } if (Limit != 0) { output.WriteRawTag(16); output.WriteInt32(Limit); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Start != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); } if (Limit != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetBlockList_C2S other) { if (other == null) { return; } if (other.Start != 0) { Start = other.Start; } if (other.Limit != 0) { Limit = other.Limit; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Start = input.ReadInt32(); break; } case 16: { Limit = input.ReadInt32(); break; } } } } } public sealed partial class GetBlockList_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockList_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[13]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBlockList_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBlockList_S2C(GetBlockList_S2C other) : this() { errorcode_ = other.errorcode_; blocks_ = other.blocks_.Clone(); total_ = other.total_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBlockList_S2C Clone() { return new GetBlockList_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "blocks" field. public const int BlocksFieldNumber = 2; private static readonly pb::FieldCodec _repeated_blocks_codec = pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser); private readonly pbc::RepeatedField blocks_ = new pbc::RepeatedField(); /// /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Blocks { get { return blocks_; } } /// Field number for the "total" field. public const int TotalFieldNumber = 3; private int total_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Total { get { return total_; } set { total_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetBlockList_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetBlockList_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if(!blocks_.Equals(other.blocks_)) return false; if (Total != other.Total) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); hash ^= blocks_.GetHashCode(); if (Total != 0) hash ^= Total.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } blocks_.WriteTo(output, _repeated_blocks_codec); if (Total != 0) { output.WriteRawTag(24); output.WriteInt32(Total); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } size += blocks_.CalculateSize(_repeated_blocks_codec); if (Total != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetBlockList_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } blocks_.Add(other.blocks_); if (other.Total != 0) { Total = other.Total; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { blocks_.AddEntriesFrom(input, _repeated_blocks_codec); break; } case 24: { Total = input.ReadInt32(); break; } } } } } /// /// 查找好友 /// public sealed partial class FindFriend_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FindFriend_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[14]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FindFriend_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FindFriend_C2S(FindFriend_C2S other) : this() { username_ = other.username_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FindFriend_C2S Clone() { return new FindFriend_C2S(this); } /// Field number for the "username" field. public const int UsernameFieldNumber = 1; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FindFriend_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FindFriend_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Username != other.Username) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Username.Length != 0) hash ^= Username.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Username.Length != 0) { output.WriteRawTag(10); output.WriteString(Username); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Username.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FindFriend_C2S other) { if (other == null) { return; } if (other.Username.Length != 0) { Username = other.Username; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { Username = input.ReadString(); break; } } } } } public sealed partial class FindFriend_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FindFriend_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[15]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FindFriend_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FindFriend_S2C(FindFriend_S2C other) : this() { errorcode_ = other.errorcode_; Friend = other.friend_ != null ? other.Friend.Clone() : null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FindFriend_S2C Clone() { return new FindFriend_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "friend" field. public const int FriendFieldNumber = 2; private global::Protobuf.FriendMsg friend_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Protobuf.FriendMsg Friend { get { return friend_; } set { friend_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FindFriend_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FindFriend_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (!object.Equals(Friend, other.Friend)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (friend_ != null) hash ^= Friend.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (friend_ != null) { output.WriteRawTag(18); output.WriteMessage(Friend); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (friend_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Friend); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FindFriend_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.friend_ != null) { if (friend_ == null) { friend_ = new global::Protobuf.FriendMsg(); } Friend.MergeFrom(other.Friend); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { if (friend_ == null) { friend_ = new global::Protobuf.FriendMsg(); } input.ReadMessage(friend_); break; } } } } } /// /// 获取好友请求列表 /// public sealed partial class GetFriendRequestList_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendRequestList_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[16]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendRequestList_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendRequestList_C2S(GetFriendRequestList_C2S other) : this() { start_ = other.start_; limit_ = other.limit_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendRequestList_C2S Clone() { return new GetFriendRequestList_C2S(this); } /// Field number for the "start" field. public const int StartFieldNumber = 1; private int start_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Start { get { return start_; } set { start_ = value; } } /// Field number for the "limit" field. public const int LimitFieldNumber = 2; private int limit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Limit { get { return limit_; } set { limit_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetFriendRequestList_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetFriendRequestList_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Start != other.Start) return false; if (Limit != other.Limit) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Start != 0) hash ^= Start.GetHashCode(); if (Limit != 0) hash ^= Limit.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Start != 0) { output.WriteRawTag(8); output.WriteInt32(Start); } if (Limit != 0) { output.WriteRawTag(16); output.WriteInt32(Limit); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Start != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); } if (Limit != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetFriendRequestList_C2S other) { if (other == null) { return; } if (other.Start != 0) { Start = other.Start; } if (other.Limit != 0) { Limit = other.Limit; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Start = input.ReadInt32(); break; } case 16: { Limit = input.ReadInt32(); break; } } } } } public sealed partial class GetFriendRequestList_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFriendRequestList_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[17]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendRequestList_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendRequestList_S2C(GetFriendRequestList_S2C other) : this() { errorcode_ = other.errorcode_; friends_ = other.friends_.Clone(); total_ = other.total_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetFriendRequestList_S2C Clone() { return new GetFriendRequestList_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "friends" field. public const int FriendsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_friends_codec = pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser); private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); /// /// 好友 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Friends { get { return friends_; } } /// Field number for the "total" field. public const int TotalFieldNumber = 3; private int total_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Total { get { return total_; } set { total_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetFriendRequestList_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetFriendRequestList_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if(!friends_.Equals(other.friends_)) return false; if (Total != other.Total) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); hash ^= friends_.GetHashCode(); if (Total != 0) hash ^= Total.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } friends_.WriteTo(output, _repeated_friends_codec); if (Total != 0) { output.WriteRawTag(24); output.WriteInt32(Total); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } size += friends_.CalculateSize(_repeated_friends_codec); if (Total != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetFriendRequestList_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } friends_.Add(other.friends_); if (other.Total != 0) { Total = other.Total; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { friends_.AddEntriesFrom(input, _repeated_friends_codec); break; } case 24: { Total = input.ReadInt32(); break; } } } } } /// /// 请求添加好友 /// public sealed partial class FriendRequest_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendRequest_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[18]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendRequest_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendRequest_C2S(FriendRequest_C2S other) : this() { username_ = other.username_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendRequest_C2S Clone() { return new FriendRequest_C2S(this); } /// Field number for the "username" field. public const int UsernameFieldNumber = 1; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendRequest_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendRequest_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Username != other.Username) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Username.Length != 0) hash ^= Username.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Username.Length != 0) { output.WriteRawTag(10); output.WriteString(Username); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Username.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendRequest_C2S other) { if (other == null) { return; } if (other.Username.Length != 0) { Username = other.Username; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { Username = input.ReadString(); break; } } } } } public sealed partial class FriendRequest_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendRequest_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[19]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendRequest_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendRequest_S2C(FriendRequest_S2C other) : this() { errorcode_ = other.errorcode_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendRequest_S2C Clone() { return new FriendRequest_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendRequest_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendRequest_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendRequest_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } } } } } /// /// 删除好友 /// public sealed partial class FriendDelete_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendDelete_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[20]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendDelete_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendDelete_C2S(FriendDelete_C2S other) : this() { username_ = other.username_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendDelete_C2S Clone() { return new FriendDelete_C2S(this); } /// Field number for the "username" field. public const int UsernameFieldNumber = 1; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendDelete_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendDelete_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Username != other.Username) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Username.Length != 0) hash ^= Username.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Username.Length != 0) { output.WriteRawTag(10); output.WriteString(Username); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Username.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendDelete_C2S other) { if (other == null) { return; } if (other.Username.Length != 0) { Username = other.Username; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { Username = input.ReadString(); break; } } } } } public sealed partial class FriendDelete_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendDelete_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[21]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendDelete_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendDelete_S2C(FriendDelete_S2C other) : this() { errorcode_ = other.errorcode_; username_ = other.username_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendDelete_S2C Clone() { return new FriendDelete_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "username" field. public const int UsernameFieldNumber = 2; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendDelete_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendDelete_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Username != other.Username) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Username.Length != 0) hash ^= Username.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Username.Length != 0) { output.WriteRawTag(18); output.WriteString(Username); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Username.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendDelete_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Username.Length != 0) { Username = other.Username; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { Username = input.ReadString(); break; } } } } } /// /// 加入黑名单 /// public sealed partial class FriendBlock_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendBlock_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[22]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendBlock_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendBlock_C2S(FriendBlock_C2S other) : this() { username_ = other.username_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendBlock_C2S Clone() { return new FriendBlock_C2S(this); } /// Field number for the "username" field. public const int UsernameFieldNumber = 1; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendBlock_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendBlock_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Username != other.Username) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Username.Length != 0) hash ^= Username.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Username.Length != 0) { output.WriteRawTag(10); output.WriteString(Username); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Username.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendBlock_C2S other) { if (other == null) { return; } if (other.Username.Length != 0) { Username = other.Username; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { Username = input.ReadString(); break; } } } } } public sealed partial class FriendBlock_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendBlock_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[23]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendBlock_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendBlock_S2C(FriendBlock_S2C other) : this() { errorcode_ = other.errorcode_; username_ = other.username_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendBlock_S2C Clone() { return new FriendBlock_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "username" field. public const int UsernameFieldNumber = 2; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendBlock_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendBlock_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Username != other.Username) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Username.Length != 0) hash ^= Username.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Username.Length != 0) { output.WriteRawTag(18); output.WriteString(Username); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Username.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendBlock_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Username.Length != 0) { Username = other.Username; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { Username = input.ReadString(); break; } } } } } /// /// 同意加入好友 /// public sealed partial class FriendAdd_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAdd_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[24]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAdd_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAdd_C2S(FriendAdd_C2S other) : this() { username_ = other.username_; accept_ = other.accept_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAdd_C2S Clone() { return new FriendAdd_C2S(this); } /// Field number for the "username" field. public const int UsernameFieldNumber = 1; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "accept" field. public const int AcceptFieldNumber = 2; private bool accept_; /// /// true 表示接受,false 表示不同意 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Accept { get { return accept_; } set { accept_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendAdd_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendAdd_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Username != other.Username) return false; if (Accept != other.Accept) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Username.Length != 0) hash ^= Username.GetHashCode(); if (Accept != false) hash ^= Accept.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Username.Length != 0) { output.WriteRawTag(10); output.WriteString(Username); } if (Accept != false) { output.WriteRawTag(16); output.WriteBool(Accept); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Username.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } if (Accept != false) { size += 1 + 1; } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendAdd_C2S other) { if (other == null) { return; } if (other.Username.Length != 0) { Username = other.Username; } if (other.Accept != false) { Accept = other.Accept; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { Username = input.ReadString(); break; } case 16: { Accept = input.ReadBool(); break; } } } } } public sealed partial class FriendAdd_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAdd_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[25]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAdd_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAdd_S2C(FriendAdd_S2C other) : this() { errorcode_ = other.errorcode_; username_ = other.username_; accept_ = other.accept_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAdd_S2C Clone() { return new FriendAdd_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "username" field. public const int UsernameFieldNumber = 2; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "accept" field. public const int AcceptFieldNumber = 3; private bool accept_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Accept { get { return accept_; } set { accept_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendAdd_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendAdd_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Username != other.Username) return false; if (Accept != other.Accept) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Username.Length != 0) hash ^= Username.GetHashCode(); if (Accept != false) hash ^= Accept.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Username.Length != 0) { output.WriteRawTag(18); output.WriteString(Username); } if (Accept != false) { output.WriteRawTag(24); output.WriteBool(Accept); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Username.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } if (Accept != false) { size += 1 + 1; } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendAdd_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Username.Length != 0) { Username = other.Username; } if (other.Accept != false) { Accept = other.Accept; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { Username = input.ReadString(); break; } case 24: { Accept = input.ReadBool(); break; } } } } } /// /// 是否接受好友申请 /// public sealed partial class FriendAcceptRequest_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAcceptRequest_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[26]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAcceptRequest_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAcceptRequest_C2S(FriendAcceptRequest_C2S other) : this() { accept_ = other.accept_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAcceptRequest_C2S Clone() { return new FriendAcceptRequest_C2S(this); } /// Field number for the "accept" field. public const int AcceptFieldNumber = 1; private bool accept_; /// /// true表示接受,否则不接受 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Accept { get { return accept_; } set { accept_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendAcceptRequest_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendAcceptRequest_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Accept != other.Accept) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Accept != false) hash ^= Accept.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Accept != false) { output.WriteRawTag(8); output.WriteBool(Accept); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Accept != false) { size += 1 + 1; } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendAcceptRequest_C2S other) { if (other == null) { return; } if (other.Accept != false) { Accept = other.Accept; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Accept = input.ReadBool(); break; } } } } } public sealed partial class FriendAcceptRequest_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAcceptRequest_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[27]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAcceptRequest_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAcceptRequest_S2C(FriendAcceptRequest_S2C other) : this() { errorcode_ = other.errorcode_; accept_ = other.accept_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FriendAcceptRequest_S2C Clone() { return new FriendAcceptRequest_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "accept" field. public const int AcceptFieldNumber = 2; private bool accept_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Accept { get { return accept_; } set { accept_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FriendAcceptRequest_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FriendAcceptRequest_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Accept != other.Accept) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Accept != false) hash ^= Accept.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Accept != false) { output.WriteRawTag(16); output.WriteBool(Accept); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Accept != false) { size += 1 + 1; } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FriendAcceptRequest_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Accept != false) { Accept = other.Accept; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 16: { Accept = input.ReadBool(); break; } } } } } /// /// 获取推荐好友 /// public sealed partial class GetRecommendFriend_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetRecommendFriend_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[28]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetRecommendFriend_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetRecommendFriend_C2S(GetRecommendFriend_C2S other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetRecommendFriend_C2S Clone() { return new GetRecommendFriend_C2S(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetRecommendFriend_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetRecommendFriend_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetRecommendFriend_C2S other) { if (other == null) { return; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; } } } } public sealed partial class GetRecommendFriend_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetRecommendFriend_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[29]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetRecommendFriend_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetRecommendFriend_S2C(GetRecommendFriend_S2C other) : this() { errorcode_ = other.errorcode_; friends_ = other.friends_.Clone(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetRecommendFriend_S2C Clone() { return new GetRecommendFriend_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "friends" field. public const int FriendsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_friends_codec = pb::FieldCodec.ForMessage(18, global::Protobuf.FriendMsg.Parser); private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Friends { get { return friends_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetRecommendFriend_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetRecommendFriend_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if(!friends_.Equals(other.friends_)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); hash ^= friends_.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } friends_.WriteTo(output, _repeated_friends_codec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } size += friends_.CalculateSize(_repeated_friends_codec); return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetRecommendFriend_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } friends_.Add(other.friends_); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { friends_.AddEntriesFrom(input, _repeated_friends_codec); break; } } } } } /// /// !修改昵称 /// public sealed partial class SetNickName_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetNickName_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[30]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetNickName_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetNickName_C2S(SetNickName_C2S other) : this() { nickname_ = other.nickname_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetNickName_C2S Clone() { return new SetNickName_C2S(this); } /// Field number for the "nickname" field. public const int NicknameFieldNumber = 1; private string nickname_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Nickname { get { return nickname_; } set { nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as SetNickName_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(SetNickName_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Nickname != other.Nickname) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Nickname.Length != 0) hash ^= Nickname.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Nickname.Length != 0) { output.WriteRawTag(10); output.WriteString(Nickname); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Nickname.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(SetNickName_C2S other) { if (other == null) { return; } if (other.Nickname.Length != 0) { Nickname = other.Nickname; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { Nickname = input.ReadString(); break; } } } } } public sealed partial class SetNickName_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetNickName_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[31]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetNickName_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetNickName_S2C(SetNickName_S2C other) : this() { errorcode_ = other.errorcode_; nickname_ = other.nickname_; gold_ = other.gold_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SetNickName_S2C Clone() { return new SetNickName_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "nickname" field. public const int NicknameFieldNumber = 2; private string nickname_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Nickname { get { return nickname_; } set { nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "gold" field. public const int GoldFieldNumber = 3; private int gold_; /// /// !最终钻石数 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Gold { get { return gold_; } set { gold_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as SetNickName_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(SetNickName_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Nickname != other.Nickname) return false; if (Gold != other.Gold) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Nickname.Length != 0) hash ^= Nickname.GetHashCode(); if (Gold != 0) hash ^= Gold.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Nickname.Length != 0) { output.WriteRawTag(18); output.WriteString(Nickname); } if (Gold != 0) { output.WriteRawTag(24); output.WriteInt32(Gold); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Nickname.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname); } if (Gold != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gold); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(SetNickName_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Nickname.Length != 0) { Nickname = other.Nickname; } if (other.Gold != 0) { Gold = other.Gold; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { Nickname = input.ReadString(); break; } case 24: { Gold = input.ReadInt32(); break; } } } } } /// /// !服务器推送,收到好友申请事件 /// public sealed partial class PushFriendRequest_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PushFriendRequest_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[32]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public PushFriendRequest_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public PushFriendRequest_S2C(PushFriendRequest_S2C other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public PushFriendRequest_S2C Clone() { return new PushFriendRequest_S2C(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as PushFriendRequest_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(PushFriendRequest_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(PushFriendRequest_S2C other) { if (other == null) { return; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; } } } } /// /// 获取商城列表 /// 仅返回限时商城分区的商品 /// public sealed partial class GetStoreItemList_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStoreItemList_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[33]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetStoreItemList_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetStoreItemList_C2S(GetStoreItemList_C2S other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetStoreItemList_C2S Clone() { return new GetStoreItemList_C2S(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetStoreItemList_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetStoreItemList_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetStoreItemList_C2S other) { if (other == null) { return; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; } } } } public sealed partial class GetStoreItemList_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStoreItemList_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[34]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetStoreItemList_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetStoreItemList_S2C(GetStoreItemList_S2C other) : this() { errorcode_ = other.errorcode_; areas_ = other.areas_.Clone(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetStoreItemList_S2C Clone() { return new GetStoreItemList_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "areas" field. public const int AreasFieldNumber = 2; private static readonly pb::FieldCodec _repeated_areas_codec = pb::FieldCodec.ForMessage(18, global::Protobuf.StoreAreaMsg.Parser); private readonly pbc::RepeatedField areas_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Areas { get { return areas_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetStoreItemList_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetStoreItemList_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if(!areas_.Equals(other.areas_)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); hash ^= areas_.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } areas_.WriteTo(output, _repeated_areas_codec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } size += areas_.CalculateSize(_repeated_areas_codec); return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetStoreItemList_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } areas_.Add(other.areas_); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { areas_.AddEntriesFrom(input, _repeated_areas_codec); break; } } } } } /// /// 1.金币和钻石购买比较简单,直接检测数量,并返回是否购买成功消息 /// 2.rmb内购比较复杂,返回的是游戏订单(gameorderid),客户端使用该订单号和内购信息,去拉起支付,支付成功后渠道会调用支付回调,login服务器会通知游戏服发货。 /// BuyStoreItem_S2C 有可能是玩家上线的时候推送,因为玩家支付完毕后下线了 /// 3.gm内购是个特例,直接返回奖励 /// public sealed partial class BuyStoreItem_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyStoreItem_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[35]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyStoreItem_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyStoreItem_C2S(BuyStoreItem_C2S other) : this() { storeid_ = other.storeid_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyStoreItem_C2S Clone() { return new BuyStoreItem_C2S(this); } /// Field number for the "storeid" field. public const int StoreidFieldNumber = 1; private int storeid_; /// /// ! 商品表里面的id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Storeid { get { return storeid_; } set { storeid_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as BuyStoreItem_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(BuyStoreItem_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Storeid != other.Storeid) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Storeid != 0) hash ^= Storeid.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Storeid != 0) { output.WriteRawTag(8); output.WriteInt32(Storeid); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Storeid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Storeid); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(BuyStoreItem_C2S other) { if (other == null) { return; } if (other.Storeid != 0) { Storeid = other.Storeid; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Storeid = input.ReadInt32(); break; } } } } } public sealed partial class BuyStoreItem_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyStoreItem_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[36]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyStoreItem_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyStoreItem_S2C(BuyStoreItem_S2C other) : this() { errorcode_ = other.errorcode_; gameorderid_ = other.gameorderid_; curitems_ = other.curitems_.Clone(); storeid_ = other.storeid_; refreshTime_ = other.refreshTime_; buyCount_ = other.buyCount_; boxreward_ = other.boxreward_.Clone(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyStoreItem_S2C Clone() { return new BuyStoreItem_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "gameorderid" field. public const int GameorderidFieldNumber = 2; private string gameorderid_ = ""; /// /// !内购的时候才返回的订单号 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Gameorderid { get { return gameorderid_; } set { gameorderid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "curitems" field. public const int CuritemsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_curitems_codec = pb::FieldCodec.ForMessage(26, global::Protobuf.RewardItemMsg.Parser); private readonly pbc::RepeatedField curitems_ = new pbc::RepeatedField(); /// /// 消费后的当前值 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Curitems { get { return curitems_; } } /// Field number for the "storeid" field. public const int StoreidFieldNumber = 4; private int storeid_; /// /// ! 商品表里面的id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Storeid { get { return storeid_; } set { storeid_ = value; } } /// Field number for the "refreshTime" field. public const int RefreshTimeFieldNumber = 5; private int refreshTime_; /// /// 一下消息是限时商品用到的 /// UNIX时间戳,单位秒。如果为0-不显示刷新,否则表示在指定的时刻刷新. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int RefreshTime { get { return refreshTime_; } set { refreshTime_ = value; } } /// Field number for the "buyCount" field. public const int BuyCountFieldNumber = 6; private int buyCount_; /// /// 如果是限时大区,表示购买个数, /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int BuyCount { get { return buyCount_; } set { buyCount_ = value; } } /// Field number for the "boxreward" field. public const int BoxrewardFieldNumber = 7; private static readonly pb::FieldCodec _repeated_boxreward_codec = pb::FieldCodec.ForMessage(58, global::Protobuf.RewardItemMsg.Parser); private readonly pbc::RepeatedField boxreward_ = new pbc::RepeatedField(); /// /// !如果有宝箱,表示宝箱掉落的wup /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Boxreward { get { return boxreward_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as BuyStoreItem_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(BuyStoreItem_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Gameorderid != other.Gameorderid) return false; if(!curitems_.Equals(other.curitems_)) return false; if (Storeid != other.Storeid) return false; if (RefreshTime != other.RefreshTime) return false; if (BuyCount != other.BuyCount) return false; if(!boxreward_.Equals(other.boxreward_)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Gameorderid.Length != 0) hash ^= Gameorderid.GetHashCode(); hash ^= curitems_.GetHashCode(); if (Storeid != 0) hash ^= Storeid.GetHashCode(); if (RefreshTime != 0) hash ^= RefreshTime.GetHashCode(); if (BuyCount != 0) hash ^= BuyCount.GetHashCode(); hash ^= boxreward_.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Gameorderid.Length != 0) { output.WriteRawTag(18); output.WriteString(Gameorderid); } curitems_.WriteTo(output, _repeated_curitems_codec); if (Storeid != 0) { output.WriteRawTag(32); output.WriteInt32(Storeid); } if (RefreshTime != 0) { output.WriteRawTag(40); output.WriteInt32(RefreshTime); } if (BuyCount != 0) { output.WriteRawTag(48); output.WriteInt32(BuyCount); } boxreward_.WriteTo(output, _repeated_boxreward_codec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Gameorderid.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Gameorderid); } size += curitems_.CalculateSize(_repeated_curitems_codec); if (Storeid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Storeid); } if (RefreshTime != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshTime); } if (BuyCount != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuyCount); } size += boxreward_.CalculateSize(_repeated_boxreward_codec); return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(BuyStoreItem_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Gameorderid.Length != 0) { Gameorderid = other.Gameorderid; } curitems_.Add(other.curitems_); if (other.Storeid != 0) { Storeid = other.Storeid; } if (other.RefreshTime != 0) { RefreshTime = other.RefreshTime; } if (other.BuyCount != 0) { BuyCount = other.BuyCount; } boxreward_.Add(other.boxreward_); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { Gameorderid = input.ReadString(); break; } case 26: { curitems_.AddEntriesFrom(input, _repeated_curitems_codec); break; } case 32: { Storeid = input.ReadInt32(); break; } case 40: { RefreshTime = input.ReadInt32(); break; } case 48: { BuyCount = input.ReadInt32(); break; } case 58: { boxreward_.AddEntriesFrom(input, _repeated_boxreward_codec); break; } } } } } /// /// 通行证 /// ! 获取通行证信息 /// public sealed partial class GetBattlePass_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBattlePass_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[37]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBattlePass_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBattlePass_C2S(GetBattlePass_C2S other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBattlePass_C2S Clone() { return new GetBattlePass_C2S(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetBattlePass_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetBattlePass_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetBattlePass_C2S other) { if (other == null) { return; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; } } } } public sealed partial class GetBattlePass_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBattlePass_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[38]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBattlePass_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBattlePass_S2C(GetBattlePass_S2C other) : this() { errorcode_ = other.errorcode_; level_ = other.level_; exp_ = other.exp_; expiretime_ = other.expiretime_; passtimeid_ = other.passtimeid_; vip_ = other.vip_; isopen_ = other.isopen_; takenitems_ = other.takenitems_.Clone(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetBattlePass_S2C Clone() { return new GetBattlePass_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 2; private int level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Level { get { return level_; } set { level_ = value; } } /// Field number for the "exp" field. public const int ExpFieldNumber = 3; private int exp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Exp { get { return exp_; } set { exp_ = value; } } /// Field number for the "expiretime" field. public const int ExpiretimeFieldNumber = 4; private int expiretime_; /// /// !通行证过期时间戳 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Expiretime { get { return expiretime_; } set { expiretime_ = value; } } /// Field number for the "passtimeid" field. public const int PasstimeidFieldNumber = 5; private int passtimeid_; /// /// 通行证赛季id @see battlepasstime,如果为0表示没有开启 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Passtimeid { get { return passtimeid_; } set { passtimeid_ = value; } } /// Field number for the "vip" field. public const int VipFieldNumber = 6; private bool vip_; /// /// !是否是至尊通行证,true 表示是 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Vip { get { return vip_; } set { vip_ = value; } } /// Field number for the "isopen" field. public const int IsopenFieldNumber = 7; private bool isopen_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Isopen { get { return isopen_; } set { isopen_ = value; } } /// Field number for the "takenitems" field. public const int TakenitemsFieldNumber = 8; private static readonly pb::FieldCodec _repeated_takenitems_codec = pb::FieldCodec.ForInt32(66); private readonly pbc::RepeatedField takenitems_ = new pbc::RepeatedField(); /// /// ! 已经领取的id列表 /// @see battlepassaward 表的ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Takenitems { get { return takenitems_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetBattlePass_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetBattlePass_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Level != other.Level) return false; if (Exp != other.Exp) return false; if (Expiretime != other.Expiretime) return false; if (Passtimeid != other.Passtimeid) return false; if (Vip != other.Vip) return false; if (Isopen != other.Isopen) return false; if(!takenitems_.Equals(other.takenitems_)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (Exp != 0) hash ^= Exp.GetHashCode(); if (Expiretime != 0) hash ^= Expiretime.GetHashCode(); if (Passtimeid != 0) hash ^= Passtimeid.GetHashCode(); if (Vip != false) hash ^= Vip.GetHashCode(); if (Isopen != false) hash ^= Isopen.GetHashCode(); hash ^= takenitems_.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Level != 0) { output.WriteRawTag(16); output.WriteInt32(Level); } if (Exp != 0) { output.WriteRawTag(24); output.WriteInt32(Exp); } if (Expiretime != 0) { output.WriteRawTag(32); output.WriteInt32(Expiretime); } if (Passtimeid != 0) { output.WriteRawTag(40); output.WriteInt32(Passtimeid); } if (Vip != false) { output.WriteRawTag(48); output.WriteBool(Vip); } if (Isopen != false) { output.WriteRawTag(56); output.WriteBool(Isopen); } takenitems_.WriteTo(output, _repeated_takenitems_codec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); } if (Exp != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); } if (Expiretime != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Expiretime); } if (Passtimeid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Passtimeid); } if (Vip != false) { size += 1 + 1; } if (Isopen != false) { size += 1 + 1; } size += takenitems_.CalculateSize(_repeated_takenitems_codec); return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetBattlePass_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Level != 0) { Level = other.Level; } if (other.Exp != 0) { Exp = other.Exp; } if (other.Expiretime != 0) { Expiretime = other.Expiretime; } if (other.Passtimeid != 0) { Passtimeid = other.Passtimeid; } if (other.Vip != false) { Vip = other.Vip; } if (other.Isopen != false) { Isopen = other.Isopen; } takenitems_.Add(other.takenitems_); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 16: { Level = input.ReadInt32(); break; } case 24: { Exp = input.ReadInt32(); break; } case 32: { Expiretime = input.ReadInt32(); break; } case 40: { Passtimeid = input.ReadInt32(); break; } case 48: { Vip = input.ReadBool(); break; } case 56: { Isopen = input.ReadBool(); break; } case 66: case 64: { takenitems_.AddEntriesFrom(input, _repeated_takenitems_codec); break; } } } } } /// /// 和内购一样,如果是RMB类型,需要渠道返回确认信息。所有返回的结果有可能是玩家下线后上线时,推送 /// 如果是赛季间隔期,不能购买 /// public sealed partial class BuyBattlePass_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyBattlePass_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[39]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePass_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePass_C2S(BuyBattlePass_C2S other) : this() { type_ = other.type_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePass_C2S Clone() { return new BuyBattlePass_C2S(this); } /// Field number for the "type" field. public const int TypeFieldNumber = 1; private int type_; /// /// 0-普通购买,1-高级购买附带等级 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Type { get { return type_; } set { type_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as BuyBattlePass_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(BuyBattlePass_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Type != other.Type) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Type != 0) hash ^= Type.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Type != 0) { output.WriteRawTag(8); output.WriteInt32(Type); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Type != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(BuyBattlePass_C2S other) { if (other == null) { return; } if (other.Type != 0) { Type = other.Type; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Type = input.ReadInt32(); break; } } } } } public sealed partial class BuyBattlePass_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyBattlePass_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[40]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePass_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePass_S2C(BuyBattlePass_S2C other) : this() { errorcode_ = other.errorcode_; gameorderid_ = other.gameorderid_; type_ = other.type_; level_ = other.level_; exp_ = other.exp_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePass_S2C Clone() { return new BuyBattlePass_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "gameorderid" field. public const int GameorderidFieldNumber = 2; private string gameorderid_ = ""; /// /// !内购的时候才返回的订单号 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Gameorderid { get { return gameorderid_; } set { gameorderid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "type" field. public const int TypeFieldNumber = 3; private int type_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Type { get { return type_; } set { type_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 4; private int level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Level { get { return level_; } set { level_ = value; } } /// Field number for the "exp" field. public const int ExpFieldNumber = 5; private int exp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Exp { get { return exp_; } set { exp_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as BuyBattlePass_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(BuyBattlePass_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Gameorderid != other.Gameorderid) return false; if (Type != other.Type) return false; if (Level != other.Level) return false; if (Exp != other.Exp) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Gameorderid.Length != 0) hash ^= Gameorderid.GetHashCode(); if (Type != 0) hash ^= Type.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (Exp != 0) hash ^= Exp.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Gameorderid.Length != 0) { output.WriteRawTag(18); output.WriteString(Gameorderid); } if (Type != 0) { output.WriteRawTag(24); output.WriteInt32(Type); } if (Level != 0) { output.WriteRawTag(32); output.WriteInt32(Level); } if (Exp != 0) { output.WriteRawTag(40); output.WriteInt32(Exp); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Gameorderid.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Gameorderid); } if (Type != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); } if (Exp != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(BuyBattlePass_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Gameorderid.Length != 0) { Gameorderid = other.Gameorderid; } if (other.Type != 0) { Type = other.Type; } if (other.Level != 0) { Level = other.Level; } if (other.Exp != 0) { Exp = other.Exp; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { Gameorderid = input.ReadString(); break; } case 24: { Type = input.ReadInt32(); break; } case 32: { Level = input.ReadInt32(); break; } case 40: { Exp = input.ReadInt32(); break; } } } } } /// /// ! 领取通行证物品 /// ! 返回成功后,客户端自己添加到已经购买的列表里面 /// public sealed partial class TakeBattlePassItem_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TakeBattlePassItem_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[41]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeBattlePassItem_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeBattlePassItem_C2S(TakeBattlePassItem_C2S other) : this() { itemid_ = other.itemid_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeBattlePassItem_C2S Clone() { return new TakeBattlePassItem_C2S(this); } /// Field number for the "itemid" field. public const int ItemidFieldNumber = 1; private int itemid_; /// /// @see battlepassaward 表的ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Itemid { get { return itemid_; } set { itemid_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as TakeBattlePassItem_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(TakeBattlePassItem_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Itemid != other.Itemid) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Itemid != 0) hash ^= Itemid.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Itemid != 0) { output.WriteRawTag(8); output.WriteInt32(Itemid); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Itemid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Itemid); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(TakeBattlePassItem_C2S other) { if (other == null) { return; } if (other.Itemid != 0) { Itemid = other.Itemid; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Itemid = input.ReadInt32(); break; } } } } } public sealed partial class TakeBattlePassItem_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TakeBattlePassItem_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[42]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeBattlePassItem_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeBattlePassItem_S2C(TakeBattlePassItem_S2C other) : this() { errorcode_ = other.errorcode_; itemid_ = other.itemid_; curitems_ = other.curitems_.Clone(); boxreward_ = other.boxreward_.Clone(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeBattlePassItem_S2C Clone() { return new TakeBattlePassItem_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "itemid" field. public const int ItemidFieldNumber = 2; private int itemid_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Itemid { get { return itemid_; } set { itemid_ = value; } } /// Field number for the "curitems" field. public const int CuritemsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_curitems_codec = pb::FieldCodec.ForMessage(26, global::Protobuf.RewardItemMsg.Parser); private readonly pbc::RepeatedField curitems_ = new pbc::RepeatedField(); /// /// 当前值 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Curitems { get { return curitems_; } } /// Field number for the "boxreward" field. public const int BoxrewardFieldNumber = 4; private static readonly pb::FieldCodec _repeated_boxreward_codec = pb::FieldCodec.ForMessage(34, global::Protobuf.RewardItemMsg.Parser); private readonly pbc::RepeatedField boxreward_ = new pbc::RepeatedField(); /// /// !如果有宝箱,表示宝箱掉落的wup /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Boxreward { get { return boxreward_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as TakeBattlePassItem_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(TakeBattlePassItem_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Itemid != other.Itemid) return false; if(!curitems_.Equals(other.curitems_)) return false; if(!boxreward_.Equals(other.boxreward_)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Itemid != 0) hash ^= Itemid.GetHashCode(); hash ^= curitems_.GetHashCode(); hash ^= boxreward_.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Itemid != 0) { output.WriteRawTag(16); output.WriteInt32(Itemid); } curitems_.WriteTo(output, _repeated_curitems_codec); boxreward_.WriteTo(output, _repeated_boxreward_codec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Itemid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Itemid); } size += curitems_.CalculateSize(_repeated_curitems_codec); size += boxreward_.CalculateSize(_repeated_boxreward_codec); return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(TakeBattlePassItem_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Itemid != 0) { Itemid = other.Itemid; } curitems_.Add(other.curitems_); boxreward_.Add(other.boxreward_); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 16: { Itemid = input.ReadInt32(); break; } case 26: { curitems_.AddEntriesFrom(input, _repeated_curitems_codec); break; } case 34: { boxreward_.AddEntriesFrom(input, _repeated_boxreward_codec); break; } } } } } /// /// ! 购买通行证等级 /// public sealed partial class BuyBattlePassLevel_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyBattlePassLevel_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[43]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePassLevel_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePassLevel_C2S(BuyBattlePassLevel_C2S other) : this() { level_ = other.level_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePassLevel_C2S Clone() { return new BuyBattlePassLevel_C2S(this); } /// Field number for the "level" field. public const int LevelFieldNumber = 1; private int level_; /// /// 需要购买的目标等级 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Level { get { return level_; } set { level_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as BuyBattlePassLevel_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(BuyBattlePassLevel_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Level != other.Level) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Level != 0) hash ^= Level.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Level != 0) { output.WriteRawTag(8); output.WriteInt32(Level); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(BuyBattlePassLevel_C2S other) { if (other == null) { return; } if (other.Level != 0) { Level = other.Level; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Level = input.ReadInt32(); break; } } } } } public sealed partial class BuyBattlePassLevel_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyBattlePassLevel_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[44]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePassLevel_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePassLevel_S2C(BuyBattlePassLevel_S2C other) : this() { errorcode_ = other.errorcode_; level_ = other.level_; exp_ = other.exp_; gold_ = other.gold_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public BuyBattlePassLevel_S2C Clone() { return new BuyBattlePassLevel_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 2; private int level_; /// /// ! 购买后的等级和经验 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Level { get { return level_; } set { level_ = value; } } /// Field number for the "exp" field. public const int ExpFieldNumber = 3; private int exp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Exp { get { return exp_; } set { exp_ = value; } } /// Field number for the "gold" field. public const int GoldFieldNumber = 4; private int gold_; /// /// 当前金币数 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Gold { get { return gold_; } set { gold_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as BuyBattlePassLevel_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(BuyBattlePassLevel_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Level != other.Level) return false; if (Exp != other.Exp) return false; if (Gold != other.Gold) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (Exp != 0) hash ^= Exp.GetHashCode(); if (Gold != 0) hash ^= Gold.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Level != 0) { output.WriteRawTag(16); output.WriteInt32(Level); } if (Exp != 0) { output.WriteRawTag(24); output.WriteInt32(Exp); } if (Gold != 0) { output.WriteRawTag(32); output.WriteInt32(Gold); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); } if (Exp != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); } if (Gold != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gold); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(BuyBattlePassLevel_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Level != 0) { Level = other.Level; } if (other.Exp != 0) { Exp = other.Exp; } if (other.Gold != 0) { Gold = other.Gold; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 16: { Level = input.ReadInt32(); break; } case 24: { Exp = input.ReadInt32(); break; } case 32: { Gold = input.ReadInt32(); break; } } } } } /// /// ! 解锁竞技场宝箱 /// public sealed partial class UnLockArenaBox_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnLockArenaBox_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[45]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnLockArenaBox_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnLockArenaBox_C2S(UnLockArenaBox_C2S other) : this() { pos_ = other.pos_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnLockArenaBox_C2S Clone() { return new UnLockArenaBox_C2S(this); } /// Field number for the "pos" field. public const int PosFieldNumber = 1; private int pos_; /// /// 位置0-3 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Pos { get { return pos_; } set { pos_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as UnLockArenaBox_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(UnLockArenaBox_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Pos != other.Pos) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Pos != 0) hash ^= Pos.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Pos != 0) { output.WriteRawTag(8); output.WriteInt32(Pos); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Pos != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Pos); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(UnLockArenaBox_C2S other) { if (other == null) { return; } if (other.Pos != 0) { Pos = other.Pos; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Pos = input.ReadInt32(); break; } } } } } public sealed partial class UnLockArenaBox_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnLockArenaBox_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[46]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnLockArenaBox_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnLockArenaBox_S2C(UnLockArenaBox_S2C other) : this() { errorcode_ = other.errorcode_; Areabox = other.areabox_ != null ? other.Areabox.Clone() : null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnLockArenaBox_S2C Clone() { return new UnLockArenaBox_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "areabox" field. public const int AreaboxFieldNumber = 2; private global::Protobuf.ArenaBoxMsg areabox_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Protobuf.ArenaBoxMsg Areabox { get { return areabox_; } set { areabox_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as UnLockArenaBox_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(UnLockArenaBox_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (!object.Equals(Areabox, other.Areabox)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (areabox_ != null) hash ^= Areabox.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (areabox_ != null) { output.WriteRawTag(18); output.WriteMessage(Areabox); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (areabox_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Areabox); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(UnLockArenaBox_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.areabox_ != null) { if (areabox_ == null) { areabox_ = new global::Protobuf.ArenaBoxMsg(); } Areabox.MergeFrom(other.Areabox); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 18: { if (areabox_ == null) { areabox_ = new global::Protobuf.ArenaBoxMsg(); } input.ReadMessage(areabox_); break; } } } } } /// /// ! 领取竞技场宝箱 /// public sealed partial class TakeArenaBox_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TakeArenaBox_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[47]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeArenaBox_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeArenaBox_C2S(TakeArenaBox_C2S other) : this() { pos_ = other.pos_; free_ = other.free_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeArenaBox_C2S Clone() { return new TakeArenaBox_C2S(this); } /// Field number for the "pos" field. public const int PosFieldNumber = 1; private int pos_; /// /// 位置0-3 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Pos { get { return pos_; } set { pos_ = value; } } /// Field number for the "free" field. public const int FreeFieldNumber = 2; private bool free_; /// /// ! true 表示免费领取,否则用钻石领取 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Free { get { return free_; } set { free_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as TakeArenaBox_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(TakeArenaBox_C2S other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Pos != other.Pos) return false; if (Free != other.Free) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Pos != 0) hash ^= Pos.GetHashCode(); if (Free != false) hash ^= Free.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Pos != 0) { output.WriteRawTag(8); output.WriteInt32(Pos); } if (Free != false) { output.WriteRawTag(16); output.WriteBool(Free); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Pos != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Pos); } if (Free != false) { size += 1 + 1; } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(TakeArenaBox_C2S other) { if (other == null) { return; } if (other.Pos != 0) { Pos = other.Pos; } if (other.Free != false) { Free = other.Free; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Pos = input.ReadInt32(); break; } case 16: { Free = input.ReadBool(); break; } } } } } public sealed partial class TakeArenaBox_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TakeArenaBox_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[48]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeArenaBox_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeArenaBox_S2C(TakeArenaBox_S2C other) : this() { errorcode_ = other.errorcode_; pos_ = other.pos_; boxid_ = other.boxid_; curitems_ = other.curitems_.Clone(); boxreward_ = other.boxreward_.Clone(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public TakeArenaBox_S2C Clone() { return new TakeArenaBox_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "pos" field. public const int PosFieldNumber = 2; private int pos_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Pos { get { return pos_; } set { pos_ = value; } } /// Field number for the "boxid" field. public const int BoxidFieldNumber = 3; private int boxid_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Boxid { get { return boxid_; } set { boxid_ = value; } } /// Field number for the "curitems" field. public const int CuritemsFieldNumber = 4; private static readonly pb::FieldCodec _repeated_curitems_codec = pb::FieldCodec.ForMessage(34, global::Protobuf.RewardItemMsg.Parser); private readonly pbc::RepeatedField curitems_ = new pbc::RepeatedField(); /// /// 当前值 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Curitems { get { return curitems_; } } /// Field number for the "boxreward" field. public const int BoxrewardFieldNumber = 5; private static readonly pb::FieldCodec _repeated_boxreward_codec = pb::FieldCodec.ForMessage(42, global::Protobuf.RewardItemMsg.Parser); private readonly pbc::RepeatedField boxreward_ = new pbc::RepeatedField(); /// /// !如果有宝箱,表示宝箱掉落的wup /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Boxreward { get { return boxreward_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as TakeArenaBox_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(TakeArenaBox_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (Pos != other.Pos) return false; if (Boxid != other.Boxid) return false; if(!curitems_.Equals(other.curitems_)) return false; if(!boxreward_.Equals(other.boxreward_)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (Pos != 0) hash ^= Pos.GetHashCode(); if (Boxid != 0) hash ^= Boxid.GetHashCode(); hash ^= curitems_.GetHashCode(); hash ^= boxreward_.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Errorcode != 0) { output.WriteRawTag(8); output.WriteInt32(Errorcode); } if (Pos != 0) { output.WriteRawTag(16); output.WriteInt32(Pos); } if (Boxid != 0) { output.WriteRawTag(24); output.WriteInt32(Boxid); } curitems_.WriteTo(output, _repeated_curitems_codec); boxreward_.WriteTo(output, _repeated_boxreward_codec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (Pos != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Pos); } if (Boxid != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Boxid); } size += curitems_.CalculateSize(_repeated_curitems_codec); size += boxreward_.CalculateSize(_repeated_boxreward_codec); return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(TakeArenaBox_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.Pos != 0) { Pos = other.Pos; } if (other.Boxid != 0) { Boxid = other.Boxid; } curitems_.Add(other.curitems_); boxreward_.Add(other.boxreward_); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Errorcode = input.ReadInt32(); break; } case 16: { Pos = input.ReadInt32(); break; } case 24: { Boxid = input.ReadInt32(); break; } case 34: { curitems_.AddEntriesFrom(input, _repeated_curitems_codec); break; } case 42: { boxreward_.AddEntriesFrom(input, _repeated_boxreward_codec); break; } } } } } /// /// 玩家上线后,如果收到这个信息,表示加入工会了, /// 服务器自动下发,不用请求 /// public sealed partial class FamilyInfo_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyInfo_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[49]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyInfo_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyInfo_S2C(FamilyInfo_S2C other) : this() { Family = other.family_ != null ? other.Family.Clone() : null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyInfo_S2C Clone() { return new FamilyInfo_S2C(this); } /// Field number for the "family" field. public const int FamilyFieldNumber = 1; private global::Protobuf.FamilyMsg family_; /// /// 工会信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Protobuf.FamilyMsg Family { get { return family_; } set { family_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FamilyInfo_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FamilyInfo_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Family, other.Family)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (family_ != null) hash ^= Family.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 (family_ != null) { output.WriteRawTag(10); output.WriteMessage(Family); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (family_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Family); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FamilyInfo_S2C other) { if (other == null) { return; } if (other.family_ != null) { if (family_ == null) { family_ = new global::Protobuf.FamilyMsg(); } Family.MergeFrom(other.Family); } } [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: { if (family_ == null) { family_ = new global::Protobuf.FamilyMsg(); } input.ReadMessage(family_); break; } } } } } /// /// 查找工会,支持模糊查询 /// public sealed partial class FamilySearch_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilySearch_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[50]; } } [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_; limit_ = other.limit_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilySearch_C2S Clone() { return new FamilySearch_C2S(this); } /// Field number for the "name" field. public const int NameFieldNumber = 1; private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "limit" field. public const int LimitFieldNumber = 2; private int limit_; /// /// 起始分页0 /// int32 start = 2; /// [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 (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 (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 (Limit != 0) { output.WriteRawTag(16); output.WriteInt32(Limit); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } 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.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: { Limit = input.ReadInt32(); break; } } } } } public sealed partial class FamilySearch_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilySearch_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[51]; } } [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(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilySearch_S2C Clone() { return new FamilySearch_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "familylist" field. public const int FamilylistFieldNumber = 2; private static readonly pb::FieldCodec _repeated_familylist_codec = pb::FieldCodec.ForMessage(18, global::Protobuf.FamilySearchItemMsg.Parser); private readonly pbc::RepeatedField familylist_ = new pbc::RepeatedField(); /// /// 工会 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Familylist { get { return familylist_; } } [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; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); hash ^= familylist_.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); } [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); 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_); } [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; } } } } } /// /// 服务器广播其他玩家在线或下线 /// public sealed partial class FamilyPlayerOnline_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyPlayerOnline_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[52]; } } [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); } /// Field number for the "username" field. public const int UsernameFieldNumber = 1; private int username_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Username { get { return username_; } set { username_ = value; } } /// Field number for the "online" field. public const int OnlineFieldNumber = 2; private bool online_; /// /// true 在线 false 不在线 /// [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; } } } } } /// /// 创建工会,成功返回 Success /// public sealed partial class FamilyCreate_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyCreate_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[53]; } } [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); } /// Field number for the "name" field. public const int NameFieldNumber = 1; private string name_ = ""; /// /// 工会名 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc" field. public const int DescFieldNumber = 2; private string desc_ = ""; /// /// 描述 公告 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Desc { get { return desc_; } set { desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "icons" field. public const int IconsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_icons_codec = pb::FieldCodec.ForInt32(26); private readonly pbc::RepeatedField icons_ = new pbc::RepeatedField(); /// /// 徽章图标 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Icons { get { return icons_; } } /// Field number for the "freeJoin" field. public const int FreeJoinFieldNumber = 4; private int freeJoin_; /// /// ! 1 免费加入,2 需要批准,3 禁止加入 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int FreeJoin { get { return freeJoin_; } set { freeJoin_ = value; } } /// Field number for the "needScore" field. public const int NeedScoreFieldNumber = 5; private int needScore_; /// /// 需要积分 /// [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; } } } } } /// /// public sealed partial class FamilyCreate_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyCreate_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[54]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyCreate_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyCreate_S2C(FamilyCreate_S2C other) : this() { errorcode_ = other.errorcode_; Family = other.family_ != null ? other.Family.Clone() : null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyCreate_S2C Clone() { return new FamilyCreate_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "family" field. public const int FamilyFieldNumber = 2; private global::Protobuf.FamilyMsg family_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Protobuf.FamilyMsg Family { get { return family_; } set { family_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FamilyCreate_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FamilyCreate_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (!object.Equals(Family, other.Family)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (family_ != null) hash ^= Family.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 (family_ != null) { output.WriteRawTag(18); output.WriteMessage(Family); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (family_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Family); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FamilyCreate_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.family_ != null) { if (family_ == null) { family_ = new global::Protobuf.FamilyMsg(); } Family.MergeFrom(other.Family); } } [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 (family_ == null) { family_ = new global::Protobuf.FamilyMsg(); } input.ReadMessage(family_); break; } } } } } /// /// 查询公会 /// public sealed partial class FamilyFind_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyFind_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[55]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyFind_C2S() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyFind_C2S(FamilyFind_C2S other) : this() { uid_ = other.uid_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyFind_C2S Clone() { return new FamilyFind_C2S(this); } /// Field number for the "uid" field. 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 FamilyFind_C2S); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FamilyFind_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(FamilyFind_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 FamilyFind_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyFind_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[56]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyFind_S2C() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyFind_S2C(FamilyFind_S2C other) : this() { errorcode_ = other.errorcode_; Family = other.family_ != null ? other.Family.Clone() : null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyFind_S2C Clone() { return new FamilyFind_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "family" field. public const int FamilyFieldNumber = 2; private global::Protobuf.FamilyMsg family_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Protobuf.FamilyMsg Family { get { return family_; } set { family_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FamilyFind_S2C); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FamilyFind_S2C other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Errorcode != other.Errorcode) return false; if (!object.Equals(Family, other.Family)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); if (family_ != null) hash ^= Family.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 (family_ != null) { output.WriteRawTag(18); output.WriteMessage(Family); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Errorcode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); } if (family_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Family); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FamilyFind_S2C other) { if (other == null) { return; } if (other.Errorcode != 0) { Errorcode = other.Errorcode; } if (other.family_ != null) { if (family_ == null) { family_ = new global::Protobuf.FamilyMsg(); } Family.MergeFrom(other.Family); } } [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 (family_ == null) { family_ = new global::Protobuf.FamilyMsg(); } input.ReadMessage(family_); break; } } } } } /// /// 申请加入公会 /// public sealed partial class FamilyJoin_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyJoin_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[57]; } } [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); } /// Field number for the "uid" field. 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 { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyJoin_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[58]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "uid" field. 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; } } } } } /// /// 获取聊天信息,基于分页查询,默认显示最后一页 /// public sealed partial class FamilyGetChat_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyGetChat_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[59]; } } [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() { limit_ = other.limit_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyGetChat_C2S Clone() { return new FamilyGetChat_C2S(this); } /// Field number for the "limit" field. public const int LimitFieldNumber = 1; private int limit_; /// /// 0是最后一页,1倒数第二页 /// int32 start = 1; /// [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 (Limit != other.Limit) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; 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 (Limit != 0) { output.WriteRawTag(8); output.WriteInt32(Limit); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; 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.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: { Limit = input.ReadInt32(); break; } } } } } public sealed partial class FamilyGetChat_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyGetChat_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[60]; } } [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(); onlineCount_ = other.onlineCount_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FamilyGetChat_S2C Clone() { return new FamilyGetChat_S2C(this); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "messages" field. public const int MessagesFieldNumber = 2; private static readonly pb::FieldCodec _repeated_messages_codec = pb::FieldCodec.ForMessage(18, global::Protobuf.FamilyChatMsg.Parser); private readonly pbc::RepeatedField messages_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Messages { get { return messages_; } } /// Field number for the "onlineCount" field. public const int OnlineCountFieldNumber = 4; private int onlineCount_; /// /// int32 total=3; /// 公会在线玩家数 /// [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 (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 (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 (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 (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.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 32: { OnlineCount = input.ReadInt32(); break; } } } } } /// /// 玩家发送聊天内容 /// public sealed partial class FamilyStartChat_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyStartChat_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[61]; } } [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); } /// Field number for the "chatType" field. 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; } } /// Field number for the "content" field. 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; } } } } } /// /// 这个消息也会群发给其他玩家,用于广播 /// public sealed partial class FamilyStartChat_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyStartChat_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[62]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "message" field. 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; } } } } } /// /// 给一个玩家捐献一个宝石 /// public sealed partial class FamilyStartDonate_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyStartDonate_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[63]; } } [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); } /// Field number for the "messageId" field. 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; } } } } } /// /// 捐赠结果 这个消息也会群发给其他玩家 /// public sealed partial class FamilyStartDonate_S2C : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyStartDonate_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[64]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "message" field. 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; } } } } } /// /// 退出工会 /// 如果是会长退出,服务器会指定一个新的会长 /// public sealed partial class FamilyQuit_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyQuit_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[65]; } } [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 { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyQuit_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[66]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as 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; } } } } } /// /// @{ 会长特有协议 /// 会长批准入会 /// public sealed partial class FamilyAgreeJoin_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyAgreeJoin_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[67]; } } [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); } /// Field number for the "messageId" field. 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 { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyAgreeJoin_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[68]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "newMember" field. 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; } } } } } /// /// 踢出会员 /// public sealed partial class FamilyKickUser_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyKickUser_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[69]; } } [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); } /// Field number for the "username" field. public const int UsernameFieldNumber = 1; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as 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 { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyKickUser_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[70]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as 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; } } } } } /// /// 转让会长 /// public sealed partial class FamilyTransLeader_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyTransLeader_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[71]; } } [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); } /// Field number for the "username" field. public const int UsernameFieldNumber = 1; private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Username { get { return username_; } set { username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as 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 { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyTransLeader_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[72]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as 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; } } } } } /// /// @ 工会商店(使用工会捐献积分兑换,所有人都有权限) /// 获取捐赠商店列表 /// public sealed partial class FamilyGetDonateShop_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyGetDonateShop_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[73]; } } [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 { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyGetDonateShop_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[74]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "items" field. public const int ItemsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_items_codec = pb::FieldCodec.ForMessage(18, global::Protobuf.StoreItemMsg.Parser); private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Items { get { return items_; } } /// Field number for the "expireTime" field. public const int ExpireTimeFieldNumber = 3; private int expireTime_; /// /// !下次刷新时间,UNIX时间戳,单位秒 /// [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; } } } } } /// /// 购买捐赠商城物品 /// public sealed partial class FamilyBuyDonateShop_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyBuyDonateShop_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[75]; } } [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); } /// Field number for the "donateshopId" field. 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 { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyBuyDonateShop_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[76]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "donateshopId" field. public const int DonateshopIdFieldNumber = 2; private int donateshopId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int DonateshopId { get { return donateshopId_; } set { donateshopId_ = value; } } /// Field number for the "curitems" field. public const int CuritemsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_curitems_codec = pb::FieldCodec.ForMessage(26, global::Protobuf.RewardItemMsg.Parser); private readonly pbc::RepeatedField curitems_ = new pbc::RepeatedField(); /// /// 消费后的当前值 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Curitems { get { return curitems_; } } /// Field number for the "buyCount" field. public const int BuyCountFieldNumber = 4; private int buyCount_; /// /// 当前的购买次数 /// [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; } } } } } /// /// 获取积分商店物品列表 /// public sealed partial class FamilyGetScoreShop_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyGetScoreShop_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[77]; } } [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 { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyGetScoreShop_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[78]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "items" field. public const int ItemsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_items_codec = pb::FieldCodec.ForMessage(18, global::Protobuf.StoreItemMsg.Parser); private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Items { get { return items_; } } /// Field number for the "expireTime" field. public const int ExpireTimeFieldNumber = 3; private int expireTime_; /// /// !下次刷新时间,UNIX时间戳,单位秒 /// [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; } } } } } /// /// 购买积分商城物品 /// public sealed partial class FamilyBuyScoreShop_C2S : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyBuyScoreShop_C2S()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[79]; } } [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); } /// Field number for the "scoreshopId" field. 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 { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FamilyBuyScoreShop_S2C()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Protobuf.GameReflection.Descriptor.MessageTypes[80]; } } [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); } /// Field number for the "errorcode" field. public const int ErrorcodeFieldNumber = 1; private int errorcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Errorcode { get { return errorcode_; } set { errorcode_ = value; } } /// Field number for the "scoreshopId" field. public const int ScoreshopIdFieldNumber = 2; private int scoreshopId_; /// /// ! 这个2个字段,复制到工会结构体里面 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int ScoreshopId { get { return scoreshopId_; } set { scoreshopId_ = value; } } /// Field number for the "scoreshopExpired" field. public const int ScoreshopExpiredFieldNumber = 3; private int scoreshopExpired_; /// /// ! 注意,这个是不积分商店刷新时间,这个是新的BUF过期时间戳.单位秒 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int ScoreshopExpired { get { return scoreshopExpired_; } set { scoreshopExpired_ = value; } } /// Field number for the "familyScore" field. public const int FamilyScoreFieldNumber = 4; private int familyScore_; /// /// !当前的工会积分 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int FamilyScore { get { return familyScore_; } set { familyScore_ = value; } } /// Field number for the "buyCount" field. public const int BuyCountFieldNumber = 5; private int buyCount_; /// /// ! 当前的购买次数 /// [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