10935 lines
369 KiB
C#
10935 lines
369 KiB
C#
// <auto-generated>
|
||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
// source: client.proto
|
||
// </auto-generated>
|
||
#pragma warning disable 1591, 0612, 3021, 8981
|
||
#region Designer generated code
|
||
|
||
using pb = global::Google.Protobuf;
|
||
using pbc = global::Google.Protobuf.Collections;
|
||
using pbr = global::Google.Protobuf.Reflection;
|
||
using scg = global::System.Collections.Generic;
|
||
namespace NLDPB {
|
||
|
||
/// <summary>Holder for reflection information generated from client.proto</summary>
|
||
public static partial class ClientReflection {
|
||
|
||
#region Descriptor
|
||
/// <summary>File descriptor for client.proto</summary>
|
||
public static pbr::FileDescriptor Descriptor {
|
||
get { return descriptor; }
|
||
}
|
||
private static pbr::FileDescriptor descriptor;
|
||
|
||
static ClientReflection() {
|
||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||
string.Concat(
|
||
"CgxjbGllbnQucHJvdG8SBk5MRF9QQiIlChBDbHRfR3RfSGFuZHNoYWtlEhEK",
|
||
"CXNlcnZlcl9pZBgBIAEoDSIlChBHdF9DbHRfSGFuZHNoYWtlEhEKCXNlcnZl",
|
||
"cl9pZBgBIAEoDSIgChBDbHRfR3RfSGVhcnRiZWF0EgwKBHRpbWUYASABKAQi",
|
||
"PAoQR3RfQ2x0X0hlYXJ0YmVhdBITCgtjbGllbnRfdGltZRgBIAEoBBITCgtz",
|
||
"ZXJ2ZXJfdGltZRgCIAEoBCIjChFHdF9DbHRfRGlzY29ubmVjdBIOCgZyZWFz",
|
||
"b24YASABKAUiNgoLQ2x0X0xfTG9naW4SEgoKbG9naW5fdHlwZRgBIAEoDRIT",
|
||
"Cgtsb2dpbl9kYXRhcxgCIAMoCSIjChFMX0NsdF9Mb2dpblJlc3VsdBIOCgZy",
|
||
"ZXN1bHQYASABKA0iIwoRR19DbHRfTG9naW5SZXN1bHQSDgoGcmVzdWx0GAEg",
|
||
"ASgNIj8KDkdfQ2x0X09wUmVzdWx0Eg4KBm1zZ19pZBgBIAEoDRIOCgZyZXN1",
|
||
"bHQYAiABKA0SDQoFcGFyYW0YAyABKA0ibAoPR19DbHRfQWN0b3JCYXNlEg4K",
|
||
"BmlzX2FsbBgBIAEoCBISCgphY2NvdW50X2lkGAIgASgJEhAKCG5pY2tuYW1l",
|
||
"GAMgASgJEg8KB3Byb3BfaWQYBCADKA0SEgoKcHJvcF92YWx1ZRgFIAMoDSIp",
|
||
"CgxNU0dfSXRlbUluZm8SCgoCaWQYASABKA0SDQoFY291bnQYAiABKA0iRgoP",
|
||
"R19DbHRfQWN0b3JJdGVtEg4KBmlzX2FsbBgBIAEoCBIjCgVpbmZvcxgCIAMo",
|
||
"CzIULk5MRF9QQi5NU0dfSXRlbUluZm8iuwEKEU1TR19DaGFyYWN0ZXJJbmZv",
|
||
"EgoKAmlkGAEgASgNEgsKA2V4cBgCIAEoDRINCgVsZXZlbBgDIAEoDRITCgti",
|
||
"cmVha19sZXZlbBgEIAEoDRITCgthd2FrZV9sZXZlbBgFIAEoDRISCgpsaWtl",
|
||
"bHlfZXhwGAYgASgNEhQKDGxpa2VseV9sZXZlbBgHIAEoDRIZChF1bHRyYV9z",
|
||
"a2lsbF9sZXZlbBgIIAEoDRIPCgdza2luX2lkGAkgASgNIi0KD01TR19WZWhp",
|
||
"Y2xlSW5mbxIKCgJpZBgBIAEoDRIOCgZjb3VudHMYAiADKA0iewoUR19DbHRf",
|
||
"QWN0b3JDaGFyYWN0ZXISDgoGaXNfYWxsGAEgASgIEigKBWluZm9zGAIgAygL",
|
||
"MhkuTkxEX1BCLk1TR19DaGFyYWN0ZXJJbmZvEikKCHZlaGljbGVzGAMgAygL",
|
||
"MhcuTkxEX1BCLk1TR19WZWhpY2xlSW5mbyJaChZDbHRfR19DaGFyYWN0ZXJV",
|
||
"cGdyYWRlEhQKDGNoYXJhY3Rlcl9pZBgBIAEoDRIUCgx1cGdyYWRlX3R5cGUY",
|
||
"AiABKA0SFAoMdGFyZ2V0X2xldmVsGAMgASgNIioKDU1TR19Mb2dpY1VpbnQS",
|
||
"CgoCaWQYASABKA0SDQoFdmFsdWUYAiABKA0iKwoOTVNHX0xvZ2ljQnl0ZXMS",
|
||
"CgoCaWQYASABKA0SDQoFdmFsdWUYAiABKAwiTAoQR19DbHRfQWN0b3JMb2dp",
|
||
"YxIOCgZpc19hbGwYASABKAgSKAoJdWludERhdGFzGAIgAygLMhUuTkxEX1BC",
|
||
"Lk1TR19Mb2dpY1VpbnQiOAoMTVNHX1Rhc2tJbmZvEgoKAmlkGAEgASgNEg4K",
|
||
"BnN0YXR1cxgCIAEoDRIMCgR0eXBlGAMgASgNIioKDU1TR19UYXNrQ291bnQS",
|
||
"CgoCaWQYASABKA0SDQoFY291bnQYAiABKA0ibQoPR19DbHRfQWN0b3JUYXNr",
|
||
"Eg4KBmlzX2FsbBgBIAEoCBIjCgVpbmZvcxgCIAMoCzIULk5MRF9QQi5NU0df",
|
||
"VGFza0luZm8SJQoGY291bnRzGAMgAygLMhUuTkxEX1BCLk1TR19UYXNrQ291",
|
||
"bnQiJQoRQ2x0X0dfU2V0Tmlja25hbWUSEAoIbmlja25hbWUYASABKAkiPAoN",
|
||
"TVNHX0xldmVsSW5mbxIKCgJpZBgBIAEoDRIRCglpc19wYXNzZWQYAiABKAgS",
|
||
"DAoEc3RhchgDIAEoDSIzCg9NU0dfQ2hhcHRlckluZm8SCgoCaWQYASABKA0S",
|
||
"FAoMcmV3YXJkX2luZGV4GAIgASgNIqMBChBHX0NsdF9BY3RvckxldmVsEg4K",
|
||
"BmlzX2FsbBgBIAEoCBIVCg1sYXN0X2VudGVyX2lkGAIgASgNEhcKD2xhc3Rf",
|
||
"ZW50ZXJfdGltZRgDIAEoDRIkCgVpbmZvcxgEIAMoCzIVLk5MRF9QQi5NU0df",
|
||
"TGV2ZWxJbmZvEikKCGNoYXB0ZXJzGAUgAygLMhcuTkxEX1BCLk1TR19DaGFw",
|
||
"dGVySW5mbyI4ChBDbHRfR19FbnRlckxldmVsEhAKCGxldmVsX2lkGAEgASgN",
|
||
"EhIKCnRlYW1faW5kZXgYAiABKA0iMwoPQ2x0X0dfRXhpdExldmVsEhIKCmlz",
|
||
"X3N1Y2Nlc3MYASABKAgSDAoEc3RhchgCIAEoDSITChFHX0NsdF9BY3RvclJh",
|
||
"ZmZsZSIaCgxDbHRfR19SYWZmbGUSCgoCaWQYASABKA0iNQoTTVNHX05ld1Jh",
|
||
"ZmZsZVJlc3VsdBINCgVpbmRleBgBIAEoDRIPCgdpdGVtX2lkGAIgAygNImwK",
|
||
"DkdfQ2x0X0l0ZW1MaXN0EhMKC2l0ZW1fc291cmNlGAEgASgNEhEKCXNvdXJj",
|
||
"ZV9pZBgCIAEoDRIPCgdpdGVtX2lkGAMgAygNEhIKCml0ZW1fY291bnQYBCAD",
|
||
"KA0SDQoFaW5kZXgYBSABKA0iNQoTQ2x0X0dfQ2hhcHRlclJld2FyZBIPCgdj",
|
||
"aGFwdGVyGAEgASgNEg0KBWluZGV4GAIgASgNIkAKFENsdF9HX1ZlaGljbGVV",
|
||
"cGdyYWRlEhIKCnZlaGljbGVfaWQYASABKA0SFAoMdXBncmFkZV90eXBlGAIg",
|
||
"ASgNImMKDE1TR19UZWFtSW5mbxINCgVpbmRleBgBIAEoDRIMCgRuYW1lGAIg",
|
||
"ASgJEgwKBGljb24YAyABKA0SFAoMY2hhcmFjdGVyX2lkGAQgAygNEhIKCnZl",
|
||
"aGljbGVfaWQYBSABKA0iRgoPR19DbHRfQWN0b3JUZWFtEg4KBmlzX2FsbBgB",
|
||
"IAEoCBIjCgVpbmZvcxgCIAMoCzIULk5MRF9QQi5NU0dfVGVhbUluZm8iZwoQ",
|
||
"Q2x0X0dfQ3JlYXRlVGVhbRINCgVpbmRleBgBIAEoDRIMCgRuYW1lGAIgASgJ",
|
||
"EgwKBGljb24YAyABKA0SFAoMY2hhcmFjdGVyX2lkGAQgAygNEhIKCnZlaGlj",
|
||
"bGVfaWQYBSABKA0iKgoNQ2x0X0dfVXNlSXRlbRIKCgJpZBgBIAEoDRINCgVj",
|
||
"b3VudBgCIAEoDSIQCg5DbHRfR19UZXN0SW5pdCIeCg5DbHRfR19HaWZ0Q29k",
|
||
"ZRIMCgRjb2RlGAEgASgJIiAKD01sX0NsdF9NYWlsSW5mbxINCgVjb3VudBgB",
|
||
"IAEoDSIUChJDbHRfTWxfTWFpbFJlcXVlc3QiagoITVNHX01haWwSCgoCaWQY",
|
||
"ASABKAQSEQoJc2VuZF90aW1lGAIgASgNEg8KB21haWxfaWQYAyABKA0SEQoJ",
|
||
"bWFpbF9kYXRhGAQgASgMEg0KBXRpdGxlGAUgASgJEgwKBGJvZHkYBiABKAki",
|
||
"MgoPTWxfQ2x0X01haWxEYXRhEh8KBW1haWxzGAEgAygLMhAuTkxEX1BCLk1T",
|
||
"R19NYWlsIh4KD0NsdF9NbF9PcGVuTWFpbBILCgNpZHMYASADKAQqLQoJTG9n",
|
||
"aW5UeXBlEggKBE5vbmUQABIJCgRQSFhIEOgHEgsKBlRhcFRhcBDpByo6Cg1Q",
|
||
"SFhITG9naW5EYXRhEgsKB0FjY291bnQQABIMCghQYXNzd29yZBABEg4KClBI",
|
||
"WEhMRF9NYXgQAipACg9UYXBUYXBMb2dpbkRhdGESDwoLQWNjZXNzVG9rZW4Q",
|
||
"ABIKCgZNYWNLZXkQARIQCgxUYXBUYXBMRF9NYXgQAipjCgtVcGdyYWRlVHlw",
|
||
"ZRILCgdVVF9Ob25lEAASDAoIVVRfTGV2ZWwQARIMCghVVF9CcmVhaxACEhEK",
|
||
"DVVUX1VsdHJhU2tpbGwQAxIMCghVVF9Bd2FrZRAEEgoKBlVJX01heBAFQgta",
|
||
"CXBiL3hzZl9wYmIGcHJvdG8z"));
|
||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||
new pbr::FileDescriptor[] { },
|
||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::NLDPB.LoginType), typeof(global::NLDPB.PHXHLoginData), typeof(global::NLDPB.TapTapLoginData), typeof(global::NLDPB.UpgradeType), }, null, new pbr::GeneratedClrTypeInfo[] {
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_Gt_Handshake), global::NLDPB.Clt_Gt_Handshake.Parser, new[]{ "ServerId" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Gt_Clt_Handshake), global::NLDPB.Gt_Clt_Handshake.Parser, new[]{ "ServerId" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_Gt_Heartbeat), global::NLDPB.Clt_Gt_Heartbeat.Parser, new[]{ "Time" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Gt_Clt_Heartbeat), global::NLDPB.Gt_Clt_Heartbeat.Parser, new[]{ "ClientTime", "ServerTime" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Gt_Clt_Disconnect), global::NLDPB.Gt_Clt_Disconnect.Parser, new[]{ "Reason" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_L_Login), global::NLDPB.Clt_L_Login.Parser, new[]{ "LoginType", "LoginDatas" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.L_Clt_LoginResult), global::NLDPB.L_Clt_LoginResult.Parser, new[]{ "Result" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_LoginResult), global::NLDPB.G_Clt_LoginResult.Parser, new[]{ "Result" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_OpResult), global::NLDPB.G_Clt_OpResult.Parser, new[]{ "MsgId", "Result", "Param" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorBase), global::NLDPB.G_Clt_ActorBase.Parser, new[]{ "IsAll", "AccountId", "Nickname", "PropId", "PropValue" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_ItemInfo), global::NLDPB.MSG_ItemInfo.Parser, new[]{ "Id", "Count" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorItem), global::NLDPB.G_Clt_ActorItem.Parser, new[]{ "IsAll", "Infos" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_CharacterInfo), global::NLDPB.MSG_CharacterInfo.Parser, new[]{ "Id", "Exp", "Level", "BreakLevel", "AwakeLevel", "LikelyExp", "LikelyLevel", "UltraSkillLevel", "SkinId" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_VehicleInfo), global::NLDPB.MSG_VehicleInfo.Parser, new[]{ "Id", "Counts" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorCharacter), global::NLDPB.G_Clt_ActorCharacter.Parser, new[]{ "IsAll", "Infos", "Vehicles" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_CharacterUpgrade), global::NLDPB.Clt_G_CharacterUpgrade.Parser, new[]{ "CharacterId", "UpgradeType", "TargetLevel" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_LogicUint), global::NLDPB.MSG_LogicUint.Parser, new[]{ "Id", "Value" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_LogicBytes), global::NLDPB.MSG_LogicBytes.Parser, new[]{ "Id", "Value" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorLogic), global::NLDPB.G_Clt_ActorLogic.Parser, new[]{ "IsAll", "UintDatas" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_TaskInfo), global::NLDPB.MSG_TaskInfo.Parser, new[]{ "Id", "Status", "Type" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_TaskCount), global::NLDPB.MSG_TaskCount.Parser, new[]{ "Id", "Count" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorTask), global::NLDPB.G_Clt_ActorTask.Parser, new[]{ "IsAll", "Infos", "Counts" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_SetNickname), global::NLDPB.Clt_G_SetNickname.Parser, new[]{ "Nickname" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_LevelInfo), global::NLDPB.MSG_LevelInfo.Parser, new[]{ "Id", "IsPassed", "Star" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_ChapterInfo), global::NLDPB.MSG_ChapterInfo.Parser, new[]{ "Id", "RewardIndex" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorLevel), global::NLDPB.G_Clt_ActorLevel.Parser, new[]{ "IsAll", "LastEnterId", "LastEnterTime", "Infos", "Chapters" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_EnterLevel), global::NLDPB.Clt_G_EnterLevel.Parser, new[]{ "LevelId", "TeamIndex" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_ExitLevel), global::NLDPB.Clt_G_ExitLevel.Parser, new[]{ "IsSuccess", "Star" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorRaffle), global::NLDPB.G_Clt_ActorRaffle.Parser, null, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_Raffle), global::NLDPB.Clt_G_Raffle.Parser, new[]{ "Id" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_NewRaffleResult), global::NLDPB.MSG_NewRaffleResult.Parser, new[]{ "Index", "ItemId" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ItemList), global::NLDPB.G_Clt_ItemList.Parser, new[]{ "ItemSource", "SourceId", "ItemId", "ItemCount", "Index" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_ChapterReward), global::NLDPB.Clt_G_ChapterReward.Parser, new[]{ "Chapter", "Index" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_VehicleUpgrade), global::NLDPB.Clt_G_VehicleUpgrade.Parser, new[]{ "VehicleId", "UpgradeType" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_TeamInfo), global::NLDPB.MSG_TeamInfo.Parser, new[]{ "Index", "Name", "Icon", "CharacterId", "VehicleId" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorTeam), global::NLDPB.G_Clt_ActorTeam.Parser, new[]{ "IsAll", "Infos" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_CreateTeam), global::NLDPB.Clt_G_CreateTeam.Parser, new[]{ "Index", "Name", "Icon", "CharacterId", "VehicleId" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_UseItem), global::NLDPB.Clt_G_UseItem.Parser, new[]{ "Id", "Count" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_TestInit), global::NLDPB.Clt_G_TestInit.Parser, null, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_GiftCode), global::NLDPB.Clt_G_GiftCode.Parser, new[]{ "Code" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Ml_Clt_MailInfo), global::NLDPB.Ml_Clt_MailInfo.Parser, new[]{ "Count" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_Ml_MailRequest), global::NLDPB.Clt_Ml_MailRequest.Parser, null, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_Mail), global::NLDPB.MSG_Mail.Parser, new[]{ "Id", "SendTime", "MailId", "MailData", "Title", "Body" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Ml_Clt_MailData), global::NLDPB.Ml_Clt_MailData.Parser, new[]{ "Mails" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_Ml_OpenMail), global::NLDPB.Clt_Ml_OpenMail.Parser, new[]{ "Ids" }, null, null, null, null)
|
||
}));
|
||
}
|
||
#endregion
|
||
|
||
}
|
||
#region Enums
|
||
/// <summary>
|
||
/// 登录类型
|
||
/// </summary>
|
||
public enum LoginType {
|
||
[pbr::OriginalName("None")] None = 0,
|
||
/// <summary>
|
||
/// 自定义登录
|
||
/// </summary>
|
||
[pbr::OriginalName("PHXH")] Phxh = 1000,
|
||
/// <summary>
|
||
/// TapTap登录
|
||
/// </summary>
|
||
[pbr::OriginalName("TapTap")] TapTap = 1001,
|
||
}
|
||
|
||
public enum PHXHLoginData {
|
||
[pbr::OriginalName("Account")] Account = 0,
|
||
[pbr::OriginalName("Password")] Password = 1,
|
||
[pbr::OriginalName("PHXHLD_Max")] PhxhldMax = 2,
|
||
}
|
||
|
||
public enum TapTapLoginData {
|
||
[pbr::OriginalName("AccessToken")] AccessToken = 0,
|
||
[pbr::OriginalName("MacKey")] MacKey = 1,
|
||
[pbr::OriginalName("TapTapLD_Max")] TapTapLdMax = 2,
|
||
}
|
||
|
||
/// <summary>
|
||
/// 角色提升类型
|
||
/// </summary>
|
||
public enum UpgradeType {
|
||
[pbr::OriginalName("UT_None")] UtNone = 0,
|
||
/// <summary>
|
||
/// 角色等级
|
||
/// </summary>
|
||
[pbr::OriginalName("UT_Level")] UtLevel = 1,
|
||
/// <summary>
|
||
/// 突破
|
||
/// </summary>
|
||
[pbr::OriginalName("UT_Break")] UtBreak = 2,
|
||
/// <summary>
|
||
/// 主动技能
|
||
/// </summary>
|
||
[pbr::OriginalName("UT_UltraSkill")] UtUltraSkill = 3,
|
||
/// <summary>
|
||
/// 觉醒
|
||
/// </summary>
|
||
[pbr::OriginalName("UT_Awake")] UtAwake = 4,
|
||
/// <summary>
|
||
/// 最大值
|
||
/// </summary>
|
||
[pbr::OriginalName("UI_Max")] UiMax = 5,
|
||
}
|
||
|
||
#endregion
|
||
|
||
#region Messages
|
||
/// <summary>
|
||
/// 客户端csharp中需要用到的协议
|
||
/// client --> Gate 握手协议
|
||
/// </summary>
|
||
public sealed partial class Clt_Gt_Handshake : pb::IMessage<Clt_Gt_Handshake>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_Gt_Handshake> _parser = new pb::MessageParser<Clt_Gt_Handshake>(() => new Clt_Gt_Handshake());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_Gt_Handshake> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[0]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Gt_Handshake() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Gt_Handshake(Clt_Gt_Handshake other) : this() {
|
||
serverId_ = other.serverId_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Gt_Handshake Clone() {
|
||
return new Clt_Gt_Handshake(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "server_id" field.</summary>
|
||
public const int ServerIdFieldNumber = 1;
|
||
private uint serverId_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint ServerId {
|
||
get { return serverId_; }
|
||
set {
|
||
serverId_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_Gt_Handshake);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_Gt_Handshake other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (ServerId != other.ServerId) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (ServerId != 0) hash ^= ServerId.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (ServerId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(ServerId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (ServerId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(ServerId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (ServerId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ServerId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_Gt_Handshake other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.ServerId != 0) {
|
||
ServerId = other.ServerId;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
ServerId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
ServerId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// gate --> client 握手反馈
|
||
/// </summary>
|
||
public sealed partial class Gt_Clt_Handshake : pb::IMessage<Gt_Clt_Handshake>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Gt_Clt_Handshake> _parser = new pb::MessageParser<Gt_Clt_Handshake>(() => new Gt_Clt_Handshake());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Gt_Clt_Handshake> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[1]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Gt_Clt_Handshake() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Gt_Clt_Handshake(Gt_Clt_Handshake other) : this() {
|
||
serverId_ = other.serverId_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Gt_Clt_Handshake Clone() {
|
||
return new Gt_Clt_Handshake(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "server_id" field.</summary>
|
||
public const int ServerIdFieldNumber = 1;
|
||
private uint serverId_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint ServerId {
|
||
get { return serverId_; }
|
||
set {
|
||
serverId_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Gt_Clt_Handshake);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Gt_Clt_Handshake other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (ServerId != other.ServerId) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (ServerId != 0) hash ^= ServerId.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (ServerId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(ServerId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (ServerId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(ServerId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (ServerId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ServerId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Gt_Clt_Handshake other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.ServerId != 0) {
|
||
ServerId = other.ServerId;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
ServerId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
ServerId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> gate 心跳
|
||
/// </summary>
|
||
public sealed partial class Clt_Gt_Heartbeat : pb::IMessage<Clt_Gt_Heartbeat>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_Gt_Heartbeat> _parser = new pb::MessageParser<Clt_Gt_Heartbeat>(() => new Clt_Gt_Heartbeat());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_Gt_Heartbeat> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[2]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Gt_Heartbeat() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Gt_Heartbeat(Clt_Gt_Heartbeat other) : this() {
|
||
time_ = other.time_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Gt_Heartbeat Clone() {
|
||
return new Clt_Gt_Heartbeat(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "time" field.</summary>
|
||
public const int TimeFieldNumber = 1;
|
||
private ulong time_;
|
||
/// <summary>
|
||
/// 客户端发起心跳当前时间毫秒数
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ulong Time {
|
||
get { return time_; }
|
||
set {
|
||
time_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_Gt_Heartbeat);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_Gt_Heartbeat other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Time != other.Time) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Time != 0UL) hash ^= Time.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Time != 0UL) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt64(Time);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Time != 0UL) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt64(Time);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Time != 0UL) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Time);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_Gt_Heartbeat other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Time != 0UL) {
|
||
Time = other.Time;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Time = input.ReadUInt64();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Time = input.ReadUInt64();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// gate --> client 心跳反馈
|
||
/// </summary>
|
||
public sealed partial class Gt_Clt_Heartbeat : pb::IMessage<Gt_Clt_Heartbeat>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Gt_Clt_Heartbeat> _parser = new pb::MessageParser<Gt_Clt_Heartbeat>(() => new Gt_Clt_Heartbeat());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Gt_Clt_Heartbeat> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[3]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Gt_Clt_Heartbeat() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Gt_Clt_Heartbeat(Gt_Clt_Heartbeat other) : this() {
|
||
clientTime_ = other.clientTime_;
|
||
serverTime_ = other.serverTime_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Gt_Clt_Heartbeat Clone() {
|
||
return new Gt_Clt_Heartbeat(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "client_time" field.</summary>
|
||
public const int ClientTimeFieldNumber = 1;
|
||
private ulong clientTime_;
|
||
/// <summary>
|
||
/// 客户端发起心跳当前时间毫秒数
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ulong ClientTime {
|
||
get { return clientTime_; }
|
||
set {
|
||
clientTime_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "server_time" field.</summary>
|
||
public const int ServerTimeFieldNumber = 2;
|
||
private ulong serverTime_;
|
||
/// <summary>
|
||
/// 服务器回复心跳当前时间毫秒数
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ulong ServerTime {
|
||
get { return serverTime_; }
|
||
set {
|
||
serverTime_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Gt_Clt_Heartbeat);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Gt_Clt_Heartbeat other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (ClientTime != other.ClientTime) return false;
|
||
if (ServerTime != other.ServerTime) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (ClientTime != 0UL) hash ^= ClientTime.GetHashCode();
|
||
if (ServerTime != 0UL) hash ^= ServerTime.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (ClientTime != 0UL) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt64(ClientTime);
|
||
}
|
||
if (ServerTime != 0UL) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt64(ServerTime);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (ClientTime != 0UL) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt64(ClientTime);
|
||
}
|
||
if (ServerTime != 0UL) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt64(ServerTime);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (ClientTime != 0UL) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClientTime);
|
||
}
|
||
if (ServerTime != 0UL) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ServerTime);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Gt_Clt_Heartbeat other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.ClientTime != 0UL) {
|
||
ClientTime = other.ClientTime;
|
||
}
|
||
if (other.ServerTime != 0UL) {
|
||
ServerTime = other.ServerTime;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
ClientTime = input.ReadUInt64();
|
||
break;
|
||
}
|
||
case 16: {
|
||
ServerTime = input.ReadUInt64();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
ClientTime = input.ReadUInt64();
|
||
break;
|
||
}
|
||
case 16: {
|
||
ServerTime = input.ReadUInt64();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// gate --> client 服务器断开连接
|
||
/// </summary>
|
||
public sealed partial class Gt_Clt_Disconnect : pb::IMessage<Gt_Clt_Disconnect>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Gt_Clt_Disconnect> _parser = new pb::MessageParser<Gt_Clt_Disconnect>(() => new Gt_Clt_Disconnect());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Gt_Clt_Disconnect> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[4]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Gt_Clt_Disconnect() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Gt_Clt_Disconnect(Gt_Clt_Disconnect other) : this() {
|
||
reason_ = other.reason_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Gt_Clt_Disconnect Clone() {
|
||
return new Gt_Clt_Disconnect(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "reason" field.</summary>
|
||
public const int ReasonFieldNumber = 1;
|
||
private int reason_;
|
||
/// <summary>
|
||
/// 断开原因
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int Reason {
|
||
get { return reason_; }
|
||
set {
|
||
reason_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Gt_Clt_Disconnect);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Gt_Clt_Disconnect other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Reason != other.Reason) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Reason != 0) hash ^= Reason.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Reason != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteInt32(Reason);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Reason != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteInt32(Reason);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Reason != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reason);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Gt_Clt_Disconnect other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Reason != 0) {
|
||
Reason = other.Reason;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Reason = input.ReadInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Reason = input.ReadInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> login 登录
|
||
/// </summary>
|
||
public sealed partial class Clt_L_Login : pb::IMessage<Clt_L_Login>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_L_Login> _parser = new pb::MessageParser<Clt_L_Login>(() => new Clt_L_Login());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_L_Login> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[5]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_L_Login() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_L_Login(Clt_L_Login other) : this() {
|
||
loginType_ = other.loginType_;
|
||
loginDatas_ = other.loginDatas_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_L_Login Clone() {
|
||
return new Clt_L_Login(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "login_type" field.</summary>
|
||
public const int LoginTypeFieldNumber = 1;
|
||
private uint loginType_;
|
||
/// <summary>
|
||
/// 登录类型 参照LoginType
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint LoginType {
|
||
get { return loginType_; }
|
||
set {
|
||
loginType_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "login_datas" field.</summary>
|
||
public const int LoginDatasFieldNumber = 2;
|
||
private static readonly pb::FieldCodec<string> _repeated_loginDatas_codec
|
||
= pb::FieldCodec.ForString(18);
|
||
private readonly pbc::RepeatedField<string> loginDatas_ = new pbc::RepeatedField<string>();
|
||
/// <summary>
|
||
/// 登录数据
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<string> LoginDatas {
|
||
get { return loginDatas_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_L_Login);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_L_Login other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (LoginType != other.LoginType) return false;
|
||
if(!loginDatas_.Equals(other.loginDatas_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (LoginType != 0) hash ^= LoginType.GetHashCode();
|
||
hash ^= loginDatas_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (LoginType != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(LoginType);
|
||
}
|
||
loginDatas_.WriteTo(output, _repeated_loginDatas_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (LoginType != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(LoginType);
|
||
}
|
||
loginDatas_.WriteTo(ref output, _repeated_loginDatas_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (LoginType != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LoginType);
|
||
}
|
||
size += loginDatas_.CalculateSize(_repeated_loginDatas_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_L_Login other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.LoginType != 0) {
|
||
LoginType = other.LoginType;
|
||
}
|
||
loginDatas_.Add(other.loginDatas_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
LoginType = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
loginDatas_.AddEntriesFrom(input, _repeated_loginDatas_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
LoginType = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
loginDatas_.AddEntriesFrom(ref input, _repeated_loginDatas_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// login --> client 登录服登录结果
|
||
/// </summary>
|
||
public sealed partial class L_Clt_LoginResult : pb::IMessage<L_Clt_LoginResult>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<L_Clt_LoginResult> _parser = new pb::MessageParser<L_Clt_LoginResult>(() => new L_Clt_LoginResult());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<L_Clt_LoginResult> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[6]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public L_Clt_LoginResult() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public L_Clt_LoginResult(L_Clt_LoginResult other) : this() {
|
||
result_ = other.result_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public L_Clt_LoginResult Clone() {
|
||
return new L_Clt_LoginResult(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "result" field.</summary>
|
||
public const int ResultFieldNumber = 1;
|
||
private uint result_;
|
||
/// <summary>
|
||
/// 结果码
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Result {
|
||
get { return result_; }
|
||
set {
|
||
result_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as L_Clt_LoginResult);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(L_Clt_LoginResult other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Result != other.Result) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Result != 0) hash ^= Result.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Result != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Result);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Result != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Result);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Result != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Result);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(L_Clt_LoginResult other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Result != 0) {
|
||
Result = other.Result;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Result = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Result = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 游戏服登录结果
|
||
/// </summary>
|
||
public sealed partial class G_Clt_LoginResult : pb::IMessage<G_Clt_LoginResult>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_LoginResult> _parser = new pb::MessageParser<G_Clt_LoginResult>(() => new G_Clt_LoginResult());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_LoginResult> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[7]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_LoginResult() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_LoginResult(G_Clt_LoginResult other) : this() {
|
||
result_ = other.result_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_LoginResult Clone() {
|
||
return new G_Clt_LoginResult(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "result" field.</summary>
|
||
public const int ResultFieldNumber = 1;
|
||
private uint result_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Result {
|
||
get { return result_; }
|
||
set {
|
||
result_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_LoginResult);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_LoginResult other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Result != other.Result) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Result != 0) hash ^= Result.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Result != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Result);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Result != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Result);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Result != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Result);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_LoginResult other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Result != 0) {
|
||
Result = other.Result;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Result = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Result = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 通用操作反馈
|
||
/// </summary>
|
||
public sealed partial class G_Clt_OpResult : pb::IMessage<G_Clt_OpResult>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_OpResult> _parser = new pb::MessageParser<G_Clt_OpResult>(() => new G_Clt_OpResult());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_OpResult> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[8]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_OpResult() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_OpResult(G_Clt_OpResult other) : this() {
|
||
msgId_ = other.msgId_;
|
||
result_ = other.result_;
|
||
param_ = other.param_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_OpResult Clone() {
|
||
return new G_Clt_OpResult(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "msg_id" field.</summary>
|
||
public const int MsgIdFieldNumber = 1;
|
||
private uint msgId_;
|
||
/// <summary>
|
||
/// 请求消息ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint MsgId {
|
||
get { return msgId_; }
|
||
set {
|
||
msgId_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "result" field.</summary>
|
||
public const int ResultFieldNumber = 2;
|
||
private uint result_;
|
||
/// <summary>
|
||
/// 结果
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Result {
|
||
get { return result_; }
|
||
set {
|
||
result_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "param" field.</summary>
|
||
public const int ParamFieldNumber = 3;
|
||
private uint param_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Param {
|
||
get { return param_; }
|
||
set {
|
||
param_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_OpResult);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_OpResult other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (MsgId != other.MsgId) return false;
|
||
if (Result != other.Result) return false;
|
||
if (Param != other.Param) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (MsgId != 0) hash ^= MsgId.GetHashCode();
|
||
if (Result != 0) hash ^= Result.GetHashCode();
|
||
if (Param != 0) hash ^= Param.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (MsgId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(MsgId);
|
||
}
|
||
if (Result != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Result);
|
||
}
|
||
if (Param != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Param);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (MsgId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(MsgId);
|
||
}
|
||
if (Result != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Result);
|
||
}
|
||
if (Param != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Param);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (MsgId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MsgId);
|
||
}
|
||
if (Result != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Result);
|
||
}
|
||
if (Param != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Param);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_OpResult other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.MsgId != 0) {
|
||
MsgId = other.MsgId;
|
||
}
|
||
if (other.Result != 0) {
|
||
Result = other.Result;
|
||
}
|
||
if (other.Param != 0) {
|
||
Param = other.Param;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
MsgId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Result = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Param = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
MsgId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Result = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Param = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 基础数据
|
||
/// </summary>
|
||
public sealed partial class G_Clt_ActorBase : pb::IMessage<G_Clt_ActorBase>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_ActorBase> _parser = new pb::MessageParser<G_Clt_ActorBase>(() => new G_Clt_ActorBase());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_ActorBase> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[9]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorBase() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorBase(G_Clt_ActorBase other) : this() {
|
||
isAll_ = other.isAll_;
|
||
accountId_ = other.accountId_;
|
||
nickname_ = other.nickname_;
|
||
propId_ = other.propId_.Clone();
|
||
propValue_ = other.propValue_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorBase Clone() {
|
||
return new G_Clt_ActorBase(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "is_all" field.</summary>
|
||
public const int IsAllFieldNumber = 1;
|
||
private bool isAll_;
|
||
/// <summary>
|
||
/// 是否是全量数据
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool IsAll {
|
||
get { return isAll_; }
|
||
set {
|
||
isAll_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "account_id" field.</summary>
|
||
public const int AccountIdFieldNumber = 2;
|
||
private string accountId_ = "";
|
||
/// <summary>
|
||
/// 账号
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string AccountId {
|
||
get { return accountId_; }
|
||
set {
|
||
accountId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "nickname" field.</summary>
|
||
public const int NicknameFieldNumber = 3;
|
||
private string nickname_ = "";
|
||
/// <summary>
|
||
/// 昵称
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Nickname {
|
||
get { return nickname_; }
|
||
set {
|
||
nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "prop_id" field.</summary>
|
||
public const int PropIdFieldNumber = 4;
|
||
private static readonly pb::FieldCodec<uint> _repeated_propId_codec
|
||
= pb::FieldCodec.ForUInt32(34);
|
||
private readonly pbc::RepeatedField<uint> propId_ = new pbc::RepeatedField<uint>();
|
||
/// <summary>
|
||
/// 属性ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<uint> PropId {
|
||
get { return propId_; }
|
||
}
|
||
|
||
/// <summary>Field number for the "prop_value" field.</summary>
|
||
public const int PropValueFieldNumber = 5;
|
||
private static readonly pb::FieldCodec<uint> _repeated_propValue_codec
|
||
= pb::FieldCodec.ForUInt32(42);
|
||
private readonly pbc::RepeatedField<uint> propValue_ = new pbc::RepeatedField<uint>();
|
||
/// <summary>
|
||
/// 属性值
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<uint> PropValue {
|
||
get { return propValue_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_ActorBase);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_ActorBase other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (IsAll != other.IsAll) return false;
|
||
if (AccountId != other.AccountId) return false;
|
||
if (Nickname != other.Nickname) return false;
|
||
if(!propId_.Equals(other.propId_)) return false;
|
||
if(!propValue_.Equals(other.propValue_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (IsAll != false) hash ^= IsAll.GetHashCode();
|
||
if (AccountId.Length != 0) hash ^= AccountId.GetHashCode();
|
||
if (Nickname.Length != 0) hash ^= Nickname.GetHashCode();
|
||
hash ^= propId_.GetHashCode();
|
||
hash ^= propValue_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
if (AccountId.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(AccountId);
|
||
}
|
||
if (Nickname.Length != 0) {
|
||
output.WriteRawTag(26);
|
||
output.WriteString(Nickname);
|
||
}
|
||
propId_.WriteTo(output, _repeated_propId_codec);
|
||
propValue_.WriteTo(output, _repeated_propValue_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
if (AccountId.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(AccountId);
|
||
}
|
||
if (Nickname.Length != 0) {
|
||
output.WriteRawTag(26);
|
||
output.WriteString(Nickname);
|
||
}
|
||
propId_.WriteTo(ref output, _repeated_propId_codec);
|
||
propValue_.WriteTo(ref output, _repeated_propValue_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (IsAll != false) {
|
||
size += 1 + 1;
|
||
}
|
||
if (AccountId.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(AccountId);
|
||
}
|
||
if (Nickname.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname);
|
||
}
|
||
size += propId_.CalculateSize(_repeated_propId_codec);
|
||
size += propValue_.CalculateSize(_repeated_propValue_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_ActorBase other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.IsAll != false) {
|
||
IsAll = other.IsAll;
|
||
}
|
||
if (other.AccountId.Length != 0) {
|
||
AccountId = other.AccountId;
|
||
}
|
||
if (other.Nickname.Length != 0) {
|
||
Nickname = other.Nickname;
|
||
}
|
||
propId_.Add(other.propId_);
|
||
propValue_.Add(other.propValue_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
AccountId = input.ReadString();
|
||
break;
|
||
}
|
||
case 26: {
|
||
Nickname = input.ReadString();
|
||
break;
|
||
}
|
||
case 34:
|
||
case 32: {
|
||
propId_.AddEntriesFrom(input, _repeated_propId_codec);
|
||
break;
|
||
}
|
||
case 42:
|
||
case 40: {
|
||
propValue_.AddEntriesFrom(input, _repeated_propValue_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
AccountId = input.ReadString();
|
||
break;
|
||
}
|
||
case 26: {
|
||
Nickname = input.ReadString();
|
||
break;
|
||
}
|
||
case 34:
|
||
case 32: {
|
||
propId_.AddEntriesFrom(ref input, _repeated_propId_codec);
|
||
break;
|
||
}
|
||
case 42:
|
||
case 40: {
|
||
propValue_.AddEntriesFrom(ref input, _repeated_propValue_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_ItemInfo : pb::IMessage<MSG_ItemInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_ItemInfo> _parser = new pb::MessageParser<MSG_ItemInfo>(() => new MSG_ItemInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_ItemInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[10]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_ItemInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_ItemInfo(MSG_ItemInfo other) : this() {
|
||
id_ = other.id_;
|
||
count_ = other.count_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_ItemInfo Clone() {
|
||
return new MSG_ItemInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "count" field.</summary>
|
||
public const int CountFieldNumber = 2;
|
||
private uint count_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Count {
|
||
get { return count_; }
|
||
set {
|
||
count_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_ItemInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_ItemInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (Count != other.Count) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (Count != 0) hash ^= Count.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Count != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Count != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (Count != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_ItemInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.Count != 0) {
|
||
Count = other.Count;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Count = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Count = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 物品数据
|
||
/// </summary>
|
||
public sealed partial class G_Clt_ActorItem : pb::IMessage<G_Clt_ActorItem>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_ActorItem> _parser = new pb::MessageParser<G_Clt_ActorItem>(() => new G_Clt_ActorItem());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_ActorItem> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[11]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorItem() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorItem(G_Clt_ActorItem other) : this() {
|
||
isAll_ = other.isAll_;
|
||
infos_ = other.infos_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorItem Clone() {
|
||
return new G_Clt_ActorItem(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "is_all" field.</summary>
|
||
public const int IsAllFieldNumber = 1;
|
||
private bool isAll_;
|
||
/// <summary>
|
||
/// 是否是全量数据
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool IsAll {
|
||
get { return isAll_; }
|
||
set {
|
||
isAll_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "infos" field.</summary>
|
||
public const int InfosFieldNumber = 2;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_ItemInfo> _repeated_infos_codec
|
||
= pb::FieldCodec.ForMessage(18, global::NLDPB.MSG_ItemInfo.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_ItemInfo> infos_ = new pbc::RepeatedField<global::NLDPB.MSG_ItemInfo>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_ItemInfo> Infos {
|
||
get { return infos_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_ActorItem);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_ActorItem other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (IsAll != other.IsAll) return false;
|
||
if(!infos_.Equals(other.infos_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (IsAll != false) hash ^= IsAll.GetHashCode();
|
||
hash ^= infos_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
infos_.WriteTo(output, _repeated_infos_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
infos_.WriteTo(ref output, _repeated_infos_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (IsAll != false) {
|
||
size += 1 + 1;
|
||
}
|
||
size += infos_.CalculateSize(_repeated_infos_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_ActorItem other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.IsAll != false) {
|
||
IsAll = other.IsAll;
|
||
}
|
||
infos_.Add(other.infos_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
infos_.AddEntriesFrom(input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
infos_.AddEntriesFrom(ref input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_CharacterInfo : pb::IMessage<MSG_CharacterInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_CharacterInfo> _parser = new pb::MessageParser<MSG_CharacterInfo>(() => new MSG_CharacterInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_CharacterInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[12]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_CharacterInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_CharacterInfo(MSG_CharacterInfo other) : this() {
|
||
id_ = other.id_;
|
||
exp_ = other.exp_;
|
||
level_ = other.level_;
|
||
breakLevel_ = other.breakLevel_;
|
||
awakeLevel_ = other.awakeLevel_;
|
||
likelyExp_ = other.likelyExp_;
|
||
likelyLevel_ = other.likelyLevel_;
|
||
ultraSkillLevel_ = other.ultraSkillLevel_;
|
||
skinId_ = other.skinId_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_CharacterInfo Clone() {
|
||
return new MSG_CharacterInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "exp" field.</summary>
|
||
public const int ExpFieldNumber = 2;
|
||
private uint exp_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Exp {
|
||
get { return exp_; }
|
||
set {
|
||
exp_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "level" field.</summary>
|
||
public const int LevelFieldNumber = 3;
|
||
private uint level_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Level {
|
||
get { return level_; }
|
||
set {
|
||
level_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "break_level" field.</summary>
|
||
public const int BreakLevelFieldNumber = 4;
|
||
private uint breakLevel_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint BreakLevel {
|
||
get { return breakLevel_; }
|
||
set {
|
||
breakLevel_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "awake_level" field.</summary>
|
||
public const int AwakeLevelFieldNumber = 5;
|
||
private uint awakeLevel_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint AwakeLevel {
|
||
get { return awakeLevel_; }
|
||
set {
|
||
awakeLevel_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "likely_exp" field.</summary>
|
||
public const int LikelyExpFieldNumber = 6;
|
||
private uint likelyExp_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint LikelyExp {
|
||
get { return likelyExp_; }
|
||
set {
|
||
likelyExp_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "likely_level" field.</summary>
|
||
public const int LikelyLevelFieldNumber = 7;
|
||
private uint likelyLevel_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint LikelyLevel {
|
||
get { return likelyLevel_; }
|
||
set {
|
||
likelyLevel_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "ultra_skill_level" field.</summary>
|
||
public const int UltraSkillLevelFieldNumber = 8;
|
||
private uint ultraSkillLevel_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint UltraSkillLevel {
|
||
get { return ultraSkillLevel_; }
|
||
set {
|
||
ultraSkillLevel_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "skin_id" field.</summary>
|
||
public const int SkinIdFieldNumber = 9;
|
||
private uint skinId_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint SkinId {
|
||
get { return skinId_; }
|
||
set {
|
||
skinId_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_CharacterInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_CharacterInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (Exp != other.Exp) return false;
|
||
if (Level != other.Level) return false;
|
||
if (BreakLevel != other.BreakLevel) return false;
|
||
if (AwakeLevel != other.AwakeLevel) return false;
|
||
if (LikelyExp != other.LikelyExp) return false;
|
||
if (LikelyLevel != other.LikelyLevel) return false;
|
||
if (UltraSkillLevel != other.UltraSkillLevel) return false;
|
||
if (SkinId != other.SkinId) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (Exp != 0) hash ^= Exp.GetHashCode();
|
||
if (Level != 0) hash ^= Level.GetHashCode();
|
||
if (BreakLevel != 0) hash ^= BreakLevel.GetHashCode();
|
||
if (AwakeLevel != 0) hash ^= AwakeLevel.GetHashCode();
|
||
if (LikelyExp != 0) hash ^= LikelyExp.GetHashCode();
|
||
if (LikelyLevel != 0) hash ^= LikelyLevel.GetHashCode();
|
||
if (UltraSkillLevel != 0) hash ^= UltraSkillLevel.GetHashCode();
|
||
if (SkinId != 0) hash ^= SkinId.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Exp != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Exp);
|
||
}
|
||
if (Level != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Level);
|
||
}
|
||
if (BreakLevel != 0) {
|
||
output.WriteRawTag(32);
|
||
output.WriteUInt32(BreakLevel);
|
||
}
|
||
if (AwakeLevel != 0) {
|
||
output.WriteRawTag(40);
|
||
output.WriteUInt32(AwakeLevel);
|
||
}
|
||
if (LikelyExp != 0) {
|
||
output.WriteRawTag(48);
|
||
output.WriteUInt32(LikelyExp);
|
||
}
|
||
if (LikelyLevel != 0) {
|
||
output.WriteRawTag(56);
|
||
output.WriteUInt32(LikelyLevel);
|
||
}
|
||
if (UltraSkillLevel != 0) {
|
||
output.WriteRawTag(64);
|
||
output.WriteUInt32(UltraSkillLevel);
|
||
}
|
||
if (SkinId != 0) {
|
||
output.WriteRawTag(72);
|
||
output.WriteUInt32(SkinId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Exp != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Exp);
|
||
}
|
||
if (Level != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Level);
|
||
}
|
||
if (BreakLevel != 0) {
|
||
output.WriteRawTag(32);
|
||
output.WriteUInt32(BreakLevel);
|
||
}
|
||
if (AwakeLevel != 0) {
|
||
output.WriteRawTag(40);
|
||
output.WriteUInt32(AwakeLevel);
|
||
}
|
||
if (LikelyExp != 0) {
|
||
output.WriteRawTag(48);
|
||
output.WriteUInt32(LikelyExp);
|
||
}
|
||
if (LikelyLevel != 0) {
|
||
output.WriteRawTag(56);
|
||
output.WriteUInt32(LikelyLevel);
|
||
}
|
||
if (UltraSkillLevel != 0) {
|
||
output.WriteRawTag(64);
|
||
output.WriteUInt32(UltraSkillLevel);
|
||
}
|
||
if (SkinId != 0) {
|
||
output.WriteRawTag(72);
|
||
output.WriteUInt32(SkinId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (Exp != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
|
||
}
|
||
if (Level != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
|
||
}
|
||
if (BreakLevel != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BreakLevel);
|
||
}
|
||
if (AwakeLevel != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AwakeLevel);
|
||
}
|
||
if (LikelyExp != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LikelyExp);
|
||
}
|
||
if (LikelyLevel != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LikelyLevel);
|
||
}
|
||
if (UltraSkillLevel != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UltraSkillLevel);
|
||
}
|
||
if (SkinId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkinId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_CharacterInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.Exp != 0) {
|
||
Exp = other.Exp;
|
||
}
|
||
if (other.Level != 0) {
|
||
Level = other.Level;
|
||
}
|
||
if (other.BreakLevel != 0) {
|
||
BreakLevel = other.BreakLevel;
|
||
}
|
||
if (other.AwakeLevel != 0) {
|
||
AwakeLevel = other.AwakeLevel;
|
||
}
|
||
if (other.LikelyExp != 0) {
|
||
LikelyExp = other.LikelyExp;
|
||
}
|
||
if (other.LikelyLevel != 0) {
|
||
LikelyLevel = other.LikelyLevel;
|
||
}
|
||
if (other.UltraSkillLevel != 0) {
|
||
UltraSkillLevel = other.UltraSkillLevel;
|
||
}
|
||
if (other.SkinId != 0) {
|
||
SkinId = other.SkinId;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Exp = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Level = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 32: {
|
||
BreakLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 40: {
|
||
AwakeLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 48: {
|
||
LikelyExp = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 56: {
|
||
LikelyLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 64: {
|
||
UltraSkillLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 72: {
|
||
SkinId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Exp = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Level = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 32: {
|
||
BreakLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 40: {
|
||
AwakeLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 48: {
|
||
LikelyExp = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 56: {
|
||
LikelyLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 64: {
|
||
UltraSkillLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 72: {
|
||
SkinId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_VehicleInfo : pb::IMessage<MSG_VehicleInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_VehicleInfo> _parser = new pb::MessageParser<MSG_VehicleInfo>(() => new MSG_VehicleInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_VehicleInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[13]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_VehicleInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_VehicleInfo(MSG_VehicleInfo other) : this() {
|
||
id_ = other.id_;
|
||
counts_ = other.counts_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_VehicleInfo Clone() {
|
||
return new MSG_VehicleInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "counts" field.</summary>
|
||
public const int CountsFieldNumber = 2;
|
||
private static readonly pb::FieldCodec<uint> _repeated_counts_codec
|
||
= pb::FieldCodec.ForUInt32(18);
|
||
private readonly pbc::RepeatedField<uint> counts_ = new pbc::RepeatedField<uint>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<uint> Counts {
|
||
get { return counts_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_VehicleInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_VehicleInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if(!counts_.Equals(other.counts_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
hash ^= counts_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
counts_.WriteTo(output, _repeated_counts_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
counts_.WriteTo(ref output, _repeated_counts_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
size += counts_.CalculateSize(_repeated_counts_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_VehicleInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
counts_.Add(other.counts_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18:
|
||
case 16: {
|
||
counts_.AddEntriesFrom(input, _repeated_counts_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18:
|
||
case 16: {
|
||
counts_.AddEntriesFrom(ref input, _repeated_counts_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 角色数据
|
||
/// </summary>
|
||
public sealed partial class G_Clt_ActorCharacter : pb::IMessage<G_Clt_ActorCharacter>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_ActorCharacter> _parser = new pb::MessageParser<G_Clt_ActorCharacter>(() => new G_Clt_ActorCharacter());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_ActorCharacter> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[14]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorCharacter() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorCharacter(G_Clt_ActorCharacter other) : this() {
|
||
isAll_ = other.isAll_;
|
||
infos_ = other.infos_.Clone();
|
||
vehicles_ = other.vehicles_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorCharacter Clone() {
|
||
return new G_Clt_ActorCharacter(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "is_all" field.</summary>
|
||
public const int IsAllFieldNumber = 1;
|
||
private bool isAll_;
|
||
/// <summary>
|
||
/// 是否是全量数据
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool IsAll {
|
||
get { return isAll_; }
|
||
set {
|
||
isAll_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "infos" field.</summary>
|
||
public const int InfosFieldNumber = 2;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_CharacterInfo> _repeated_infos_codec
|
||
= pb::FieldCodec.ForMessage(18, global::NLDPB.MSG_CharacterInfo.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_CharacterInfo> infos_ = new pbc::RepeatedField<global::NLDPB.MSG_CharacterInfo>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_CharacterInfo> Infos {
|
||
get { return infos_; }
|
||
}
|
||
|
||
/// <summary>Field number for the "vehicles" field.</summary>
|
||
public const int VehiclesFieldNumber = 3;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_VehicleInfo> _repeated_vehicles_codec
|
||
= pb::FieldCodec.ForMessage(26, global::NLDPB.MSG_VehicleInfo.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_VehicleInfo> vehicles_ = new pbc::RepeatedField<global::NLDPB.MSG_VehicleInfo>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_VehicleInfo> Vehicles {
|
||
get { return vehicles_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_ActorCharacter);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_ActorCharacter other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (IsAll != other.IsAll) return false;
|
||
if(!infos_.Equals(other.infos_)) return false;
|
||
if(!vehicles_.Equals(other.vehicles_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (IsAll != false) hash ^= IsAll.GetHashCode();
|
||
hash ^= infos_.GetHashCode();
|
||
hash ^= vehicles_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
infos_.WriteTo(output, _repeated_infos_codec);
|
||
vehicles_.WriteTo(output, _repeated_vehicles_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
infos_.WriteTo(ref output, _repeated_infos_codec);
|
||
vehicles_.WriteTo(ref output, _repeated_vehicles_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (IsAll != false) {
|
||
size += 1 + 1;
|
||
}
|
||
size += infos_.CalculateSize(_repeated_infos_codec);
|
||
size += vehicles_.CalculateSize(_repeated_vehicles_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_ActorCharacter other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.IsAll != false) {
|
||
IsAll = other.IsAll;
|
||
}
|
||
infos_.Add(other.infos_);
|
||
vehicles_.Add(other.vehicles_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
infos_.AddEntriesFrom(input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
case 26: {
|
||
vehicles_.AddEntriesFrom(input, _repeated_vehicles_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
infos_.AddEntriesFrom(ref input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
case 26: {
|
||
vehicles_.AddEntriesFrom(ref input, _repeated_vehicles_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 角色提升
|
||
/// </summary>
|
||
public sealed partial class Clt_G_CharacterUpgrade : pb::IMessage<Clt_G_CharacterUpgrade>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_CharacterUpgrade> _parser = new pb::MessageParser<Clt_G_CharacterUpgrade>(() => new Clt_G_CharacterUpgrade());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_CharacterUpgrade> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[15]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_CharacterUpgrade() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_CharacterUpgrade(Clt_G_CharacterUpgrade other) : this() {
|
||
characterId_ = other.characterId_;
|
||
upgradeType_ = other.upgradeType_;
|
||
targetLevel_ = other.targetLevel_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_CharacterUpgrade Clone() {
|
||
return new Clt_G_CharacterUpgrade(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "character_id" field.</summary>
|
||
public const int CharacterIdFieldNumber = 1;
|
||
private uint characterId_;
|
||
/// <summary>
|
||
/// 角色ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint CharacterId {
|
||
get { return characterId_; }
|
||
set {
|
||
characterId_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "upgrade_type" field.</summary>
|
||
public const int UpgradeTypeFieldNumber = 2;
|
||
private uint upgradeType_;
|
||
/// <summary>
|
||
/// 提升类型,参考UpgradeType
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint UpgradeType {
|
||
get { return upgradeType_; }
|
||
set {
|
||
upgradeType_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "target_level" field.</summary>
|
||
public const int TargetLevelFieldNumber = 3;
|
||
private uint targetLevel_;
|
||
/// <summary>
|
||
/// 目标等级
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint TargetLevel {
|
||
get { return targetLevel_; }
|
||
set {
|
||
targetLevel_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_CharacterUpgrade);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_CharacterUpgrade other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (CharacterId != other.CharacterId) return false;
|
||
if (UpgradeType != other.UpgradeType) return false;
|
||
if (TargetLevel != other.TargetLevel) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (CharacterId != 0) hash ^= CharacterId.GetHashCode();
|
||
if (UpgradeType != 0) hash ^= UpgradeType.GetHashCode();
|
||
if (TargetLevel != 0) hash ^= TargetLevel.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (CharacterId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(CharacterId);
|
||
}
|
||
if (UpgradeType != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(UpgradeType);
|
||
}
|
||
if (TargetLevel != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(TargetLevel);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (CharacterId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(CharacterId);
|
||
}
|
||
if (UpgradeType != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(UpgradeType);
|
||
}
|
||
if (TargetLevel != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(TargetLevel);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (CharacterId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharacterId);
|
||
}
|
||
if (UpgradeType != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UpgradeType);
|
||
}
|
||
if (TargetLevel != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TargetLevel);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_CharacterUpgrade other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.CharacterId != 0) {
|
||
CharacterId = other.CharacterId;
|
||
}
|
||
if (other.UpgradeType != 0) {
|
||
UpgradeType = other.UpgradeType;
|
||
}
|
||
if (other.TargetLevel != 0) {
|
||
TargetLevel = other.TargetLevel;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
CharacterId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
UpgradeType = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
TargetLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
CharacterId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
UpgradeType = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
TargetLevel = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_LogicUint : pb::IMessage<MSG_LogicUint>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_LogicUint> _parser = new pb::MessageParser<MSG_LogicUint>(() => new MSG_LogicUint());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_LogicUint> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[16]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_LogicUint() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_LogicUint(MSG_LogicUint other) : this() {
|
||
id_ = other.id_;
|
||
value_ = other.value_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_LogicUint Clone() {
|
||
return new MSG_LogicUint(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "value" field.</summary>
|
||
public const int ValueFieldNumber = 2;
|
||
private uint value_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Value {
|
||
get { return value_; }
|
||
set {
|
||
value_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_LogicUint);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_LogicUint other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (Value != other.Value) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (Value != 0) hash ^= Value.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Value != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Value);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Value != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Value);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (Value != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_LogicUint other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.Value != 0) {
|
||
Value = other.Value;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Value = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Value = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_LogicBytes : pb::IMessage<MSG_LogicBytes>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_LogicBytes> _parser = new pb::MessageParser<MSG_LogicBytes>(() => new MSG_LogicBytes());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_LogicBytes> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[17]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_LogicBytes() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_LogicBytes(MSG_LogicBytes other) : this() {
|
||
id_ = other.id_;
|
||
value_ = other.value_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_LogicBytes Clone() {
|
||
return new MSG_LogicBytes(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "value" field.</summary>
|
||
public const int ValueFieldNumber = 2;
|
||
private pb::ByteString value_ = pb::ByteString.Empty;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pb::ByteString Value {
|
||
get { return value_; }
|
||
set {
|
||
value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_LogicBytes);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_LogicBytes other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (Value != other.Value) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (Value.Length != 0) hash ^= Value.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Value.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteBytes(Value);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Value.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteBytes(Value);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (Value.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_LogicBytes other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.Value.Length != 0) {
|
||
Value = other.Value;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Value = input.ReadBytes();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Value = input.ReadBytes();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 逻辑计数数据
|
||
/// </summary>
|
||
public sealed partial class G_Clt_ActorLogic : pb::IMessage<G_Clt_ActorLogic>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_ActorLogic> _parser = new pb::MessageParser<G_Clt_ActorLogic>(() => new G_Clt_ActorLogic());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_ActorLogic> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[18]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorLogic() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorLogic(G_Clt_ActorLogic other) : this() {
|
||
isAll_ = other.isAll_;
|
||
uintDatas_ = other.uintDatas_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorLogic Clone() {
|
||
return new G_Clt_ActorLogic(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "is_all" field.</summary>
|
||
public const int IsAllFieldNumber = 1;
|
||
private bool isAll_;
|
||
/// <summary>
|
||
/// 是否是全量数据
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool IsAll {
|
||
get { return isAll_; }
|
||
set {
|
||
isAll_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "uintDatas" field.</summary>
|
||
public const int UintDatasFieldNumber = 2;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_LogicUint> _repeated_uintDatas_codec
|
||
= pb::FieldCodec.ForMessage(18, global::NLDPB.MSG_LogicUint.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_LogicUint> uintDatas_ = new pbc::RepeatedField<global::NLDPB.MSG_LogicUint>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_LogicUint> UintDatas {
|
||
get { return uintDatas_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_ActorLogic);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_ActorLogic other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (IsAll != other.IsAll) return false;
|
||
if(!uintDatas_.Equals(other.uintDatas_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (IsAll != false) hash ^= IsAll.GetHashCode();
|
||
hash ^= uintDatas_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
uintDatas_.WriteTo(output, _repeated_uintDatas_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
uintDatas_.WriteTo(ref output, _repeated_uintDatas_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (IsAll != false) {
|
||
size += 1 + 1;
|
||
}
|
||
size += uintDatas_.CalculateSize(_repeated_uintDatas_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_ActorLogic other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.IsAll != false) {
|
||
IsAll = other.IsAll;
|
||
}
|
||
uintDatas_.Add(other.uintDatas_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
uintDatas_.AddEntriesFrom(input, _repeated_uintDatas_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
uintDatas_.AddEntriesFrom(ref input, _repeated_uintDatas_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_TaskInfo : pb::IMessage<MSG_TaskInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_TaskInfo> _parser = new pb::MessageParser<MSG_TaskInfo>(() => new MSG_TaskInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_TaskInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[19]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_TaskInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_TaskInfo(MSG_TaskInfo other) : this() {
|
||
id_ = other.id_;
|
||
status_ = other.status_;
|
||
type_ = other.type_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_TaskInfo Clone() {
|
||
return new MSG_TaskInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "status" field.</summary>
|
||
public const int StatusFieldNumber = 2;
|
||
private uint status_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Status {
|
||
get { return status_; }
|
||
set {
|
||
status_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "type" field.</summary>
|
||
public const int TypeFieldNumber = 3;
|
||
private uint type_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Type {
|
||
get { return type_; }
|
||
set {
|
||
type_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_TaskInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_TaskInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (Status != other.Status) return false;
|
||
if (Type != other.Type) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (Status != 0) hash ^= Status.GetHashCode();
|
||
if (Type != 0) hash ^= Type.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Status != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Status);
|
||
}
|
||
if (Type != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Type);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Status != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Status);
|
||
}
|
||
if (Type != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Type);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (Status != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status);
|
||
}
|
||
if (Type != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_TaskInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.Status != 0) {
|
||
Status = other.Status;
|
||
}
|
||
if (other.Type != 0) {
|
||
Type = other.Type;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Status = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Type = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Status = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Type = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_TaskCount : pb::IMessage<MSG_TaskCount>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_TaskCount> _parser = new pb::MessageParser<MSG_TaskCount>(() => new MSG_TaskCount());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_TaskCount> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[20]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_TaskCount() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_TaskCount(MSG_TaskCount other) : this() {
|
||
id_ = other.id_;
|
||
count_ = other.count_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_TaskCount Clone() {
|
||
return new MSG_TaskCount(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "count" field.</summary>
|
||
public const int CountFieldNumber = 2;
|
||
private uint count_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Count {
|
||
get { return count_; }
|
||
set {
|
||
count_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_TaskCount);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_TaskCount other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (Count != other.Count) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (Count != 0) hash ^= Count.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Count != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Count != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (Count != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_TaskCount other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.Count != 0) {
|
||
Count = other.Count;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Count = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Count = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 任务数据
|
||
/// </summary>
|
||
public sealed partial class G_Clt_ActorTask : pb::IMessage<G_Clt_ActorTask>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_ActorTask> _parser = new pb::MessageParser<G_Clt_ActorTask>(() => new G_Clt_ActorTask());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_ActorTask> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[21]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorTask() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorTask(G_Clt_ActorTask other) : this() {
|
||
isAll_ = other.isAll_;
|
||
infos_ = other.infos_.Clone();
|
||
counts_ = other.counts_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorTask Clone() {
|
||
return new G_Clt_ActorTask(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "is_all" field.</summary>
|
||
public const int IsAllFieldNumber = 1;
|
||
private bool isAll_;
|
||
/// <summary>
|
||
/// 是否是全量数据
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool IsAll {
|
||
get { return isAll_; }
|
||
set {
|
||
isAll_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "infos" field.</summary>
|
||
public const int InfosFieldNumber = 2;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_TaskInfo> _repeated_infos_codec
|
||
= pb::FieldCodec.ForMessage(18, global::NLDPB.MSG_TaskInfo.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_TaskInfo> infos_ = new pbc::RepeatedField<global::NLDPB.MSG_TaskInfo>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_TaskInfo> Infos {
|
||
get { return infos_; }
|
||
}
|
||
|
||
/// <summary>Field number for the "counts" field.</summary>
|
||
public const int CountsFieldNumber = 3;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_TaskCount> _repeated_counts_codec
|
||
= pb::FieldCodec.ForMessage(26, global::NLDPB.MSG_TaskCount.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_TaskCount> counts_ = new pbc::RepeatedField<global::NLDPB.MSG_TaskCount>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_TaskCount> Counts {
|
||
get { return counts_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_ActorTask);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_ActorTask other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (IsAll != other.IsAll) return false;
|
||
if(!infos_.Equals(other.infos_)) return false;
|
||
if(!counts_.Equals(other.counts_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (IsAll != false) hash ^= IsAll.GetHashCode();
|
||
hash ^= infos_.GetHashCode();
|
||
hash ^= counts_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
infos_.WriteTo(output, _repeated_infos_codec);
|
||
counts_.WriteTo(output, _repeated_counts_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
infos_.WriteTo(ref output, _repeated_infos_codec);
|
||
counts_.WriteTo(ref output, _repeated_counts_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (IsAll != false) {
|
||
size += 1 + 1;
|
||
}
|
||
size += infos_.CalculateSize(_repeated_infos_codec);
|
||
size += counts_.CalculateSize(_repeated_counts_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_ActorTask other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.IsAll != false) {
|
||
IsAll = other.IsAll;
|
||
}
|
||
infos_.Add(other.infos_);
|
||
counts_.Add(other.counts_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
infos_.AddEntriesFrom(input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
case 26: {
|
||
counts_.AddEntriesFrom(input, _repeated_counts_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
infos_.AddEntriesFrom(ref input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
case 26: {
|
||
counts_.AddEntriesFrom(ref input, _repeated_counts_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 设置昵称
|
||
/// </summary>
|
||
public sealed partial class Clt_G_SetNickname : pb::IMessage<Clt_G_SetNickname>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_SetNickname> _parser = new pb::MessageParser<Clt_G_SetNickname>(() => new Clt_G_SetNickname());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_SetNickname> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[22]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_SetNickname() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_SetNickname(Clt_G_SetNickname other) : this() {
|
||
nickname_ = other.nickname_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_SetNickname Clone() {
|
||
return new Clt_G_SetNickname(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "nickname" field.</summary>
|
||
public const int NicknameFieldNumber = 1;
|
||
private string nickname_ = "";
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Nickname {
|
||
get { return nickname_; }
|
||
set {
|
||
nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_SetNickname);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_SetNickname other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Nickname != other.Nickname) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Nickname.Length != 0) hash ^= Nickname.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Nickname.Length != 0) {
|
||
output.WriteRawTag(10);
|
||
output.WriteString(Nickname);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Nickname.Length != 0) {
|
||
output.WriteRawTag(10);
|
||
output.WriteString(Nickname);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Nickname.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_SetNickname other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Nickname.Length != 0) {
|
||
Nickname = other.Nickname;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
Nickname = input.ReadString();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
Nickname = input.ReadString();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_LevelInfo : pb::IMessage<MSG_LevelInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_LevelInfo> _parser = new pb::MessageParser<MSG_LevelInfo>(() => new MSG_LevelInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_LevelInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[23]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_LevelInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_LevelInfo(MSG_LevelInfo other) : this() {
|
||
id_ = other.id_;
|
||
isPassed_ = other.isPassed_;
|
||
star_ = other.star_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_LevelInfo Clone() {
|
||
return new MSG_LevelInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
/// <summary>
|
||
/// 关卡ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "is_passed" field.</summary>
|
||
public const int IsPassedFieldNumber = 2;
|
||
private bool isPassed_;
|
||
/// <summary>
|
||
/// 是否通关
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool IsPassed {
|
||
get { return isPassed_; }
|
||
set {
|
||
isPassed_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "star" field.</summary>
|
||
public const int StarFieldNumber = 3;
|
||
private uint star_;
|
||
/// <summary>
|
||
/// 获得的星数
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Star {
|
||
get { return star_; }
|
||
set {
|
||
star_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_LevelInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_LevelInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (IsPassed != other.IsPassed) return false;
|
||
if (Star != other.Star) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (IsPassed != false) hash ^= IsPassed.GetHashCode();
|
||
if (Star != 0) hash ^= Star.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (IsPassed != false) {
|
||
output.WriteRawTag(16);
|
||
output.WriteBool(IsPassed);
|
||
}
|
||
if (Star != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Star);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (IsPassed != false) {
|
||
output.WriteRawTag(16);
|
||
output.WriteBool(IsPassed);
|
||
}
|
||
if (Star != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Star);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (IsPassed != false) {
|
||
size += 1 + 1;
|
||
}
|
||
if (Star != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_LevelInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.IsPassed != false) {
|
||
IsPassed = other.IsPassed;
|
||
}
|
||
if (other.Star != 0) {
|
||
Star = other.Star;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
IsPassed = input.ReadBool();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Star = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
IsPassed = input.ReadBool();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Star = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_ChapterInfo : pb::IMessage<MSG_ChapterInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_ChapterInfo> _parser = new pb::MessageParser<MSG_ChapterInfo>(() => new MSG_ChapterInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_ChapterInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[24]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_ChapterInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_ChapterInfo(MSG_ChapterInfo other) : this() {
|
||
id_ = other.id_;
|
||
rewardIndex_ = other.rewardIndex_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_ChapterInfo Clone() {
|
||
return new MSG_ChapterInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "reward_index" field.</summary>
|
||
public const int RewardIndexFieldNumber = 2;
|
||
private uint rewardIndex_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint RewardIndex {
|
||
get { return rewardIndex_; }
|
||
set {
|
||
rewardIndex_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_ChapterInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_ChapterInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (RewardIndex != other.RewardIndex) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (RewardIndex != 0) hash ^= RewardIndex.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (RewardIndex != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(RewardIndex);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (RewardIndex != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(RewardIndex);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (RewardIndex != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RewardIndex);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_ChapterInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.RewardIndex != 0) {
|
||
RewardIndex = other.RewardIndex;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
RewardIndex = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
RewardIndex = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 关卡数据
|
||
/// </summary>
|
||
public sealed partial class G_Clt_ActorLevel : pb::IMessage<G_Clt_ActorLevel>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_ActorLevel> _parser = new pb::MessageParser<G_Clt_ActorLevel>(() => new G_Clt_ActorLevel());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_ActorLevel> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[25]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorLevel() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorLevel(G_Clt_ActorLevel other) : this() {
|
||
isAll_ = other.isAll_;
|
||
lastEnterId_ = other.lastEnterId_;
|
||
lastEnterTime_ = other.lastEnterTime_;
|
||
infos_ = other.infos_.Clone();
|
||
chapters_ = other.chapters_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorLevel Clone() {
|
||
return new G_Clt_ActorLevel(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "is_all" field.</summary>
|
||
public const int IsAllFieldNumber = 1;
|
||
private bool isAll_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool IsAll {
|
||
get { return isAll_; }
|
||
set {
|
||
isAll_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "last_enter_id" field.</summary>
|
||
public const int LastEnterIdFieldNumber = 2;
|
||
private uint lastEnterId_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint LastEnterId {
|
||
get { return lastEnterId_; }
|
||
set {
|
||
lastEnterId_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "last_enter_time" field.</summary>
|
||
public const int LastEnterTimeFieldNumber = 3;
|
||
private uint lastEnterTime_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint LastEnterTime {
|
||
get { return lastEnterTime_; }
|
||
set {
|
||
lastEnterTime_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "infos" field.</summary>
|
||
public const int InfosFieldNumber = 4;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_LevelInfo> _repeated_infos_codec
|
||
= pb::FieldCodec.ForMessage(34, global::NLDPB.MSG_LevelInfo.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_LevelInfo> infos_ = new pbc::RepeatedField<global::NLDPB.MSG_LevelInfo>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_LevelInfo> Infos {
|
||
get { return infos_; }
|
||
}
|
||
|
||
/// <summary>Field number for the "chapters" field.</summary>
|
||
public const int ChaptersFieldNumber = 5;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_ChapterInfo> _repeated_chapters_codec
|
||
= pb::FieldCodec.ForMessage(42, global::NLDPB.MSG_ChapterInfo.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_ChapterInfo> chapters_ = new pbc::RepeatedField<global::NLDPB.MSG_ChapterInfo>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_ChapterInfo> Chapters {
|
||
get { return chapters_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_ActorLevel);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_ActorLevel other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (IsAll != other.IsAll) return false;
|
||
if (LastEnterId != other.LastEnterId) return false;
|
||
if (LastEnterTime != other.LastEnterTime) return false;
|
||
if(!infos_.Equals(other.infos_)) return false;
|
||
if(!chapters_.Equals(other.chapters_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (IsAll != false) hash ^= IsAll.GetHashCode();
|
||
if (LastEnterId != 0) hash ^= LastEnterId.GetHashCode();
|
||
if (LastEnterTime != 0) hash ^= LastEnterTime.GetHashCode();
|
||
hash ^= infos_.GetHashCode();
|
||
hash ^= chapters_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
if (LastEnterId != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(LastEnterId);
|
||
}
|
||
if (LastEnterTime != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(LastEnterTime);
|
||
}
|
||
infos_.WriteTo(output, _repeated_infos_codec);
|
||
chapters_.WriteTo(output, _repeated_chapters_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
if (LastEnterId != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(LastEnterId);
|
||
}
|
||
if (LastEnterTime != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(LastEnterTime);
|
||
}
|
||
infos_.WriteTo(ref output, _repeated_infos_codec);
|
||
chapters_.WriteTo(ref output, _repeated_chapters_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (IsAll != false) {
|
||
size += 1 + 1;
|
||
}
|
||
if (LastEnterId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LastEnterId);
|
||
}
|
||
if (LastEnterTime != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LastEnterTime);
|
||
}
|
||
size += infos_.CalculateSize(_repeated_infos_codec);
|
||
size += chapters_.CalculateSize(_repeated_chapters_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_ActorLevel other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.IsAll != false) {
|
||
IsAll = other.IsAll;
|
||
}
|
||
if (other.LastEnterId != 0) {
|
||
LastEnterId = other.LastEnterId;
|
||
}
|
||
if (other.LastEnterTime != 0) {
|
||
LastEnterTime = other.LastEnterTime;
|
||
}
|
||
infos_.Add(other.infos_);
|
||
chapters_.Add(other.chapters_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 16: {
|
||
LastEnterId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
LastEnterTime = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 34: {
|
||
infos_.AddEntriesFrom(input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
case 42: {
|
||
chapters_.AddEntriesFrom(input, _repeated_chapters_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 16: {
|
||
LastEnterId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
LastEnterTime = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 34: {
|
||
infos_.AddEntriesFrom(ref input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
case 42: {
|
||
chapters_.AddEntriesFrom(ref input, _repeated_chapters_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 进入关卡
|
||
/// </summary>
|
||
public sealed partial class Clt_G_EnterLevel : pb::IMessage<Clt_G_EnterLevel>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_EnterLevel> _parser = new pb::MessageParser<Clt_G_EnterLevel>(() => new Clt_G_EnterLevel());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_EnterLevel> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[26]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_EnterLevel() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_EnterLevel(Clt_G_EnterLevel other) : this() {
|
||
levelId_ = other.levelId_;
|
||
teamIndex_ = other.teamIndex_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_EnterLevel Clone() {
|
||
return new Clt_G_EnterLevel(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "level_id" field.</summary>
|
||
public const int LevelIdFieldNumber = 1;
|
||
private uint levelId_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint LevelId {
|
||
get { return levelId_; }
|
||
set {
|
||
levelId_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "team_index" field.</summary>
|
||
public const int TeamIndexFieldNumber = 2;
|
||
private uint teamIndex_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint TeamIndex {
|
||
get { return teamIndex_; }
|
||
set {
|
||
teamIndex_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_EnterLevel);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_EnterLevel other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (LevelId != other.LevelId) return false;
|
||
if (TeamIndex != other.TeamIndex) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (LevelId != 0) hash ^= LevelId.GetHashCode();
|
||
if (TeamIndex != 0) hash ^= TeamIndex.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (LevelId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(LevelId);
|
||
}
|
||
if (TeamIndex != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(TeamIndex);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (LevelId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(LevelId);
|
||
}
|
||
if (TeamIndex != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(TeamIndex);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (LevelId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LevelId);
|
||
}
|
||
if (TeamIndex != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TeamIndex);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_EnterLevel other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.LevelId != 0) {
|
||
LevelId = other.LevelId;
|
||
}
|
||
if (other.TeamIndex != 0) {
|
||
TeamIndex = other.TeamIndex;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
LevelId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
TeamIndex = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
LevelId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
TeamIndex = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 退出关卡
|
||
/// </summary>
|
||
public sealed partial class Clt_G_ExitLevel : pb::IMessage<Clt_G_ExitLevel>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_ExitLevel> _parser = new pb::MessageParser<Clt_G_ExitLevel>(() => new Clt_G_ExitLevel());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_ExitLevel> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[27]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_ExitLevel() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_ExitLevel(Clt_G_ExitLevel other) : this() {
|
||
isSuccess_ = other.isSuccess_;
|
||
star_ = other.star_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_ExitLevel Clone() {
|
||
return new Clt_G_ExitLevel(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "is_success" field.</summary>
|
||
public const int IsSuccessFieldNumber = 1;
|
||
private bool isSuccess_;
|
||
/// <summary>
|
||
/// 是否通关
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool IsSuccess {
|
||
get { return isSuccess_; }
|
||
set {
|
||
isSuccess_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "star" field.</summary>
|
||
public const int StarFieldNumber = 2;
|
||
private uint star_;
|
||
/// <summary>
|
||
/// 得到的星
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Star {
|
||
get { return star_; }
|
||
set {
|
||
star_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_ExitLevel);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_ExitLevel other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (IsSuccess != other.IsSuccess) return false;
|
||
if (Star != other.Star) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (IsSuccess != false) hash ^= IsSuccess.GetHashCode();
|
||
if (Star != 0) hash ^= Star.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (IsSuccess != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsSuccess);
|
||
}
|
||
if (Star != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Star);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (IsSuccess != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsSuccess);
|
||
}
|
||
if (Star != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Star);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (IsSuccess != false) {
|
||
size += 1 + 1;
|
||
}
|
||
if (Star != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_ExitLevel other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.IsSuccess != false) {
|
||
IsSuccess = other.IsSuccess;
|
||
}
|
||
if (other.Star != 0) {
|
||
Star = other.Star;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
IsSuccess = input.ReadBool();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Star = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
IsSuccess = input.ReadBool();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Star = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 抽奖数据
|
||
/// </summary>
|
||
public sealed partial class G_Clt_ActorRaffle : pb::IMessage<G_Clt_ActorRaffle>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_ActorRaffle> _parser = new pb::MessageParser<G_Clt_ActorRaffle>(() => new G_Clt_ActorRaffle());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_ActorRaffle> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[28]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorRaffle() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorRaffle(G_Clt_ActorRaffle other) : this() {
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorRaffle Clone() {
|
||
return new G_Clt_ActorRaffle(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_ActorRaffle);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_ActorRaffle other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_ActorRaffle other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 抽奖
|
||
/// </summary>
|
||
public sealed partial class Clt_G_Raffle : pb::IMessage<Clt_G_Raffle>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_Raffle> _parser = new pb::MessageParser<Clt_G_Raffle>(() => new Clt_G_Raffle());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_Raffle> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[29]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_Raffle() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_Raffle(Clt_G_Raffle other) : this() {
|
||
id_ = other.id_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_Raffle Clone() {
|
||
return new Clt_G_Raffle(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
/// <summary>
|
||
/// 抽奖池ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_Raffle);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_Raffle other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_Raffle other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
///
|
||
/// </summary>
|
||
public sealed partial class MSG_NewRaffleResult : pb::IMessage<MSG_NewRaffleResult>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_NewRaffleResult> _parser = new pb::MessageParser<MSG_NewRaffleResult>(() => new MSG_NewRaffleResult());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_NewRaffleResult> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[30]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_NewRaffleResult() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_NewRaffleResult(MSG_NewRaffleResult other) : this() {
|
||
index_ = other.index_;
|
||
itemId_ = other.itemId_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_NewRaffleResult Clone() {
|
||
return new MSG_NewRaffleResult(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "index" field.</summary>
|
||
public const int IndexFieldNumber = 1;
|
||
private uint index_;
|
||
/// <summary>
|
||
/// 第几次抽奖
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Index {
|
||
get { return index_; }
|
||
set {
|
||
index_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "item_id" field.</summary>
|
||
public const int ItemIdFieldNumber = 2;
|
||
private static readonly pb::FieldCodec<uint> _repeated_itemId_codec
|
||
= pb::FieldCodec.ForUInt32(18);
|
||
private readonly pbc::RepeatedField<uint> itemId_ = new pbc::RepeatedField<uint>();
|
||
/// <summary>
|
||
/// 抽中的物品
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<uint> ItemId {
|
||
get { return itemId_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_NewRaffleResult);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_NewRaffleResult other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Index != other.Index) return false;
|
||
if(!itemId_.Equals(other.itemId_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Index != 0) hash ^= Index.GetHashCode();
|
||
hash ^= itemId_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Index != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
itemId_.WriteTo(output, _repeated_itemId_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Index != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
itemId_.WriteTo(ref output, _repeated_itemId_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Index != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
|
||
}
|
||
size += itemId_.CalculateSize(_repeated_itemId_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_NewRaffleResult other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Index != 0) {
|
||
Index = other.Index;
|
||
}
|
||
itemId_.Add(other.itemId_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18:
|
||
case 16: {
|
||
itemId_.AddEntriesFrom(input, _repeated_itemId_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18:
|
||
case 16: {
|
||
itemId_.AddEntriesFrom(ref input, _repeated_itemId_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 物品列表
|
||
/// </summary>
|
||
public sealed partial class G_Clt_ItemList : pb::IMessage<G_Clt_ItemList>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_ItemList> _parser = new pb::MessageParser<G_Clt_ItemList>(() => new G_Clt_ItemList());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_ItemList> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[31]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ItemList() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ItemList(G_Clt_ItemList other) : this() {
|
||
itemSource_ = other.itemSource_;
|
||
sourceId_ = other.sourceId_;
|
||
itemId_ = other.itemId_.Clone();
|
||
itemCount_ = other.itemCount_.Clone();
|
||
index_ = other.index_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ItemList Clone() {
|
||
return new G_Clt_ItemList(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "item_source" field.</summary>
|
||
public const int ItemSourceFieldNumber = 1;
|
||
private uint itemSource_;
|
||
/// <summary>
|
||
/// 获得物品的途径,ItemSource
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint ItemSource {
|
||
get { return itemSource_; }
|
||
set {
|
||
itemSource_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "source_id" field.</summary>
|
||
public const int SourceIdFieldNumber = 2;
|
||
private uint sourceId_;
|
||
/// <summary>
|
||
/// 来源标识ID,比如说关卡ID,抽奖池ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint SourceId {
|
||
get { return sourceId_; }
|
||
set {
|
||
sourceId_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "item_id" field.</summary>
|
||
public const int ItemIdFieldNumber = 3;
|
||
private static readonly pb::FieldCodec<uint> _repeated_itemId_codec
|
||
= pb::FieldCodec.ForUInt32(26);
|
||
private readonly pbc::RepeatedField<uint> itemId_ = new pbc::RepeatedField<uint>();
|
||
/// <summary>
|
||
/// 获得物品的ID列表
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<uint> ItemId {
|
||
get { return itemId_; }
|
||
}
|
||
|
||
/// <summary>Field number for the "item_count" field.</summary>
|
||
public const int ItemCountFieldNumber = 4;
|
||
private static readonly pb::FieldCodec<uint> _repeated_itemCount_codec
|
||
= pb::FieldCodec.ForUInt32(34);
|
||
private readonly pbc::RepeatedField<uint> itemCount_ = new pbc::RepeatedField<uint>();
|
||
/// <summary>
|
||
/// 获得物品的数量列表
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<uint> ItemCount {
|
||
get { return itemCount_; }
|
||
}
|
||
|
||
/// <summary>Field number for the "index" field.</summary>
|
||
public const int IndexFieldNumber = 5;
|
||
private uint index_;
|
||
/// <summary>
|
||
/// 序号,如果是0,客户端执行缓存清除
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Index {
|
||
get { return index_; }
|
||
set {
|
||
index_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_ItemList);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_ItemList other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (ItemSource != other.ItemSource) return false;
|
||
if (SourceId != other.SourceId) return false;
|
||
if(!itemId_.Equals(other.itemId_)) return false;
|
||
if(!itemCount_.Equals(other.itemCount_)) return false;
|
||
if (Index != other.Index) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (ItemSource != 0) hash ^= ItemSource.GetHashCode();
|
||
if (SourceId != 0) hash ^= SourceId.GetHashCode();
|
||
hash ^= itemId_.GetHashCode();
|
||
hash ^= itemCount_.GetHashCode();
|
||
if (Index != 0) hash ^= Index.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (ItemSource != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(ItemSource);
|
||
}
|
||
if (SourceId != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(SourceId);
|
||
}
|
||
itemId_.WriteTo(output, _repeated_itemId_codec);
|
||
itemCount_.WriteTo(output, _repeated_itemCount_codec);
|
||
if (Index != 0) {
|
||
output.WriteRawTag(40);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (ItemSource != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(ItemSource);
|
||
}
|
||
if (SourceId != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(SourceId);
|
||
}
|
||
itemId_.WriteTo(ref output, _repeated_itemId_codec);
|
||
itemCount_.WriteTo(ref output, _repeated_itemCount_codec);
|
||
if (Index != 0) {
|
||
output.WriteRawTag(40);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (ItemSource != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ItemSource);
|
||
}
|
||
if (SourceId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceId);
|
||
}
|
||
size += itemId_.CalculateSize(_repeated_itemId_codec);
|
||
size += itemCount_.CalculateSize(_repeated_itemCount_codec);
|
||
if (Index != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_ItemList other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.ItemSource != 0) {
|
||
ItemSource = other.ItemSource;
|
||
}
|
||
if (other.SourceId != 0) {
|
||
SourceId = other.SourceId;
|
||
}
|
||
itemId_.Add(other.itemId_);
|
||
itemCount_.Add(other.itemCount_);
|
||
if (other.Index != 0) {
|
||
Index = other.Index;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
ItemSource = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
SourceId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 26:
|
||
case 24: {
|
||
itemId_.AddEntriesFrom(input, _repeated_itemId_codec);
|
||
break;
|
||
}
|
||
case 34:
|
||
case 32: {
|
||
itemCount_.AddEntriesFrom(input, _repeated_itemCount_codec);
|
||
break;
|
||
}
|
||
case 40: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
ItemSource = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
SourceId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 26:
|
||
case 24: {
|
||
itemId_.AddEntriesFrom(ref input, _repeated_itemId_codec);
|
||
break;
|
||
}
|
||
case 34:
|
||
case 32: {
|
||
itemCount_.AddEntriesFrom(ref input, _repeated_itemCount_codec);
|
||
break;
|
||
}
|
||
case 40: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 领取章节宝箱
|
||
/// </summary>
|
||
public sealed partial class Clt_G_ChapterReward : pb::IMessage<Clt_G_ChapterReward>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_ChapterReward> _parser = new pb::MessageParser<Clt_G_ChapterReward>(() => new Clt_G_ChapterReward());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_ChapterReward> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[32]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_ChapterReward() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_ChapterReward(Clt_G_ChapterReward other) : this() {
|
||
chapter_ = other.chapter_;
|
||
index_ = other.index_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_ChapterReward Clone() {
|
||
return new Clt_G_ChapterReward(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "chapter" field.</summary>
|
||
public const int ChapterFieldNumber = 1;
|
||
private uint chapter_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Chapter {
|
||
get { return chapter_; }
|
||
set {
|
||
chapter_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "index" field.</summary>
|
||
public const int IndexFieldNumber = 2;
|
||
private uint index_;
|
||
/// <summary>
|
||
/// 领取的宝箱索引,0-3
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Index {
|
||
get { return index_; }
|
||
set {
|
||
index_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_ChapterReward);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_ChapterReward other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Chapter != other.Chapter) return false;
|
||
if (Index != other.Index) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Chapter != 0) hash ^= Chapter.GetHashCode();
|
||
if (Index != 0) hash ^= Index.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Chapter != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Chapter);
|
||
}
|
||
if (Index != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Chapter != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Chapter);
|
||
}
|
||
if (Index != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Chapter != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Chapter);
|
||
}
|
||
if (Index != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_ChapterReward other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Chapter != 0) {
|
||
Chapter = other.Chapter;
|
||
}
|
||
if (other.Index != 0) {
|
||
Index = other.Index;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Chapter = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Chapter = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 载具升级
|
||
/// </summary>
|
||
public sealed partial class Clt_G_VehicleUpgrade : pb::IMessage<Clt_G_VehicleUpgrade>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_VehicleUpgrade> _parser = new pb::MessageParser<Clt_G_VehicleUpgrade>(() => new Clt_G_VehicleUpgrade());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_VehicleUpgrade> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[33]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_VehicleUpgrade() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_VehicleUpgrade(Clt_G_VehicleUpgrade other) : this() {
|
||
vehicleId_ = other.vehicleId_;
|
||
upgradeType_ = other.upgradeType_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_VehicleUpgrade Clone() {
|
||
return new Clt_G_VehicleUpgrade(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "vehicle_id" field.</summary>
|
||
public const int VehicleIdFieldNumber = 1;
|
||
private uint vehicleId_;
|
||
/// <summary>
|
||
/// 载具ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint VehicleId {
|
||
get { return vehicleId_; }
|
||
set {
|
||
vehicleId_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "upgrade_type" field.</summary>
|
||
public const int UpgradeTypeFieldNumber = 2;
|
||
private uint upgradeType_;
|
||
/// <summary>
|
||
/// 升级的属性类型 参考 ActorCfg.VihecleUpgradeType
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint UpgradeType {
|
||
get { return upgradeType_; }
|
||
set {
|
||
upgradeType_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_VehicleUpgrade);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_VehicleUpgrade other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (VehicleId != other.VehicleId) return false;
|
||
if (UpgradeType != other.UpgradeType) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (VehicleId != 0) hash ^= VehicleId.GetHashCode();
|
||
if (UpgradeType != 0) hash ^= UpgradeType.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (VehicleId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(VehicleId);
|
||
}
|
||
if (UpgradeType != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(UpgradeType);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (VehicleId != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(VehicleId);
|
||
}
|
||
if (UpgradeType != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(UpgradeType);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (VehicleId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(VehicleId);
|
||
}
|
||
if (UpgradeType != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UpgradeType);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_VehicleUpgrade other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.VehicleId != 0) {
|
||
VehicleId = other.VehicleId;
|
||
}
|
||
if (other.UpgradeType != 0) {
|
||
UpgradeType = other.UpgradeType;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
VehicleId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
UpgradeType = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
VehicleId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
UpgradeType = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_TeamInfo : pb::IMessage<MSG_TeamInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_TeamInfo> _parser = new pb::MessageParser<MSG_TeamInfo>(() => new MSG_TeamInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_TeamInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[34]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_TeamInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_TeamInfo(MSG_TeamInfo other) : this() {
|
||
index_ = other.index_;
|
||
name_ = other.name_;
|
||
icon_ = other.icon_;
|
||
characterId_ = other.characterId_.Clone();
|
||
vehicleId_ = other.vehicleId_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_TeamInfo Clone() {
|
||
return new MSG_TeamInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "index" field.</summary>
|
||
public const int IndexFieldNumber = 1;
|
||
private uint index_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Index {
|
||
get { return index_; }
|
||
set {
|
||
index_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "name" field.</summary>
|
||
public const int NameFieldNumber = 2;
|
||
private string name_ = "";
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Name {
|
||
get { return name_; }
|
||
set {
|
||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "icon" field.</summary>
|
||
public const int IconFieldNumber = 3;
|
||
private uint icon_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Icon {
|
||
get { return icon_; }
|
||
set {
|
||
icon_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "character_id" field.</summary>
|
||
public const int CharacterIdFieldNumber = 4;
|
||
private static readonly pb::FieldCodec<uint> _repeated_characterId_codec
|
||
= pb::FieldCodec.ForUInt32(34);
|
||
private readonly pbc::RepeatedField<uint> characterId_ = new pbc::RepeatedField<uint>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<uint> CharacterId {
|
||
get { return characterId_; }
|
||
}
|
||
|
||
/// <summary>Field number for the "vehicle_id" field.</summary>
|
||
public const int VehicleIdFieldNumber = 5;
|
||
private uint vehicleId_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint VehicleId {
|
||
get { return vehicleId_; }
|
||
set {
|
||
vehicleId_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_TeamInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_TeamInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Index != other.Index) return false;
|
||
if (Name != other.Name) return false;
|
||
if (Icon != other.Icon) return false;
|
||
if(!characterId_.Equals(other.characterId_)) return false;
|
||
if (VehicleId != other.VehicleId) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Index != 0) hash ^= Index.GetHashCode();
|
||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||
if (Icon != 0) hash ^= Icon.GetHashCode();
|
||
hash ^= characterId_.GetHashCode();
|
||
if (VehicleId != 0) hash ^= VehicleId.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Index != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
if (Name.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(Name);
|
||
}
|
||
if (Icon != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Icon);
|
||
}
|
||
characterId_.WriteTo(output, _repeated_characterId_codec);
|
||
if (VehicleId != 0) {
|
||
output.WriteRawTag(40);
|
||
output.WriteUInt32(VehicleId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Index != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
if (Name.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(Name);
|
||
}
|
||
if (Icon != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Icon);
|
||
}
|
||
characterId_.WriteTo(ref output, _repeated_characterId_codec);
|
||
if (VehicleId != 0) {
|
||
output.WriteRawTag(40);
|
||
output.WriteUInt32(VehicleId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Index != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
|
||
}
|
||
if (Name.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||
}
|
||
if (Icon != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Icon);
|
||
}
|
||
size += characterId_.CalculateSize(_repeated_characterId_codec);
|
||
if (VehicleId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(VehicleId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_TeamInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Index != 0) {
|
||
Index = other.Index;
|
||
}
|
||
if (other.Name.Length != 0) {
|
||
Name = other.Name;
|
||
}
|
||
if (other.Icon != 0) {
|
||
Icon = other.Icon;
|
||
}
|
||
characterId_.Add(other.characterId_);
|
||
if (other.VehicleId != 0) {
|
||
VehicleId = other.VehicleId;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Name = input.ReadString();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Icon = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 34:
|
||
case 32: {
|
||
characterId_.AddEntriesFrom(input, _repeated_characterId_codec);
|
||
break;
|
||
}
|
||
case 40: {
|
||
VehicleId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Name = input.ReadString();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Icon = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 34:
|
||
case 32: {
|
||
characterId_.AddEntriesFrom(ref input, _repeated_characterId_codec);
|
||
break;
|
||
}
|
||
case 40: {
|
||
VehicleId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// game --> client 玩家编组数据
|
||
/// </summary>
|
||
public sealed partial class G_Clt_ActorTeam : pb::IMessage<G_Clt_ActorTeam>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<G_Clt_ActorTeam> _parser = new pb::MessageParser<G_Clt_ActorTeam>(() => new G_Clt_ActorTeam());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<G_Clt_ActorTeam> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[35]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorTeam() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorTeam(G_Clt_ActorTeam other) : this() {
|
||
isAll_ = other.isAll_;
|
||
infos_ = other.infos_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public G_Clt_ActorTeam Clone() {
|
||
return new G_Clt_ActorTeam(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "is_all" field.</summary>
|
||
public const int IsAllFieldNumber = 1;
|
||
private bool isAll_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool IsAll {
|
||
get { return isAll_; }
|
||
set {
|
||
isAll_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "infos" field.</summary>
|
||
public const int InfosFieldNumber = 2;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_TeamInfo> _repeated_infos_codec
|
||
= pb::FieldCodec.ForMessage(18, global::NLDPB.MSG_TeamInfo.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_TeamInfo> infos_ = new pbc::RepeatedField<global::NLDPB.MSG_TeamInfo>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_TeamInfo> Infos {
|
||
get { return infos_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as G_Clt_ActorTeam);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(G_Clt_ActorTeam other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (IsAll != other.IsAll) return false;
|
||
if(!infos_.Equals(other.infos_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (IsAll != false) hash ^= IsAll.GetHashCode();
|
||
hash ^= infos_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
infos_.WriteTo(output, _repeated_infos_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (IsAll != false) {
|
||
output.WriteRawTag(8);
|
||
output.WriteBool(IsAll);
|
||
}
|
||
infos_.WriteTo(ref output, _repeated_infos_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (IsAll != false) {
|
||
size += 1 + 1;
|
||
}
|
||
size += infos_.CalculateSize(_repeated_infos_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(G_Clt_ActorTeam other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.IsAll != false) {
|
||
IsAll = other.IsAll;
|
||
}
|
||
infos_.Add(other.infos_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
infos_.AddEntriesFrom(input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
IsAll = input.ReadBool();
|
||
break;
|
||
}
|
||
case 18: {
|
||
infos_.AddEntriesFrom(ref input, _repeated_infos_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 创建队伍
|
||
/// </summary>
|
||
public sealed partial class Clt_G_CreateTeam : pb::IMessage<Clt_G_CreateTeam>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_CreateTeam> _parser = new pb::MessageParser<Clt_G_CreateTeam>(() => new Clt_G_CreateTeam());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_CreateTeam> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[36]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_CreateTeam() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_CreateTeam(Clt_G_CreateTeam other) : this() {
|
||
index_ = other.index_;
|
||
name_ = other.name_;
|
||
icon_ = other.icon_;
|
||
characterId_ = other.characterId_.Clone();
|
||
vehicleId_ = other.vehicleId_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_CreateTeam Clone() {
|
||
return new Clt_G_CreateTeam(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "index" field.</summary>
|
||
public const int IndexFieldNumber = 1;
|
||
private uint index_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Index {
|
||
get { return index_; }
|
||
set {
|
||
index_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "name" field.</summary>
|
||
public const int NameFieldNumber = 2;
|
||
private string name_ = "";
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Name {
|
||
get { return name_; }
|
||
set {
|
||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "icon" field.</summary>
|
||
public const int IconFieldNumber = 3;
|
||
private uint icon_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Icon {
|
||
get { return icon_; }
|
||
set {
|
||
icon_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "character_id" field.</summary>
|
||
public const int CharacterIdFieldNumber = 4;
|
||
private static readonly pb::FieldCodec<uint> _repeated_characterId_codec
|
||
= pb::FieldCodec.ForUInt32(34);
|
||
private readonly pbc::RepeatedField<uint> characterId_ = new pbc::RepeatedField<uint>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<uint> CharacterId {
|
||
get { return characterId_; }
|
||
}
|
||
|
||
/// <summary>Field number for the "vehicle_id" field.</summary>
|
||
public const int VehicleIdFieldNumber = 5;
|
||
private uint vehicleId_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint VehicleId {
|
||
get { return vehicleId_; }
|
||
set {
|
||
vehicleId_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_CreateTeam);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_CreateTeam other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Index != other.Index) return false;
|
||
if (Name != other.Name) return false;
|
||
if (Icon != other.Icon) return false;
|
||
if(!characterId_.Equals(other.characterId_)) return false;
|
||
if (VehicleId != other.VehicleId) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Index != 0) hash ^= Index.GetHashCode();
|
||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||
if (Icon != 0) hash ^= Icon.GetHashCode();
|
||
hash ^= characterId_.GetHashCode();
|
||
if (VehicleId != 0) hash ^= VehicleId.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Index != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
if (Name.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(Name);
|
||
}
|
||
if (Icon != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Icon);
|
||
}
|
||
characterId_.WriteTo(output, _repeated_characterId_codec);
|
||
if (VehicleId != 0) {
|
||
output.WriteRawTag(40);
|
||
output.WriteUInt32(VehicleId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Index != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Index);
|
||
}
|
||
if (Name.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(Name);
|
||
}
|
||
if (Icon != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(Icon);
|
||
}
|
||
characterId_.WriteTo(ref output, _repeated_characterId_codec);
|
||
if (VehicleId != 0) {
|
||
output.WriteRawTag(40);
|
||
output.WriteUInt32(VehicleId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Index != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
|
||
}
|
||
if (Name.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||
}
|
||
if (Icon != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Icon);
|
||
}
|
||
size += characterId_.CalculateSize(_repeated_characterId_codec);
|
||
if (VehicleId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(VehicleId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_CreateTeam other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Index != 0) {
|
||
Index = other.Index;
|
||
}
|
||
if (other.Name.Length != 0) {
|
||
Name = other.Name;
|
||
}
|
||
if (other.Icon != 0) {
|
||
Icon = other.Icon;
|
||
}
|
||
characterId_.Add(other.characterId_);
|
||
if (other.VehicleId != 0) {
|
||
VehicleId = other.VehicleId;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Name = input.ReadString();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Icon = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 34:
|
||
case 32: {
|
||
characterId_.AddEntriesFrom(input, _repeated_characterId_codec);
|
||
break;
|
||
}
|
||
case 40: {
|
||
VehicleId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Index = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Name = input.ReadString();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Icon = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 34:
|
||
case 32: {
|
||
characterId_.AddEntriesFrom(ref input, _repeated_characterId_codec);
|
||
break;
|
||
}
|
||
case 40: {
|
||
VehicleId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 使用物品
|
||
/// </summary>
|
||
public sealed partial class Clt_G_UseItem : pb::IMessage<Clt_G_UseItem>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_UseItem> _parser = new pb::MessageParser<Clt_G_UseItem>(() => new Clt_G_UseItem());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_UseItem> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[37]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_UseItem() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_UseItem(Clt_G_UseItem other) : this() {
|
||
id_ = other.id_;
|
||
count_ = other.count_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_UseItem Clone() {
|
||
return new Clt_G_UseItem(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private uint id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "count" field.</summary>
|
||
public const int CountFieldNumber = 2;
|
||
private uint count_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Count {
|
||
get { return count_; }
|
||
set {
|
||
count_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_UseItem);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_UseItem other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (Count != other.Count) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
if (Count != 0) hash ^= Count.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Count != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Id);
|
||
}
|
||
if (Count != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||
}
|
||
if (Count != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_UseItem other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.Count != 0) {
|
||
Count = other.Count;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Count = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 16: {
|
||
Count = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 测试初始化
|
||
/// </summary>
|
||
public sealed partial class Clt_G_TestInit : pb::IMessage<Clt_G_TestInit>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_TestInit> _parser = new pb::MessageParser<Clt_G_TestInit>(() => new Clt_G_TestInit());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_TestInit> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[38]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_TestInit() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_TestInit(Clt_G_TestInit other) : this() {
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_TestInit Clone() {
|
||
return new Clt_G_TestInit(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_TestInit);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_TestInit other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_TestInit other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> game 礼包码兑换
|
||
/// </summary>
|
||
public sealed partial class Clt_G_GiftCode : pb::IMessage<Clt_G_GiftCode>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_G_GiftCode> _parser = new pb::MessageParser<Clt_G_GiftCode>(() => new Clt_G_GiftCode());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_G_GiftCode> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[39]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_GiftCode() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_GiftCode(Clt_G_GiftCode other) : this() {
|
||
code_ = other.code_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_G_GiftCode Clone() {
|
||
return new Clt_G_GiftCode(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "code" field.</summary>
|
||
public const int CodeFieldNumber = 1;
|
||
private string code_ = "";
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Code {
|
||
get { return code_; }
|
||
set {
|
||
code_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_G_GiftCode);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_G_GiftCode other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Code != other.Code) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Code.Length != 0) hash ^= Code.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Code.Length != 0) {
|
||
output.WriteRawTag(10);
|
||
output.WriteString(Code);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Code.Length != 0) {
|
||
output.WriteRawTag(10);
|
||
output.WriteString(Code);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Code.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Code);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_G_GiftCode other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Code.Length != 0) {
|
||
Code = other.Code;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
Code = input.ReadString();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
Code = input.ReadString();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// mail --> client 邮件简要信息
|
||
/// </summary>
|
||
public sealed partial class Ml_Clt_MailInfo : pb::IMessage<Ml_Clt_MailInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Ml_Clt_MailInfo> _parser = new pb::MessageParser<Ml_Clt_MailInfo>(() => new Ml_Clt_MailInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Ml_Clt_MailInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[40]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Ml_Clt_MailInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Ml_Clt_MailInfo(Ml_Clt_MailInfo other) : this() {
|
||
count_ = other.count_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Ml_Clt_MailInfo Clone() {
|
||
return new Ml_Clt_MailInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "count" field.</summary>
|
||
public const int CountFieldNumber = 1;
|
||
private uint count_;
|
||
/// <summary>
|
||
/// 新邮件或未读邮件总数
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint Count {
|
||
get { return count_; }
|
||
set {
|
||
count_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Ml_Clt_MailInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Ml_Clt_MailInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Count != other.Count) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Count != 0) hash ^= Count.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Count != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Count != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt32(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Count != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Ml_Clt_MailInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Count != 0) {
|
||
Count = other.Count;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Count = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Count = input.ReadUInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> mail 请求邮件数据
|
||
/// </summary>
|
||
public sealed partial class Clt_Ml_MailRequest : pb::IMessage<Clt_Ml_MailRequest>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_Ml_MailRequest> _parser = new pb::MessageParser<Clt_Ml_MailRequest>(() => new Clt_Ml_MailRequest());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_Ml_MailRequest> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[41]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Ml_MailRequest() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Ml_MailRequest(Clt_Ml_MailRequest other) : this() {
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Ml_MailRequest Clone() {
|
||
return new Clt_Ml_MailRequest(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_Ml_MailRequest);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_Ml_MailRequest other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_Ml_MailRequest other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
public sealed partial class MSG_Mail : pb::IMessage<MSG_Mail>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MSG_Mail> _parser = new pb::MessageParser<MSG_Mail>(() => new MSG_Mail());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MSG_Mail> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[42]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_Mail() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_Mail(MSG_Mail other) : this() {
|
||
id_ = other.id_;
|
||
sendTime_ = other.sendTime_;
|
||
mailId_ = other.mailId_;
|
||
mailData_ = other.mailData_;
|
||
title_ = other.title_;
|
||
body_ = other.body_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MSG_Mail Clone() {
|
||
return new MSG_Mail(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private ulong id_;
|
||
/// <summary>
|
||
/// 唯一ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ulong Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "send_time" field.</summary>
|
||
public const int SendTimeFieldNumber = 2;
|
||
private uint sendTime_;
|
||
/// <summary>
|
||
/// 发送时间
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint SendTime {
|
||
get { return sendTime_; }
|
||
set {
|
||
sendTime_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "mail_id" field.</summary>
|
||
public const int MailIdFieldNumber = 3;
|
||
private uint mailId_;
|
||
/// <summary>
|
||
/// 邮件ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public uint MailId {
|
||
get { return mailId_; }
|
||
set {
|
||
mailId_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "mail_data" field.</summary>
|
||
public const int MailDataFieldNumber = 4;
|
||
private pb::ByteString mailData_ = pb::ByteString.Empty;
|
||
/// <summary>
|
||
/// 邮件附加数据
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pb::ByteString MailData {
|
||
get { return mailData_; }
|
||
set {
|
||
mailData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "title" field.</summary>
|
||
public const int TitleFieldNumber = 5;
|
||
private string title_ = "";
|
||
/// <summary>
|
||
/// 标题
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Title {
|
||
get { return title_; }
|
||
set {
|
||
title_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "body" field.</summary>
|
||
public const int BodyFieldNumber = 6;
|
||
private string body_ = "";
|
||
/// <summary>
|
||
/// 正文
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Body {
|
||
get { return body_; }
|
||
set {
|
||
body_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MSG_Mail);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MSG_Mail other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (SendTime != other.SendTime) return false;
|
||
if (MailId != other.MailId) return false;
|
||
if (MailData != other.MailData) return false;
|
||
if (Title != other.Title) return false;
|
||
if (Body != other.Body) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0UL) hash ^= Id.GetHashCode();
|
||
if (SendTime != 0) hash ^= SendTime.GetHashCode();
|
||
if (MailId != 0) hash ^= MailId.GetHashCode();
|
||
if (MailData.Length != 0) hash ^= MailData.GetHashCode();
|
||
if (Title.Length != 0) hash ^= Title.GetHashCode();
|
||
if (Body.Length != 0) hash ^= Body.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0UL) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt64(Id);
|
||
}
|
||
if (SendTime != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(SendTime);
|
||
}
|
||
if (MailId != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(MailId);
|
||
}
|
||
if (MailData.Length != 0) {
|
||
output.WriteRawTag(34);
|
||
output.WriteBytes(MailData);
|
||
}
|
||
if (Title.Length != 0) {
|
||
output.WriteRawTag(42);
|
||
output.WriteString(Title);
|
||
}
|
||
if (Body.Length != 0) {
|
||
output.WriteRawTag(50);
|
||
output.WriteString(Body);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0UL) {
|
||
output.WriteRawTag(8);
|
||
output.WriteUInt64(Id);
|
||
}
|
||
if (SendTime != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteUInt32(SendTime);
|
||
}
|
||
if (MailId != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteUInt32(MailId);
|
||
}
|
||
if (MailData.Length != 0) {
|
||
output.WriteRawTag(34);
|
||
output.WriteBytes(MailData);
|
||
}
|
||
if (Title.Length != 0) {
|
||
output.WriteRawTag(42);
|
||
output.WriteString(Title);
|
||
}
|
||
if (Body.Length != 0) {
|
||
output.WriteRawTag(50);
|
||
output.WriteString(Body);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0UL) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id);
|
||
}
|
||
if (SendTime != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SendTime);
|
||
}
|
||
if (MailId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MailId);
|
||
}
|
||
if (MailData.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(MailData);
|
||
}
|
||
if (Title.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
|
||
}
|
||
if (Body.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Body);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MSG_Mail other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0UL) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.SendTime != 0) {
|
||
SendTime = other.SendTime;
|
||
}
|
||
if (other.MailId != 0) {
|
||
MailId = other.MailId;
|
||
}
|
||
if (other.MailData.Length != 0) {
|
||
MailData = other.MailData;
|
||
}
|
||
if (other.Title.Length != 0) {
|
||
Title = other.Title;
|
||
}
|
||
if (other.Body.Length != 0) {
|
||
Body = other.Body;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt64();
|
||
break;
|
||
}
|
||
case 16: {
|
||
SendTime = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
MailId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 34: {
|
||
MailData = input.ReadBytes();
|
||
break;
|
||
}
|
||
case 42: {
|
||
Title = input.ReadString();
|
||
break;
|
||
}
|
||
case 50: {
|
||
Body = input.ReadString();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadUInt64();
|
||
break;
|
||
}
|
||
case 16: {
|
||
SendTime = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 24: {
|
||
MailId = input.ReadUInt32();
|
||
break;
|
||
}
|
||
case 34: {
|
||
MailData = input.ReadBytes();
|
||
break;
|
||
}
|
||
case 42: {
|
||
Title = input.ReadString();
|
||
break;
|
||
}
|
||
case 50: {
|
||
Body = input.ReadString();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// mail --> client 邮件数据
|
||
/// </summary>
|
||
public sealed partial class Ml_Clt_MailData : pb::IMessage<Ml_Clt_MailData>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Ml_Clt_MailData> _parser = new pb::MessageParser<Ml_Clt_MailData>(() => new Ml_Clt_MailData());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Ml_Clt_MailData> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[43]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Ml_Clt_MailData() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Ml_Clt_MailData(Ml_Clt_MailData other) : this() {
|
||
mails_ = other.mails_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Ml_Clt_MailData Clone() {
|
||
return new Ml_Clt_MailData(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "mails" field.</summary>
|
||
public const int MailsFieldNumber = 1;
|
||
private static readonly pb::FieldCodec<global::NLDPB.MSG_Mail> _repeated_mails_codec
|
||
= pb::FieldCodec.ForMessage(10, global::NLDPB.MSG_Mail.Parser);
|
||
private readonly pbc::RepeatedField<global::NLDPB.MSG_Mail> mails_ = new pbc::RepeatedField<global::NLDPB.MSG_Mail>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::NLDPB.MSG_Mail> Mails {
|
||
get { return mails_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Ml_Clt_MailData);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Ml_Clt_MailData other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if(!mails_.Equals(other.mails_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
hash ^= mails_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
mails_.WriteTo(output, _repeated_mails_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
mails_.WriteTo(ref output, _repeated_mails_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
size += mails_.CalculateSize(_repeated_mails_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Ml_Clt_MailData other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
mails_.Add(other.mails_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
mails_.AddEntriesFrom(input, _repeated_mails_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
mails_.AddEntriesFrom(ref input, _repeated_mails_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// client --> mail 打开邮件
|
||
/// </summary>
|
||
public sealed partial class Clt_Ml_OpenMail : pb::IMessage<Clt_Ml_OpenMail>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<Clt_Ml_OpenMail> _parser = new pb::MessageParser<Clt_Ml_OpenMail>(() => new Clt_Ml_OpenMail());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<Clt_Ml_OpenMail> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[44]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Ml_OpenMail() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Ml_OpenMail(Clt_Ml_OpenMail other) : this() {
|
||
ids_ = other.ids_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public Clt_Ml_OpenMail Clone() {
|
||
return new Clt_Ml_OpenMail(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "ids" field.</summary>
|
||
public const int IdsFieldNumber = 1;
|
||
private static readonly pb::FieldCodec<ulong> _repeated_ids_codec
|
||
= pb::FieldCodec.ForUInt64(10);
|
||
private readonly pbc::RepeatedField<ulong> ids_ = new pbc::RepeatedField<ulong>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<ulong> Ids {
|
||
get { return ids_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as Clt_Ml_OpenMail);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(Clt_Ml_OpenMail other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if(!ids_.Equals(other.ids_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
hash ^= ids_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
ids_.WriteTo(output, _repeated_ids_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
ids_.WriteTo(ref output, _repeated_ids_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
size += ids_.CalculateSize(_repeated_ids_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(Clt_Ml_OpenMail other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
ids_.Add(other.ids_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10:
|
||
case 8: {
|
||
ids_.AddEntriesFrom(input, _repeated_ids_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10:
|
||
case 8: {
|
||
ids_.AddEntriesFrom(ref input, _repeated_ids_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
}
|
||
|
||
#endregion Designer generated code
|