From c2d91e91729295de2612b8b3b55b06409675cbfc Mon Sep 17 00:00:00 2001 From: letheriver2007 Date: Fri, 21 Feb 2025 23:11:20 +0800 Subject: [PATCH] feat: add RelicRecommend system --- Common/Database/Inventory/InventoryData.cs | 9 + GameServer/Game/Avatar/AvatarManager.cs | 86 +++++ GameServer/Game/Inventory/InventoryManager.cs | 37 +- .../HandlerRelicReforgeConfirmCsReq.cs | 4 +- .../HandlerRelicReforgeCsReq.cs | 4 +- .../HandlerGetBigDataRecommendCsReq.cs | 15 + .../HandlerRelicRecommendCsReq.cs | 2 +- .../HandlerRelicSmartWearAddPlanCsReq.cs | 16 + .../HandlerRelicSmartWearDeletePlanCsReq.cs | 16 + .../HandlerRelicSmartWearGetPinRelicCsReq.cs | 15 + .../HandlerRelicSmartWearGetPlanCsReq.cs | 16 + .../HandlerRelicSmartWearUpdatePlanCsReq.cs | 16 + .../PacketGetBigDataRecommendScRsp.cs | 20 ++ .../PacketRelicRecommendScRsp.cs | 5 +- .../PacketRelicSmartWearAddPlanScRsp.cs | 17 + .../PacketRelicSmartWearDeletePlanScRsp.cs | 18 + .../PacketRelicSmartWearGetPinRelicScRsp.cs | 17 + .../PacketRelicSmartWearGetPlanScRsp.cs | 19 + .../PacketRelicSmartWearUpdatePlanScRsp.cs | 18 + Proto/BigDataRecommendType.cs | 50 +++ Proto/EquipmentRecommend.cs | 224 ++++++++++++ Proto/EquipmentRecommendInfo.cs | 272 ++++++++++++++ Proto/GetBigDataRecommendCsReq.cs | 89 ++--- Proto/GetBigDataRecommendScRsp.cs | 303 ++++++++-------- Proto/InsideRelic.cs | 309 ++++++++++++++++ Proto/OutsideRelic.cs | 271 ++++++++++++++ Proto/RelicRecommend.cs | 224 ++++++++++++ Proto/RelicRecommendInfo.cs | 309 ++++++++++++++++ Proto/RelicRecommendScRsp.cs | 106 +++--- Proto/RelicSmartWearAddPlanCsReq.cs | 62 ++-- Proto/RelicSmartWearAddPlanScRsp.cs | 63 ++-- Proto/RelicSmartWearGetPlanScRsp.cs | 46 +-- Proto/RelicSmartWearPlan.cs | 335 ++++++++++++++++++ Proto/RelicSmartWearUpdatePlanCsReq.cs | 62 ++-- Proto/RelicSmartWearUpdatePlanScRsp.cs | 64 ++-- 35 files changed, 2700 insertions(+), 439 deletions(-) rename GameServer/Server/Packet/Recv/{Item => Avatar}/HandlerRelicReforgeConfirmCsReq.cs (69%) rename GameServer/Server/Packet/Recv/{Item => Avatar}/HandlerRelicReforgeCsReq.cs (70%) create mode 100644 GameServer/Server/Packet/Recv/Recommend/HandlerGetBigDataRecommendCsReq.cs rename GameServer/Server/Packet/Recv/{Item => Recommend}/HandlerRelicRecommendCsReq.cs (86%) create mode 100644 GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearAddPlanCsReq.cs create mode 100644 GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearDeletePlanCsReq.cs create mode 100644 GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearGetPinRelicCsReq.cs create mode 100644 GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearGetPlanCsReq.cs create mode 100644 GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearUpdatePlanCsReq.cs create mode 100644 GameServer/Server/Packet/Send/Recommend/PacketGetBigDataRecommendScRsp.cs rename GameServer/Server/Packet/Send/{Item => Recommend}/PacketRelicRecommendScRsp.cs (66%) create mode 100644 GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearAddPlanScRsp.cs create mode 100644 GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearDeletePlanScRsp.cs create mode 100644 GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearGetPinRelicScRsp.cs create mode 100644 GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearGetPlanScRsp.cs create mode 100644 GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearUpdatePlanScRsp.cs create mode 100644 Proto/BigDataRecommendType.cs create mode 100644 Proto/EquipmentRecommend.cs create mode 100644 Proto/EquipmentRecommendInfo.cs create mode 100644 Proto/InsideRelic.cs create mode 100644 Proto/OutsideRelic.cs create mode 100644 Proto/RelicRecommend.cs create mode 100644 Proto/RelicRecommendInfo.cs create mode 100644 Proto/RelicSmartWearPlan.cs diff --git a/Common/Database/Inventory/InventoryData.cs b/Common/Database/Inventory/InventoryData.cs index f7b5c087..5aff1b47 100644 --- a/Common/Database/Inventory/InventoryData.cs +++ b/Common/Database/Inventory/InventoryData.cs @@ -16,6 +16,8 @@ public class InventoryData : BaseDatabaseDataHelper [SugarColumn(IsJson = true)] public List RelicItems { get; set; } = []; + [SugarColumn(IsJson = true)] public Dictionary RelicPlans { get; set; } = []; + public int NextUniqueId { get; set; } = 100; } @@ -358,4 +360,11 @@ public class ItemSubAffix Step = Step }; } +} + +public class RelicPlanData +{ + public int EquipAvatar { get; set; } + public List InsideRelic { get; set; } = []; + public List OutsideRelic { get; set; } = []; } \ No newline at end of file diff --git a/GameServer/Game/Avatar/AvatarManager.cs b/GameServer/Game/Avatar/AvatarManager.cs index 74c029f6..54c8d676 100644 --- a/GameServer/Game/Avatar/AvatarManager.cs +++ b/GameServer/Game/Avatar/AvatarManager.cs @@ -2,9 +2,11 @@ using EggLink.DanhengServer.Data.Excel; using EggLink.DanhengServer.Database; using EggLink.DanhengServer.Database.Avatar; +using EggLink.DanhengServer.Database.Inventory; using EggLink.DanhengServer.GameServer.Game.Player; using EggLink.DanhengServer.GameServer.Server.Packet.Send.Avatar; using EggLink.DanhengServer.GameServer.Server.Packet.Send.PlayerSync; +using EggLink.DanhengServer.Proto; using EggLink.DanhengServer.Util; namespace EggLink.DanhengServer.GameServer.Game.Avatar; @@ -61,4 +63,88 @@ public class AvatarManager(PlayerInstance player) : BasePlayerManager(player) return AvatarData.Avatars.Find(avatar => avatar.BaseAvatarId == avatarId); } + public async ValueTask ReforgeRelic(int uniqueId) + { + var relic = Player.InventoryManager!.Data.RelicItems.FirstOrDefault(x => x.UniqueId == uniqueId); + if (relic == null) return; + await Player.InventoryManager!.RemoveItem(238, 1); + + var subAffixesClone = relic.SubAffixes.Select(x => x.Clone()).ToList(); + + var levelUpCnt = 0; + foreach (var subAffix in relic.SubAffixes) + { + levelUpCnt += subAffix.Count - 1; + subAffix.Count = 1; + subAffix.Step = 0; + } + relic.IncreaseRandomRelicSubAffix(levelUpCnt); + relic.ReforgeSubAffixes = relic.SubAffixes; + relic.SubAffixes = subAffixesClone; + + await Player.SendPacket(new PacketPlayerSyncScNotify(relic)); + } + + public async ValueTask ConfirmReforgeRelic(int uniqueId, bool isCancel) + { + var relic = Player.InventoryManager!.Data.RelicItems.FirstOrDefault(x => x.UniqueId == uniqueId); + if (relic == null) return; + if (relic.ReforgeSubAffixes.Count == 0) return; + + if (!isCancel) + relic.SubAffixes = relic.ReforgeSubAffixes; + relic.ReforgeSubAffixes = []; + + await Player.SendPacket(new PacketPlayerSyncScNotify(relic)); + } + + public List GetRelicPlan(int avatarId) + { + var planList = new List(); + foreach (var plan in Player.InventoryManager!.Data.RelicPlans) + { + if (plan.Value.EquipAvatar != avatarId) continue; + if (plan.Value.InsideRelic.Count == 0 && plan.Value.OutsideRelic.Count == 0) continue; + + planList.Add(new RelicSmartWearPlan + { + AvatarId = (uint)avatarId, + UniqueId = (uint)plan.Key, + OutsideRelicList = { plan.Value.OutsideRelic.Select(x => (uint)x) }, + InsideRelicList = { plan.Value.InsideRelic.Select(x => (uint)x) }, + }); + } + return planList; + } + + public RelicSmartWearPlan AddRelicPlan(RelicSmartWearPlan plan) + { + var curUnique = Player.InventoryManager!.Data.RelicPlans.Keys; + var uniqueId = curUnique.Count > 0 ? curUnique.Max() + 1 : 1; + Player.InventoryManager!.Data.RelicPlans[uniqueId] = new RelicPlanData + { + EquipAvatar = (int)plan.AvatarId, + InsideRelic = [.. plan.InsideRelicList.Select(x => (int)x)], + OutsideRelic = [.. plan.OutsideRelicList.Select(x => (int)x)] + }; + + plan.UniqueId = (uint)uniqueId; + return plan; + } + + public void UpdateRelicPlan(RelicSmartWearPlan plan) + { + var avatar = GetAvatar((int)plan.AvatarId)!.GetCurAvatarInfo(); + Player.InventoryManager!.Data.RelicPlans[(int)plan.UniqueId] = new RelicPlanData + { + EquipAvatar = (int)plan.AvatarId, + InsideRelic = [.. plan.InsideRelicList.Select(x => (int)x)], + OutsideRelic = [.. plan.OutsideRelicList.Select(x => (int)x)] + }; + } + + public void DeleteRelicPlan(int uniqueId) + { + Player.InventoryManager!.Data.RelicPlans[uniqueId] = new(); + } } \ No newline at end of file diff --git a/GameServer/Game/Inventory/InventoryManager.cs b/GameServer/Game/Inventory/InventoryManager.cs index 496356e9..3191b88f 100644 --- a/GameServer/Game/Inventory/InventoryManager.cs +++ b/GameServer/Game/Inventory/InventoryManager.cs @@ -596,42 +596,7 @@ public class InventoryManager(PlayerInstance player) : BasePlayerManager(player) return itemData; } - public async ValueTask ReforgeRelic(int uniqueId) - { - var relic = Data.RelicItems.FirstOrDefault(x => x.UniqueId == uniqueId); - if (relic == null) return; - await RemoveItem(238, 1); - - var subAffixesClone = relic.SubAffixes.Select(x => x.Clone()).ToList(); - - var levelUpCnt = 0; - foreach (var subAffix in relic.SubAffixes) - { - levelUpCnt += subAffix.Count - 1; - subAffix.Count = 1; - subAffix.Step = 0; - } - relic.IncreaseRandomRelicSubAffix(levelUpCnt); - relic.ReforgeSubAffixes = relic.SubAffixes; - relic.SubAffixes = subAffixesClone; - - await Player.SendPacket(new PacketPlayerSyncScNotify(relic)); - } - - public async ValueTask ConfirmReforgeRelic(int uniqueId, bool isCancel) - { - var relic = Data.RelicItems.FirstOrDefault(x => x.UniqueId == uniqueId); - if (relic == null) return; - if (relic.ReforgeSubAffixes.Count == 0) return; - - if (!isCancel) - relic.SubAffixes = relic.ReforgeSubAffixes; - relic.ReforgeSubAffixes = []; - - await Player.SendPacket(new PacketPlayerSyncScNotify(relic)); - } - - public async ValueTask> SellItem(ItemCostData costData, bool toMaterial = false) + public async ValueTask> SellItem(ItemCostData costData, bool toMaterial) { List items = []; Dictionary itemMap = []; diff --git a/GameServer/Server/Packet/Recv/Item/HandlerRelicReforgeConfirmCsReq.cs b/GameServer/Server/Packet/Recv/Avatar/HandlerRelicReforgeConfirmCsReq.cs similarity index 69% rename from GameServer/Server/Packet/Recv/Item/HandlerRelicReforgeConfirmCsReq.cs rename to GameServer/Server/Packet/Recv/Avatar/HandlerRelicReforgeConfirmCsReq.cs index 40af4b0e..c3b4dbbf 100644 --- a/GameServer/Server/Packet/Recv/Item/HandlerRelicReforgeConfirmCsReq.cs +++ b/GameServer/Server/Packet/Recv/Avatar/HandlerRelicReforgeConfirmCsReq.cs @@ -1,7 +1,7 @@ using EggLink.DanhengServer.Kcp; using EggLink.DanhengServer.Proto; -namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Item; +namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Avatar; [Opcode(CmdIds.RelicReforgeConfirmCsReq)] public class HandlerRelicReforgeConfirmCsReq : Handler @@ -9,7 +9,7 @@ public class HandlerRelicReforgeConfirmCsReq : Handler public override async Task OnHandle(Connection connection, byte[] header, byte[] data) { var req = RelicReforgeConfirmCsReq.Parser.ParseFrom(data); - await connection.Player!.InventoryManager!.ConfirmReforgeRelic((int)req.RelicUniqueId, req.IsCancel); + await connection.Player!.AvatarManager!.ConfirmReforgeRelic((int)req.RelicUniqueId, req.IsCancel); await connection.SendPacket(CmdIds.RelicReforgeConfirmScRsp); } } \ No newline at end of file diff --git a/GameServer/Server/Packet/Recv/Item/HandlerRelicReforgeCsReq.cs b/GameServer/Server/Packet/Recv/Avatar/HandlerRelicReforgeCsReq.cs similarity index 70% rename from GameServer/Server/Packet/Recv/Item/HandlerRelicReforgeCsReq.cs rename to GameServer/Server/Packet/Recv/Avatar/HandlerRelicReforgeCsReq.cs index 6d676d88..26a3b49a 100644 --- a/GameServer/Server/Packet/Recv/Item/HandlerRelicReforgeCsReq.cs +++ b/GameServer/Server/Packet/Recv/Avatar/HandlerRelicReforgeCsReq.cs @@ -1,7 +1,7 @@ using EggLink.DanhengServer.Kcp; using EggLink.DanhengServer.Proto; -namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Item; +namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Avatar; [Opcode(CmdIds.RelicReforgeCsReq)] public class HandlerRelicReforgeCsReq : Handler @@ -9,7 +9,7 @@ public class HandlerRelicReforgeCsReq : Handler public override async Task OnHandle(Connection connection, byte[] header, byte[] data) { var req = RelicReforgeCsReq.Parser.ParseFrom(data); - await connection.Player!.InventoryManager!.ReforgeRelic((int)req.RelicUniqueId); + await connection.Player!.AvatarManager!.ReforgeRelic((int)req.RelicUniqueId); await connection.SendPacket(CmdIds.RelicReforgeScRsp); } } \ No newline at end of file diff --git a/GameServer/Server/Packet/Recv/Recommend/HandlerGetBigDataRecommendCsReq.cs b/GameServer/Server/Packet/Recv/Recommend/HandlerGetBigDataRecommendCsReq.cs new file mode 100644 index 00000000..1b1eb3d7 --- /dev/null +++ b/GameServer/Server/Packet/Recv/Recommend/HandlerGetBigDataRecommendCsReq.cs @@ -0,0 +1,15 @@ +using EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Recommend; + +[Opcode(CmdIds.GetBigDataRecommendCsReq)] +public class HandlerGetBigDataRecommendCsReq : Handler +{ + public override async Task OnHandle(Connection connection, byte[] header, byte[] data) + { + var req = GetBigDataRecommendCsReq.Parser.ParseFrom(data); + await connection.SendPacket(new PacketGetBigDataRecommendScRsp(req.EquipAvatar, req.BigDataRecommendType)); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Recv/Item/HandlerRelicRecommendCsReq.cs b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicRecommendCsReq.cs similarity index 86% rename from GameServer/Server/Packet/Recv/Item/HandlerRelicRecommendCsReq.cs rename to GameServer/Server/Packet/Recv/Recommend/HandlerRelicRecommendCsReq.cs index 426645bd..985b0870 100644 --- a/GameServer/Server/Packet/Recv/Item/HandlerRelicRecommendCsReq.cs +++ b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicRecommendCsReq.cs @@ -2,7 +2,7 @@ using EggLink.DanhengServer.Kcp; using EggLink.DanhengServer.Proto; -namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Item; +namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Recommend; [Opcode(CmdIds.RelicRecommendCsReq)] public class HandlerRelicRecommendCsReq : Handler diff --git a/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearAddPlanCsReq.cs b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearAddPlanCsReq.cs new file mode 100644 index 00000000..fee62ef6 --- /dev/null +++ b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearAddPlanCsReq.cs @@ -0,0 +1,16 @@ +using EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Recommend; + +[Opcode(CmdIds.RelicSmartWearAddPlanCsReq)] +public class HandlerRelicSmartWearAddPlanCsReq : Handler +{ + public override async Task OnHandle(Connection connection, byte[] header, byte[] data) + { + var req = RelicSmartWearAddPlanCsReq.Parser.ParseFrom(data); + var plan = connection.Player!.AvatarManager!.AddRelicPlan(req.RelicPlan); + await connection.SendPacket(new PacketRelicSmartWearAddPlanScRsp(plan)); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearDeletePlanCsReq.cs b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearDeletePlanCsReq.cs new file mode 100644 index 00000000..e9533329 --- /dev/null +++ b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearDeletePlanCsReq.cs @@ -0,0 +1,16 @@ +using EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Recommend; + +[Opcode(CmdIds.RelicSmartWearDeletePlanCsReq)] +public class HandlerRelicSmartWearDeletePlanCsReq : Handler +{ + public override async Task OnHandle(Connection connection, byte[] header, byte[] data) + { + var req = RelicSmartWearDeletePlanCsReq.Parser.ParseFrom(data); + connection.Player!.AvatarManager!.DeleteRelicPlan((int)req.UniqueId); + await connection.SendPacket(new PacketRelicSmartWearDeletePlanScRsp(req.UniqueId)); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearGetPinRelicCsReq.cs b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearGetPinRelicCsReq.cs new file mode 100644 index 00000000..6282a11a --- /dev/null +++ b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearGetPinRelicCsReq.cs @@ -0,0 +1,15 @@ +using EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Recommend; + +[Opcode(CmdIds.RelicSmartWearGetPinRelicCsReq)] +public class HandlerRelicSmartWearGetPinRelicCsReq : Handler +{ + public override async Task OnHandle(Connection connection, byte[] header, byte[] data) + { + var req = RelicSmartWearGetPinRelicCsReq.Parser.ParseFrom(data); + await connection.SendPacket(new PacketRelicSmartWearGetPinRelicScRsp(req.AvatarId)); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearGetPlanCsReq.cs b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearGetPlanCsReq.cs new file mode 100644 index 00000000..91b5f0c0 --- /dev/null +++ b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearGetPlanCsReq.cs @@ -0,0 +1,16 @@ +using EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Recommend; + +[Opcode(CmdIds.RelicSmartWearGetPlanCsReq)] +public class HandlerRelicSmartWearGetPlanCsReq : Handler +{ + public override async Task OnHandle(Connection connection, byte[] header, byte[] data) + { + var req = RelicSmartWearGetPlanCsReq.Parser.ParseFrom(data); + var relicPlan = connection.Player!.AvatarManager!.GetRelicPlan((int)req.AvatarId); + await connection.SendPacket(new PacketRelicSmartWearGetPlanScRsp(req.AvatarId, relicPlan)); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearUpdatePlanCsReq.cs b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearUpdatePlanCsReq.cs new file mode 100644 index 00000000..e75d08f3 --- /dev/null +++ b/GameServer/Server/Packet/Recv/Recommend/HandlerRelicSmartWearUpdatePlanCsReq.cs @@ -0,0 +1,16 @@ +using EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.Recommend; + +[Opcode(CmdIds.RelicSmartWearUpdatePlanCsReq)] +public class HandlerRelicSmartWearUpdatePlanCsReq : Handler +{ + public override async Task OnHandle(Connection connection, byte[] header, byte[] data) + { + var req = RelicSmartWearUpdatePlanCsReq.Parser.ParseFrom(data); + connection.Player!.AvatarManager!.UpdateRelicPlan(req.RelicPlan); + await connection.SendPacket(new PacketRelicSmartWearUpdatePlanScRsp(req.RelicPlan)); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Send/Recommend/PacketGetBigDataRecommendScRsp.cs b/GameServer/Server/Packet/Send/Recommend/PacketGetBigDataRecommendScRsp.cs new file mode 100644 index 00000000..4c949c7f --- /dev/null +++ b/GameServer/Server/Packet/Send/Recommend/PacketGetBigDataRecommendScRsp.cs @@ -0,0 +1,20 @@ +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; + +public class PacketGetBigDataRecommendScRsp : BasePacket +{ + public PacketGetBigDataRecommendScRsp(uint avatarId, BigDataRecommendType type) + : base(CmdIds.GetBigDataRecommendScRsp) + { + var proto = new GetBigDataRecommendScRsp + { + HasRecommand = true, + EquipAvatar = avatarId, + BigDataRecommendType = type + }; + + SetData(proto); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Send/Item/PacketRelicRecommendScRsp.cs b/GameServer/Server/Packet/Send/Recommend/PacketRelicRecommendScRsp.cs similarity index 66% rename from GameServer/Server/Packet/Send/Item/PacketRelicRecommendScRsp.cs rename to GameServer/Server/Packet/Send/Recommend/PacketRelicRecommendScRsp.cs index b99a0132..ab3277e6 100644 --- a/GameServer/Server/Packet/Send/Item/PacketRelicRecommendScRsp.cs +++ b/GameServer/Server/Packet/Send/Recommend/PacketRelicRecommendScRsp.cs @@ -5,11 +5,12 @@ namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Item; public class PacketRelicRecommendScRsp : BasePacket { - public PacketRelicRecommendScRsp(uint avatar) : base(CmdIds.RelicRecommendScRsp) + public PacketRelicRecommendScRsp(uint avatarId) : base(CmdIds.RelicRecommendScRsp) { var proto = new RelicRecommendScRsp { - AvatarId = avatar + AvatarId = avatarId, + HasRecommand = true }; SetData(proto); diff --git a/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearAddPlanScRsp.cs b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearAddPlanScRsp.cs new file mode 100644 index 00000000..ae21f953 --- /dev/null +++ b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearAddPlanScRsp.cs @@ -0,0 +1,17 @@ +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; + +public class PacketRelicSmartWearAddPlanScRsp : BasePacket +{ + public PacketRelicSmartWearAddPlanScRsp(RelicSmartWearPlan addPlan) : base(CmdIds.RelicSmartWearAddPlanScRsp) + { + var proto = new RelicSmartWearAddPlanScRsp + { + RelicPlan = addPlan + }; + + SetData(proto); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearDeletePlanScRsp.cs b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearDeletePlanScRsp.cs new file mode 100644 index 00000000..bb82c1de --- /dev/null +++ b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearDeletePlanScRsp.cs @@ -0,0 +1,18 @@ +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; + +public class PacketRelicSmartWearDeletePlanScRsp : BasePacket +{ + public PacketRelicSmartWearDeletePlanScRsp(uint uniqueId) + : base(CmdIds.RelicSmartWearDeletePlanScRsp) + { + var proto = new RelicSmartWearDeletePlanScRsp + { + UniqueId = uniqueId + }; + + SetData(proto); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearGetPinRelicScRsp.cs b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearGetPinRelicScRsp.cs new file mode 100644 index 00000000..8610c560 --- /dev/null +++ b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearGetPinRelicScRsp.cs @@ -0,0 +1,17 @@ +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; + +public class PacketRelicSmartWearGetPinRelicScRsp : BasePacket +{ + public PacketRelicSmartWearGetPinRelicScRsp(uint avatarId) : base(CmdIds.RelicSmartWearGetPinRelicScRsp) + { + var proto = new RelicSmartWearGetPinRelicScRsp + { + AvatarId = avatarId + }; + + SetData(proto); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearGetPlanScRsp.cs b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearGetPlanScRsp.cs new file mode 100644 index 00000000..2efd3457 --- /dev/null +++ b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearGetPlanScRsp.cs @@ -0,0 +1,19 @@ +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; + +public class PacketRelicSmartWearGetPlanScRsp : BasePacket +{ + public PacketRelicSmartWearGetPlanScRsp(uint avatarId, List relicPlan) + : base(CmdIds.RelicSmartWearGetPlanScRsp) + { + var proto = new RelicSmartWearGetPlanScRsp + { + AvatarId = avatarId, + RelicPlanList = { relicPlan } + }; + + SetData(proto); + } +} \ No newline at end of file diff --git a/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearUpdatePlanScRsp.cs b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearUpdatePlanScRsp.cs new file mode 100644 index 00000000..eefbd8f9 --- /dev/null +++ b/GameServer/Server/Packet/Send/Recommend/PacketRelicSmartWearUpdatePlanScRsp.cs @@ -0,0 +1,18 @@ +using EggLink.DanhengServer.Kcp; +using EggLink.DanhengServer.Proto; + +namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Recommend; + +public class PacketRelicSmartWearUpdatePlanScRsp : BasePacket +{ + public PacketRelicSmartWearUpdatePlanScRsp(RelicSmartWearPlan relicPlan) + : base(CmdIds.RelicSmartWearUpdatePlanScRsp) + { + var proto = new RelicSmartWearUpdatePlanScRsp + { + RelicPlan = relicPlan + }; + + SetData(proto); + } +} \ No newline at end of file diff --git a/Proto/BigDataRecommendType.cs b/Proto/BigDataRecommendType.cs new file mode 100644 index 00000000..3d5cf636 --- /dev/null +++ b/Proto/BigDataRecommendType.cs @@ -0,0 +1,50 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: BigDataRecommendType.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace EggLink.DanhengServer.Proto { + + /// Holder for reflection information generated from BigDataRecommendType.proto + public static partial class BigDataRecommendTypeReflection { + + #region Descriptor + /// File descriptor for BigDataRecommendType.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static BigDataRecommendTypeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChpCaWdEYXRhUmVjb21tZW5kVHlwZS5wcm90byqHAQoUQmlnRGF0YVJlY29t", + "bWVuZFR5cGUSIAocQklHX0RBVEFfUkVDT01NRU5EX1RZUEVfTk9ORRAAEiUK", + "IUJJR19EQVRBX1JFQ09NTUVORF9UWVBFX0VRVUlQTUVOVBABEiYKIkJJR19E", + "QVRBX1JFQ09NTUVORF9UWVBFX1JFTElDX1NVSVQQAkIeqgIbRWdnTGluay5E", + "YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::EggLink.DanhengServer.Proto.BigDataRecommendType), }, null, null)); + } + #endregion + + } + #region Enums + public enum BigDataRecommendType { + [pbr::OriginalName("BIG_DATA_RECOMMEND_TYPE_NONE")] None = 0, + [pbr::OriginalName("BIG_DATA_RECOMMEND_TYPE_EQUIPMENT")] Equipment = 1, + [pbr::OriginalName("BIG_DATA_RECOMMEND_TYPE_RELIC_SUIT")] RelicSuit = 2, + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/EquipmentRecommend.cs b/Proto/EquipmentRecommend.cs new file mode 100644 index 00000000..7038e84c --- /dev/null +++ b/Proto/EquipmentRecommend.cs @@ -0,0 +1,224 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: EquipmentRecommend.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace EggLink.DanhengServer.Proto { + + /// Holder for reflection information generated from EquipmentRecommend.proto + public static partial class EquipmentRecommendReflection { + + #region Descriptor + /// File descriptor for EquipmentRecommend.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static EquipmentRecommendReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhFcXVpcG1lbnRSZWNvbW1lbmQucHJvdG8aHEVxdWlwbWVudFJlY29tbWVu", + "ZEluZm8ucHJvdG8iRQoSRXF1aXBtZW50UmVjb21tZW5kEi8KDmVxdWlwbWVu", + "dF9saXN0GAogAygLMhcuRXF1aXBtZW50UmVjb21tZW5kSW5mb0IeqgIbRWdn", + "TGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EquipmentRecommendInfoReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EquipmentRecommend), global::EggLink.DanhengServer.Proto.EquipmentRecommend.Parser, new[]{ "EquipmentList" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentRecommend : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentRecommend()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::EggLink.DanhengServer.Proto.EquipmentRecommendReflection.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 EquipmentRecommend() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentRecommend(EquipmentRecommend other) : this() { + equipmentList_ = other.equipmentList_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentRecommend Clone() { + return new EquipmentRecommend(this); + } + + /// Field number for the "equipment_list" field. + public const int EquipmentListFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_equipmentList_codec + = pb::FieldCodec.ForMessage(82, global::EggLink.DanhengServer.Proto.EquipmentRecommendInfo.Parser); + private readonly pbc::RepeatedField equipmentList_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EquipmentList { + get { return equipmentList_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EquipmentRecommend); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentRecommend other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!equipmentList_.Equals(other.equipmentList_)) 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 ^= equipmentList_.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 + equipmentList_.WriteTo(output, _repeated_equipmentList_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) { + equipmentList_.WriteTo(ref output, _repeated_equipmentList_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 += equipmentList_.CalculateSize(_repeated_equipmentList_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentRecommend other) { + if (other == null) { + return; + } + equipmentList_.Add(other.equipmentList_); + _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 82: { + equipmentList_.AddEntriesFrom(input, _repeated_equipmentList_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 82: { + equipmentList_.AddEntriesFrom(ref input, _repeated_equipmentList_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/EquipmentRecommendInfo.cs b/Proto/EquipmentRecommendInfo.cs new file mode 100644 index 00000000..aa395d6f --- /dev/null +++ b/Proto/EquipmentRecommendInfo.cs @@ -0,0 +1,272 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: EquipmentRecommendInfo.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace EggLink.DanhengServer.Proto { + + /// Holder for reflection information generated from EquipmentRecommendInfo.proto + public static partial class EquipmentRecommendInfoReflection { + + #region Descriptor + /// File descriptor for EquipmentRecommendInfo.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static EquipmentRecommendInfoReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChxFcXVpcG1lbnRSZWNvbW1lbmRJbmZvLnByb3RvIkIKFkVxdWlwbWVudFJl", + "Y29tbWVuZEluZm8SEwoLTURNR0tITEhJSU4YBiABKA0SEwoLTEdJSUFISURM", + "TUcYCSABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv", + "dG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EquipmentRecommendInfo), global::EggLink.DanhengServer.Proto.EquipmentRecommendInfo.Parser, new[]{ "MDMGKHLHIIN", "LGIIAHIDLMG" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentRecommendInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentRecommendInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::EggLink.DanhengServer.Proto.EquipmentRecommendInfoReflection.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 EquipmentRecommendInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentRecommendInfo(EquipmentRecommendInfo other) : this() { + mDMGKHLHIIN_ = other.mDMGKHLHIIN_; + lGIIAHIDLMG_ = other.lGIIAHIDLMG_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentRecommendInfo Clone() { + return new EquipmentRecommendInfo(this); + } + + /// Field number for the "MDMGKHLHIIN" field. + public const int MDMGKHLHIINFieldNumber = 6; + private uint mDMGKHLHIIN_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MDMGKHLHIIN { + get { return mDMGKHLHIIN_; } + set { + mDMGKHLHIIN_ = value; + } + } + + /// Field number for the "LGIIAHIDLMG" field. + public const int LGIIAHIDLMGFieldNumber = 9; + private uint lGIIAHIDLMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LGIIAHIDLMG { + get { return lGIIAHIDLMG_; } + set { + lGIIAHIDLMG_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EquipmentRecommendInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentRecommendInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MDMGKHLHIIN != other.MDMGKHLHIIN) return false; + if (LGIIAHIDLMG != other.LGIIAHIDLMG) 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 (MDMGKHLHIIN != 0) hash ^= MDMGKHLHIIN.GetHashCode(); + if (LGIIAHIDLMG != 0) hash ^= LGIIAHIDLMG.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 (MDMGKHLHIIN != 0) { + output.WriteRawTag(48); + output.WriteUInt32(MDMGKHLHIIN); + } + if (LGIIAHIDLMG != 0) { + output.WriteRawTag(72); + output.WriteUInt32(LGIIAHIDLMG); + } + 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 (MDMGKHLHIIN != 0) { + output.WriteRawTag(48); + output.WriteUInt32(MDMGKHLHIIN); + } + if (LGIIAHIDLMG != 0) { + output.WriteRawTag(72); + output.WriteUInt32(LGIIAHIDLMG); + } + 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 (MDMGKHLHIIN != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MDMGKHLHIIN); + } + if (LGIIAHIDLMG != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LGIIAHIDLMG); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentRecommendInfo other) { + if (other == null) { + return; + } + if (other.MDMGKHLHIIN != 0) { + MDMGKHLHIIN = other.MDMGKHLHIIN; + } + if (other.LGIIAHIDLMG != 0) { + LGIIAHIDLMG = other.LGIIAHIDLMG; + } + _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 48: { + MDMGKHLHIIN = input.ReadUInt32(); + break; + } + case 72: { + LGIIAHIDLMG = 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 48: { + MDMGKHLHIIN = input.ReadUInt32(); + break; + } + case 72: { + LGIIAHIDLMG = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/GetBigDataRecommendCsReq.cs b/Proto/GetBigDataRecommendCsReq.cs index f7e7f59a..756e1fbb 100644 --- a/Proto/GetBigDataRecommendCsReq.cs +++ b/Proto/GetBigDataRecommendCsReq.cs @@ -24,14 +24,15 @@ namespace EggLink.DanhengServer.Proto { static GetBigDataRecommendCsReqReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Ch5HZXRCaWdEYXRhUmVjb21tZW5kQ3NSZXEucHJvdG8aEUtMREhKR0VHR0xK", - "LnByb3RvIlIKGEdldEJpZ0RhdGFSZWNvbW1lbmRDc1JlcRIhCgtJQU5ORUVJ", - "SkFLSBgKIAEoDjIMLktMREhKR0VHR0xKEhMKC0VJR1BNSUJDSUtHGAQgASgN", - "Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); + "Ch5HZXRCaWdEYXRhUmVjb21tZW5kQ3NSZXEucHJvdG8aGkJpZ0RhdGFSZWNv", + "bW1lbmRUeXBlLnByb3RvImgKGEdldEJpZ0RhdGFSZWNvbW1lbmRDc1JlcRI2", + "ChdiaWdfZGF0YV9yZWNvbW1lbmRfdHlwZRgKIAEoDjIVLkJpZ0RhdGFSZWNv", + "bW1lbmRUeXBlEhQKDGVxdWlwX2F2YXRhchgEIAEoDUIeqgIbRWdnTGluay5E", + "YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.KLDHJGEGGLJReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BigDataRecommendTypeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetBigDataRecommendCsReq), global::EggLink.DanhengServer.Proto.GetBigDataRecommendCsReq.Parser, new[]{ "IANNEEIJAKH", "EIGPMIBCIKG" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetBigDataRecommendCsReq), global::EggLink.DanhengServer.Proto.GetBigDataRecommendCsReq.Parser, new[]{ "BigDataRecommendType", "EquipAvatar" }, null, null, null, null) })); } #endregion @@ -73,8 +74,8 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBigDataRecommendCsReq(GetBigDataRecommendCsReq other) : this() { - iANNEEIJAKH_ = other.iANNEEIJAKH_; - eIGPMIBCIKG_ = other.eIGPMIBCIKG_; + bigDataRecommendType_ = other.bigDataRecommendType_; + equipAvatar_ = other.equipAvatar_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -84,27 +85,27 @@ namespace EggLink.DanhengServer.Proto { return new GetBigDataRecommendCsReq(this); } - /// Field number for the "IANNEEIJAKH" field. - public const int IANNEEIJAKHFieldNumber = 10; - private global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ iANNEEIJAKH_ = global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone; + /// Field number for the "big_data_recommend_type" field. + public const int BigDataRecommendTypeFieldNumber = 10; + private global::EggLink.DanhengServer.Proto.BigDataRecommendType bigDataRecommendType_ = global::EggLink.DanhengServer.Proto.BigDataRecommendType.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ IANNEEIJAKH { - get { return iANNEEIJAKH_; } + public global::EggLink.DanhengServer.Proto.BigDataRecommendType BigDataRecommendType { + get { return bigDataRecommendType_; } set { - iANNEEIJAKH_ = value; + bigDataRecommendType_ = value; } } - /// Field number for the "EIGPMIBCIKG" field. - public const int EIGPMIBCIKGFieldNumber = 4; - private uint eIGPMIBCIKG_; + /// Field number for the "equip_avatar" field. + public const int EquipAvatarFieldNumber = 4; + private uint equipAvatar_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint EIGPMIBCIKG { - get { return eIGPMIBCIKG_; } + public uint EquipAvatar { + get { return equipAvatar_; } set { - eIGPMIBCIKG_ = value; + equipAvatar_ = value; } } @@ -123,8 +124,8 @@ namespace EggLink.DanhengServer.Proto { if (ReferenceEquals(other, this)) { return true; } - if (IANNEEIJAKH != other.IANNEEIJAKH) return false; - if (EIGPMIBCIKG != other.EIGPMIBCIKG) return false; + if (BigDataRecommendType != other.BigDataRecommendType) return false; + if (EquipAvatar != other.EquipAvatar) return false; return Equals(_unknownFields, other._unknownFields); } @@ -132,8 +133,8 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) hash ^= IANNEEIJAKH.GetHashCode(); - if (EIGPMIBCIKG != 0) hash ^= EIGPMIBCIKG.GetHashCode(); + if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) hash ^= BigDataRecommendType.GetHashCode(); + if (EquipAvatar != 0) hash ^= EquipAvatar.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -152,13 +153,13 @@ namespace EggLink.DanhengServer.Proto { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (EIGPMIBCIKG != 0) { + if (EquipAvatar != 0) { output.WriteRawTag(32); - output.WriteUInt32(EIGPMIBCIKG); + output.WriteUInt32(EquipAvatar); } - if (IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) { + if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) { output.WriteRawTag(80); - output.WriteEnum((int) IANNEEIJAKH); + output.WriteEnum((int) BigDataRecommendType); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -170,13 +171,13 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (EIGPMIBCIKG != 0) { + if (EquipAvatar != 0) { output.WriteRawTag(32); - output.WriteUInt32(EIGPMIBCIKG); + output.WriteUInt32(EquipAvatar); } - if (IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) { + if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) { output.WriteRawTag(80); - output.WriteEnum((int) IANNEEIJAKH); + output.WriteEnum((int) BigDataRecommendType); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -188,11 +189,11 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) IANNEEIJAKH); + if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BigDataRecommendType); } - if (EIGPMIBCIKG != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EIGPMIBCIKG); + if (EquipAvatar != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EquipAvatar); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -206,11 +207,11 @@ namespace EggLink.DanhengServer.Proto { if (other == null) { return; } - if (other.IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) { - IANNEEIJAKH = other.IANNEEIJAKH; + if (other.BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) { + BigDataRecommendType = other.BigDataRecommendType; } - if (other.EIGPMIBCIKG != 0) { - EIGPMIBCIKG = other.EIGPMIBCIKG; + if (other.EquipAvatar != 0) { + EquipAvatar = other.EquipAvatar; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -228,11 +229,11 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 32: { - EIGPMIBCIKG = input.ReadUInt32(); + EquipAvatar = input.ReadUInt32(); break; } case 80: { - IANNEEIJAKH = (global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ) input.ReadEnum(); + BigDataRecommendType = (global::EggLink.DanhengServer.Proto.BigDataRecommendType) input.ReadEnum(); break; } } @@ -251,11 +252,11 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 32: { - EIGPMIBCIKG = input.ReadUInt32(); + EquipAvatar = input.ReadUInt32(); break; } case 80: { - IANNEEIJAKH = (global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ) input.ReadEnum(); + BigDataRecommendType = (global::EggLink.DanhengServer.Proto.BigDataRecommendType) input.ReadEnum(); break; } } diff --git a/Proto/GetBigDataRecommendScRsp.cs b/Proto/GetBigDataRecommendScRsp.cs index 6a1aa2aa..1daa6171 100644 --- a/Proto/GetBigDataRecommendScRsp.cs +++ b/Proto/GetBigDataRecommendScRsp.cs @@ -24,18 +24,19 @@ namespace EggLink.DanhengServer.Proto { static GetBigDataRecommendScRspReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Ch5HZXRCaWdEYXRhUmVjb21tZW5kU2NSc3AucHJvdG8aEUdER09DQlBBUFBC", - "LnByb3RvGhFLTERISkdFR0dMSi5wcm90bxoRUFBHTVBCSEtEQ04ucHJvdG8i", - "0QEKGEdldEJpZ0RhdGFSZWNvbW1lbmRTY1JzcBITCgtPR0VHS09LR1BQShgI", - "IAEoCBITCgtFSUdQTUlCQ0lLRxgKIAEoDRIhCgtJQU5ORUVJSkFLSBgJIAEo", - "DjIMLktMREhKR0VHR0xKEg8KB3JldGNvZGUYAyABKA0SIwoLR1BORk9MSEtP", - "REkYDSABKAsyDC5QUEdNUEJIS0RDTkgAEiMKC0FFSUdBSEVFT0NOGA8gASgL", - "MgwuR0RHT0NCUEFQUEJIAEINCgtCTE5HUElHQkRFSEIeqgIbRWdnTGluay5E", - "YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); + "Ch5HZXRCaWdEYXRhUmVjb21tZW5kU2NSc3AucHJvdG8aGkJpZ0RhdGFSZWNv", + "bW1lbmRUeXBlLnByb3RvGhRSZWxpY1JlY29tbWVuZC5wcm90bxoYRXF1aXBt", + "ZW50UmVjb21tZW5kLnByb3RvIv0BChhHZXRCaWdEYXRhUmVjb21tZW5kU2NS", + "c3ASMgoTZXF1aXBtZW50X3JlY29tbWVuZBgNIAEoCzITLkVxdWlwbWVudFJl", + "Y29tbWVuZEgAEioKD3JlbGljX3JlY29tbWVuZBgPIAEoCzIPLlJlbGljUmVj", + "b21tZW5kSAASFQoNaGFzX3JlY29tbWFuZBgIIAEoCBIUCgxlcXVpcF9hdmF0", + "YXIYCiABKA0SNgoXYmlnX2RhdGFfcmVjb21tZW5kX3R5cGUYCSABKA4yFS5C", + "aWdEYXRhUmVjb21tZW5kVHlwZRIPCgdyZXRjb2RlGAMgASgNQgsKCWRhdGFf", + "Y2FzZUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GDGOCBPAPPBReflection.Descriptor, global::EggLink.DanhengServer.Proto.KLDHJGEGGLJReflection.Descriptor, global::EggLink.DanhengServer.Proto.PPGMPBHKDCNReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BigDataRecommendTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.RelicRecommendReflection.Descriptor, global::EggLink.DanhengServer.Proto.EquipmentRecommendReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetBigDataRecommendScRsp), global::EggLink.DanhengServer.Proto.GetBigDataRecommendScRsp.Parser, new[]{ "OGEGKOKGPPJ", "EIGPMIBCIKG", "IANNEEIJAKH", "Retcode", "GPNFOLHKODI", "AEIGAHEEOCN" }, new[]{ "BLNGPIGBDEH" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetBigDataRecommendScRsp), global::EggLink.DanhengServer.Proto.GetBigDataRecommendScRsp.Parser, new[]{ "EquipmentRecommend", "RelicRecommend", "HasRecommand", "EquipAvatar", "BigDataRecommendType", "Retcode" }, new[]{ "DataCase" }, null, null, null) })); } #endregion @@ -77,16 +78,16 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBigDataRecommendScRsp(GetBigDataRecommendScRsp other) : this() { - oGEGKOKGPPJ_ = other.oGEGKOKGPPJ_; - eIGPMIBCIKG_ = other.eIGPMIBCIKG_; - iANNEEIJAKH_ = other.iANNEEIJAKH_; + hasRecommand_ = other.hasRecommand_; + equipAvatar_ = other.equipAvatar_; + bigDataRecommendType_ = other.bigDataRecommendType_; retcode_ = other.retcode_; - switch (other.BLNGPIGBDEHCase) { - case BLNGPIGBDEHOneofCase.GPNFOLHKODI: - GPNFOLHKODI = other.GPNFOLHKODI.Clone(); + switch (other.DataCaseCase) { + case DataCaseOneofCase.EquipmentRecommend: + EquipmentRecommend = other.EquipmentRecommend.Clone(); break; - case BLNGPIGBDEHOneofCase.AEIGAHEEOCN: - AEIGAHEEOCN = other.AEIGAHEEOCN.Clone(); + case DataCaseOneofCase.RelicRecommend: + RelicRecommend = other.RelicRecommend.Clone(); break; } @@ -99,39 +100,63 @@ namespace EggLink.DanhengServer.Proto { return new GetBigDataRecommendScRsp(this); } - /// Field number for the "OGEGKOKGPPJ" field. - public const int OGEGKOKGPPJFieldNumber = 8; - private bool oGEGKOKGPPJ_; + /// Field number for the "equipment_recommend" field. + public const int EquipmentRecommendFieldNumber = 13; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool OGEGKOKGPPJ { - get { return oGEGKOKGPPJ_; } + public global::EggLink.DanhengServer.Proto.EquipmentRecommend EquipmentRecommend { + get { return dataCaseCase_ == DataCaseOneofCase.EquipmentRecommend ? (global::EggLink.DanhengServer.Proto.EquipmentRecommend) dataCase_ : null; } set { - oGEGKOKGPPJ_ = value; + dataCase_ = value; + dataCaseCase_ = value == null ? DataCaseOneofCase.None : DataCaseOneofCase.EquipmentRecommend; } } - /// Field number for the "EIGPMIBCIKG" field. - public const int EIGPMIBCIKGFieldNumber = 10; - private uint eIGPMIBCIKG_; + /// Field number for the "relic_recommend" field. + public const int RelicRecommendFieldNumber = 15; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint EIGPMIBCIKG { - get { return eIGPMIBCIKG_; } + public global::EggLink.DanhengServer.Proto.RelicRecommend RelicRecommend { + get { return dataCaseCase_ == DataCaseOneofCase.RelicRecommend ? (global::EggLink.DanhengServer.Proto.RelicRecommend) dataCase_ : null; } set { - eIGPMIBCIKG_ = value; + dataCase_ = value; + dataCaseCase_ = value == null ? DataCaseOneofCase.None : DataCaseOneofCase.RelicRecommend; } } - /// Field number for the "IANNEEIJAKH" field. - public const int IANNEEIJAKHFieldNumber = 9; - private global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ iANNEEIJAKH_ = global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone; + /// Field number for the "has_recommand" field. + public const int HasRecommandFieldNumber = 8; + private bool hasRecommand_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ IANNEEIJAKH { - get { return iANNEEIJAKH_; } + public bool HasRecommand { + get { return hasRecommand_; } set { - iANNEEIJAKH_ = value; + hasRecommand_ = value; + } + } + + /// Field number for the "equip_avatar" field. + public const int EquipAvatarFieldNumber = 10; + private uint equipAvatar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EquipAvatar { + get { return equipAvatar_; } + set { + equipAvatar_ = value; + } + } + + /// Field number for the "big_data_recommend_type" field. + public const int BigDataRecommendTypeFieldNumber = 9; + private global::EggLink.DanhengServer.Proto.BigDataRecommendType bigDataRecommendType_ = global::EggLink.DanhengServer.Proto.BigDataRecommendType.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::EggLink.DanhengServer.Proto.BigDataRecommendType BigDataRecommendType { + get { return bigDataRecommendType_; } + set { + bigDataRecommendType_ = value; } } @@ -147,49 +172,25 @@ namespace EggLink.DanhengServer.Proto { } } - /// Field number for the "GPNFOLHKODI" field. - public const int GPNFOLHKODIFieldNumber = 13; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::EggLink.DanhengServer.Proto.PPGMPBHKDCN GPNFOLHKODI { - get { return bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.GPNFOLHKODI ? (global::EggLink.DanhengServer.Proto.PPGMPBHKDCN) bLNGPIGBDEH_ : null; } - set { - bLNGPIGBDEH_ = value; - bLNGPIGBDEHCase_ = value == null ? BLNGPIGBDEHOneofCase.None : BLNGPIGBDEHOneofCase.GPNFOLHKODI; - } - } - - /// Field number for the "AEIGAHEEOCN" field. - public const int AEIGAHEEOCNFieldNumber = 15; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::EggLink.DanhengServer.Proto.GDGOCBPAPPB AEIGAHEEOCN { - get { return bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.AEIGAHEEOCN ? (global::EggLink.DanhengServer.Proto.GDGOCBPAPPB) bLNGPIGBDEH_ : null; } - set { - bLNGPIGBDEH_ = value; - bLNGPIGBDEHCase_ = value == null ? BLNGPIGBDEHOneofCase.None : BLNGPIGBDEHOneofCase.AEIGAHEEOCN; - } - } - - private object bLNGPIGBDEH_; - /// Enum of possible cases for the "BLNGPIGBDEH" oneof. - public enum BLNGPIGBDEHOneofCase { + private object dataCase_; + /// Enum of possible cases for the "data_case" oneof. + public enum DataCaseOneofCase { None = 0, - GPNFOLHKODI = 13, - AEIGAHEEOCN = 15, + EquipmentRecommend = 13, + RelicRecommend = 15, } - private BLNGPIGBDEHOneofCase bLNGPIGBDEHCase_ = BLNGPIGBDEHOneofCase.None; + private DataCaseOneofCase dataCaseCase_ = DataCaseOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BLNGPIGBDEHOneofCase BLNGPIGBDEHCase { - get { return bLNGPIGBDEHCase_; } + public DataCaseOneofCase DataCaseCase { + get { return dataCaseCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearBLNGPIGBDEH() { - bLNGPIGBDEHCase_ = BLNGPIGBDEHOneofCase.None; - bLNGPIGBDEH_ = null; + public void ClearDataCase() { + dataCaseCase_ = DataCaseOneofCase.None; + dataCase_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -207,13 +208,13 @@ namespace EggLink.DanhengServer.Proto { if (ReferenceEquals(other, this)) { return true; } - if (OGEGKOKGPPJ != other.OGEGKOKGPPJ) return false; - if (EIGPMIBCIKG != other.EIGPMIBCIKG) return false; - if (IANNEEIJAKH != other.IANNEEIJAKH) return false; + if (!object.Equals(EquipmentRecommend, other.EquipmentRecommend)) return false; + if (!object.Equals(RelicRecommend, other.RelicRecommend)) return false; + if (HasRecommand != other.HasRecommand) return false; + if (EquipAvatar != other.EquipAvatar) return false; + if (BigDataRecommendType != other.BigDataRecommendType) return false; if (Retcode != other.Retcode) return false; - if (!object.Equals(GPNFOLHKODI, other.GPNFOLHKODI)) return false; - if (!object.Equals(AEIGAHEEOCN, other.AEIGAHEEOCN)) return false; - if (BLNGPIGBDEHCase != other.BLNGPIGBDEHCase) return false; + if (DataCaseCase != other.DataCaseCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -221,13 +222,13 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (OGEGKOKGPPJ != false) hash ^= OGEGKOKGPPJ.GetHashCode(); - if (EIGPMIBCIKG != 0) hash ^= EIGPMIBCIKG.GetHashCode(); - if (IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) hash ^= IANNEEIJAKH.GetHashCode(); + if (dataCaseCase_ == DataCaseOneofCase.EquipmentRecommend) hash ^= EquipmentRecommend.GetHashCode(); + if (dataCaseCase_ == DataCaseOneofCase.RelicRecommend) hash ^= RelicRecommend.GetHashCode(); + if (HasRecommand != false) hash ^= HasRecommand.GetHashCode(); + if (EquipAvatar != 0) hash ^= EquipAvatar.GetHashCode(); + if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) hash ^= BigDataRecommendType.GetHashCode(); if (Retcode != 0) hash ^= Retcode.GetHashCode(); - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.GPNFOLHKODI) hash ^= GPNFOLHKODI.GetHashCode(); - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.AEIGAHEEOCN) hash ^= AEIGAHEEOCN.GetHashCode(); - hash ^= (int) bLNGPIGBDEHCase_; + hash ^= (int) dataCaseCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -250,25 +251,25 @@ namespace EggLink.DanhengServer.Proto { output.WriteRawTag(24); output.WriteUInt32(Retcode); } - if (OGEGKOKGPPJ != false) { + if (HasRecommand != false) { output.WriteRawTag(64); - output.WriteBool(OGEGKOKGPPJ); + output.WriteBool(HasRecommand); } - if (IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) { + if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) { output.WriteRawTag(72); - output.WriteEnum((int) IANNEEIJAKH); + output.WriteEnum((int) BigDataRecommendType); } - if (EIGPMIBCIKG != 0) { + if (EquipAvatar != 0) { output.WriteRawTag(80); - output.WriteUInt32(EIGPMIBCIKG); + output.WriteUInt32(EquipAvatar); } - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.GPNFOLHKODI) { + if (dataCaseCase_ == DataCaseOneofCase.EquipmentRecommend) { output.WriteRawTag(106); - output.WriteMessage(GPNFOLHKODI); + output.WriteMessage(EquipmentRecommend); } - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.AEIGAHEEOCN) { + if (dataCaseCase_ == DataCaseOneofCase.RelicRecommend) { output.WriteRawTag(122); - output.WriteMessage(AEIGAHEEOCN); + output.WriteMessage(RelicRecommend); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -284,25 +285,25 @@ namespace EggLink.DanhengServer.Proto { output.WriteRawTag(24); output.WriteUInt32(Retcode); } - if (OGEGKOKGPPJ != false) { + if (HasRecommand != false) { output.WriteRawTag(64); - output.WriteBool(OGEGKOKGPPJ); + output.WriteBool(HasRecommand); } - if (IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) { + if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) { output.WriteRawTag(72); - output.WriteEnum((int) IANNEEIJAKH); + output.WriteEnum((int) BigDataRecommendType); } - if (EIGPMIBCIKG != 0) { + if (EquipAvatar != 0) { output.WriteRawTag(80); - output.WriteUInt32(EIGPMIBCIKG); + output.WriteUInt32(EquipAvatar); } - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.GPNFOLHKODI) { + if (dataCaseCase_ == DataCaseOneofCase.EquipmentRecommend) { output.WriteRawTag(106); - output.WriteMessage(GPNFOLHKODI); + output.WriteMessage(EquipmentRecommend); } - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.AEIGAHEEOCN) { + if (dataCaseCase_ == DataCaseOneofCase.RelicRecommend) { output.WriteRawTag(122); - output.WriteMessage(AEIGAHEEOCN); + output.WriteMessage(RelicRecommend); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -314,24 +315,24 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (OGEGKOKGPPJ != false) { + if (dataCaseCase_ == DataCaseOneofCase.EquipmentRecommend) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EquipmentRecommend); + } + if (dataCaseCase_ == DataCaseOneofCase.RelicRecommend) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RelicRecommend); + } + if (HasRecommand != false) { size += 1 + 1; } - if (EIGPMIBCIKG != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EIGPMIBCIKG); + if (EquipAvatar != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EquipAvatar); } - if (IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) IANNEEIJAKH); + if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BigDataRecommendType); } if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.GPNFOLHKODI) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(GPNFOLHKODI); - } - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.AEIGAHEEOCN) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(AEIGAHEEOCN); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -344,30 +345,30 @@ namespace EggLink.DanhengServer.Proto { if (other == null) { return; } - if (other.OGEGKOKGPPJ != false) { - OGEGKOKGPPJ = other.OGEGKOKGPPJ; + if (other.HasRecommand != false) { + HasRecommand = other.HasRecommand; } - if (other.EIGPMIBCIKG != 0) { - EIGPMIBCIKG = other.EIGPMIBCIKG; + if (other.EquipAvatar != 0) { + EquipAvatar = other.EquipAvatar; } - if (other.IANNEEIJAKH != global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone) { - IANNEEIJAKH = other.IANNEEIJAKH; + if (other.BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) { + BigDataRecommendType = other.BigDataRecommendType; } if (other.Retcode != 0) { Retcode = other.Retcode; } - switch (other.BLNGPIGBDEHCase) { - case BLNGPIGBDEHOneofCase.GPNFOLHKODI: - if (GPNFOLHKODI == null) { - GPNFOLHKODI = new global::EggLink.DanhengServer.Proto.PPGMPBHKDCN(); + switch (other.DataCaseCase) { + case DataCaseOneofCase.EquipmentRecommend: + if (EquipmentRecommend == null) { + EquipmentRecommend = new global::EggLink.DanhengServer.Proto.EquipmentRecommend(); } - GPNFOLHKODI.MergeFrom(other.GPNFOLHKODI); + EquipmentRecommend.MergeFrom(other.EquipmentRecommend); break; - case BLNGPIGBDEHOneofCase.AEIGAHEEOCN: - if (AEIGAHEEOCN == null) { - AEIGAHEEOCN = new global::EggLink.DanhengServer.Proto.GDGOCBPAPPB(); + case DataCaseOneofCase.RelicRecommend: + if (RelicRecommend == null) { + RelicRecommend = new global::EggLink.DanhengServer.Proto.RelicRecommend(); } - AEIGAHEEOCN.MergeFrom(other.AEIGAHEEOCN); + RelicRecommend.MergeFrom(other.RelicRecommend); break; } @@ -391,33 +392,33 @@ namespace EggLink.DanhengServer.Proto { break; } case 64: { - OGEGKOKGPPJ = input.ReadBool(); + HasRecommand = input.ReadBool(); break; } case 72: { - IANNEEIJAKH = (global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ) input.ReadEnum(); + BigDataRecommendType = (global::EggLink.DanhengServer.Proto.BigDataRecommendType) input.ReadEnum(); break; } case 80: { - EIGPMIBCIKG = input.ReadUInt32(); + EquipAvatar = input.ReadUInt32(); break; } case 106: { - global::EggLink.DanhengServer.Proto.PPGMPBHKDCN subBuilder = new global::EggLink.DanhengServer.Proto.PPGMPBHKDCN(); - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.GPNFOLHKODI) { - subBuilder.MergeFrom(GPNFOLHKODI); + global::EggLink.DanhengServer.Proto.EquipmentRecommend subBuilder = new global::EggLink.DanhengServer.Proto.EquipmentRecommend(); + if (dataCaseCase_ == DataCaseOneofCase.EquipmentRecommend) { + subBuilder.MergeFrom(EquipmentRecommend); } input.ReadMessage(subBuilder); - GPNFOLHKODI = subBuilder; + EquipmentRecommend = subBuilder; break; } case 122: { - global::EggLink.DanhengServer.Proto.GDGOCBPAPPB subBuilder = new global::EggLink.DanhengServer.Proto.GDGOCBPAPPB(); - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.AEIGAHEEOCN) { - subBuilder.MergeFrom(AEIGAHEEOCN); + global::EggLink.DanhengServer.Proto.RelicRecommend subBuilder = new global::EggLink.DanhengServer.Proto.RelicRecommend(); + if (dataCaseCase_ == DataCaseOneofCase.RelicRecommend) { + subBuilder.MergeFrom(RelicRecommend); } input.ReadMessage(subBuilder); - AEIGAHEEOCN = subBuilder; + RelicRecommend = subBuilder; break; } } @@ -440,33 +441,33 @@ namespace EggLink.DanhengServer.Proto { break; } case 64: { - OGEGKOKGPPJ = input.ReadBool(); + HasRecommand = input.ReadBool(); break; } case 72: { - IANNEEIJAKH = (global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ) input.ReadEnum(); + BigDataRecommendType = (global::EggLink.DanhengServer.Proto.BigDataRecommendType) input.ReadEnum(); break; } case 80: { - EIGPMIBCIKG = input.ReadUInt32(); + EquipAvatar = input.ReadUInt32(); break; } case 106: { - global::EggLink.DanhengServer.Proto.PPGMPBHKDCN subBuilder = new global::EggLink.DanhengServer.Proto.PPGMPBHKDCN(); - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.GPNFOLHKODI) { - subBuilder.MergeFrom(GPNFOLHKODI); + global::EggLink.DanhengServer.Proto.EquipmentRecommend subBuilder = new global::EggLink.DanhengServer.Proto.EquipmentRecommend(); + if (dataCaseCase_ == DataCaseOneofCase.EquipmentRecommend) { + subBuilder.MergeFrom(EquipmentRecommend); } input.ReadMessage(subBuilder); - GPNFOLHKODI = subBuilder; + EquipmentRecommend = subBuilder; break; } case 122: { - global::EggLink.DanhengServer.Proto.GDGOCBPAPPB subBuilder = new global::EggLink.DanhengServer.Proto.GDGOCBPAPPB(); - if (bLNGPIGBDEHCase_ == BLNGPIGBDEHOneofCase.AEIGAHEEOCN) { - subBuilder.MergeFrom(AEIGAHEEOCN); + global::EggLink.DanhengServer.Proto.RelicRecommend subBuilder = new global::EggLink.DanhengServer.Proto.RelicRecommend(); + if (dataCaseCase_ == DataCaseOneofCase.RelicRecommend) { + subBuilder.MergeFrom(RelicRecommend); } input.ReadMessage(subBuilder); - AEIGAHEEOCN = subBuilder; + RelicRecommend = subBuilder; break; } } diff --git a/Proto/InsideRelic.cs b/Proto/InsideRelic.cs new file mode 100644 index 00000000..4f47e17b --- /dev/null +++ b/Proto/InsideRelic.cs @@ -0,0 +1,309 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: InsideRelic.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace EggLink.DanhengServer.Proto { + + /// Holder for reflection information generated from InsideRelic.proto + public static partial class InsideRelicReflection { + + #region Descriptor + /// File descriptor for InsideRelic.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static InsideRelicReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFJbnNpZGVSZWxpYy5wcm90byJMCgtJbnNpZGVSZWxpYxITCgtLSUNPQk5Q", + "Q0tBRRgIIAEoDRITCgtJSUtHQ0pGSkFERhgLIAEoDRITCgtGTEVFRkpMTkxD", + "SBgKIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90", + "bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.InsideRelic), global::EggLink.DanhengServer.Proto.InsideRelic.Parser, new[]{ "KICOBNPCKAE", "IIKGCJFJADF", "FLEEFJLNLCH" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InsideRelic : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InsideRelic()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::EggLink.DanhengServer.Proto.InsideRelicReflection.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 InsideRelic() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InsideRelic(InsideRelic other) : this() { + kICOBNPCKAE_ = other.kICOBNPCKAE_; + iIKGCJFJADF_ = other.iIKGCJFJADF_; + fLEEFJLNLCH_ = other.fLEEFJLNLCH_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InsideRelic Clone() { + return new InsideRelic(this); + } + + /// Field number for the "KICOBNPCKAE" field. + public const int KICOBNPCKAEFieldNumber = 8; + private uint kICOBNPCKAE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint KICOBNPCKAE { + get { return kICOBNPCKAE_; } + set { + kICOBNPCKAE_ = value; + } + } + + /// Field number for the "IIKGCJFJADF" field. + public const int IIKGCJFJADFFieldNumber = 11; + private uint iIKGCJFJADF_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint IIKGCJFJADF { + get { return iIKGCJFJADF_; } + set { + iIKGCJFJADF_ = value; + } + } + + /// Field number for the "FLEEFJLNLCH" field. + public const int FLEEFJLNLCHFieldNumber = 10; + private uint fLEEFJLNLCH_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FLEEFJLNLCH { + get { return fLEEFJLNLCH_; } + set { + fLEEFJLNLCH_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InsideRelic); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InsideRelic other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KICOBNPCKAE != other.KICOBNPCKAE) return false; + if (IIKGCJFJADF != other.IIKGCJFJADF) return false; + if (FLEEFJLNLCH != other.FLEEFJLNLCH) 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 (KICOBNPCKAE != 0) hash ^= KICOBNPCKAE.GetHashCode(); + if (IIKGCJFJADF != 0) hash ^= IIKGCJFJADF.GetHashCode(); + if (FLEEFJLNLCH != 0) hash ^= FLEEFJLNLCH.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 (KICOBNPCKAE != 0) { + output.WriteRawTag(64); + output.WriteUInt32(KICOBNPCKAE); + } + if (FLEEFJLNLCH != 0) { + output.WriteRawTag(80); + output.WriteUInt32(FLEEFJLNLCH); + } + if (IIKGCJFJADF != 0) { + output.WriteRawTag(88); + output.WriteUInt32(IIKGCJFJADF); + } + 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 (KICOBNPCKAE != 0) { + output.WriteRawTag(64); + output.WriteUInt32(KICOBNPCKAE); + } + if (FLEEFJLNLCH != 0) { + output.WriteRawTag(80); + output.WriteUInt32(FLEEFJLNLCH); + } + if (IIKGCJFJADF != 0) { + output.WriteRawTag(88); + output.WriteUInt32(IIKGCJFJADF); + } + 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 (KICOBNPCKAE != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(KICOBNPCKAE); + } + if (IIKGCJFJADF != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IIKGCJFJADF); + } + if (FLEEFJLNLCH != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FLEEFJLNLCH); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InsideRelic other) { + if (other == null) { + return; + } + if (other.KICOBNPCKAE != 0) { + KICOBNPCKAE = other.KICOBNPCKAE; + } + if (other.IIKGCJFJADF != 0) { + IIKGCJFJADF = other.IIKGCJFJADF; + } + if (other.FLEEFJLNLCH != 0) { + FLEEFJLNLCH = other.FLEEFJLNLCH; + } + _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 64: { + KICOBNPCKAE = input.ReadUInt32(); + break; + } + case 80: { + FLEEFJLNLCH = input.ReadUInt32(); + break; + } + case 88: { + IIKGCJFJADF = 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 64: { + KICOBNPCKAE = input.ReadUInt32(); + break; + } + case 80: { + FLEEFJLNLCH = input.ReadUInt32(); + break; + } + case 88: { + IIKGCJFJADF = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/OutsideRelic.cs b/Proto/OutsideRelic.cs new file mode 100644 index 00000000..f1e27bd4 --- /dev/null +++ b/Proto/OutsideRelic.cs @@ -0,0 +1,271 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: OutsideRelic.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace EggLink.DanhengServer.Proto { + + /// Holder for reflection information generated from OutsideRelic.proto + public static partial class OutsideRelicReflection { + + #region Descriptor + /// File descriptor for OutsideRelic.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static OutsideRelicReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChJPdXRzaWRlUmVsaWMucHJvdG8iOAoMT3V0c2lkZVJlbGljEhMKC0pJQ0RG", + "TElNSEhEGAQgASgNEhMKC0tJQ09CTlBDS0FFGAwgASgNQh6qAhtFZ2dMaW5r", + "LkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.OutsideRelic), global::EggLink.DanhengServer.Proto.OutsideRelic.Parser, new[]{ "JICDFLIMHHD", "KICOBNPCKAE" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OutsideRelic : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OutsideRelic()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::EggLink.DanhengServer.Proto.OutsideRelicReflection.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 OutsideRelic() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OutsideRelic(OutsideRelic other) : this() { + jICDFLIMHHD_ = other.jICDFLIMHHD_; + kICOBNPCKAE_ = other.kICOBNPCKAE_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OutsideRelic Clone() { + return new OutsideRelic(this); + } + + /// Field number for the "JICDFLIMHHD" field. + public const int JICDFLIMHHDFieldNumber = 4; + private uint jICDFLIMHHD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint JICDFLIMHHD { + get { return jICDFLIMHHD_; } + set { + jICDFLIMHHD_ = value; + } + } + + /// Field number for the "KICOBNPCKAE" field. + public const int KICOBNPCKAEFieldNumber = 12; + private uint kICOBNPCKAE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint KICOBNPCKAE { + get { return kICOBNPCKAE_; } + set { + kICOBNPCKAE_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as OutsideRelic); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(OutsideRelic other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (JICDFLIMHHD != other.JICDFLIMHHD) return false; + if (KICOBNPCKAE != other.KICOBNPCKAE) 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 (JICDFLIMHHD != 0) hash ^= JICDFLIMHHD.GetHashCode(); + if (KICOBNPCKAE != 0) hash ^= KICOBNPCKAE.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 (JICDFLIMHHD != 0) { + output.WriteRawTag(32); + output.WriteUInt32(JICDFLIMHHD); + } + if (KICOBNPCKAE != 0) { + output.WriteRawTag(96); + output.WriteUInt32(KICOBNPCKAE); + } + 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 (JICDFLIMHHD != 0) { + output.WriteRawTag(32); + output.WriteUInt32(JICDFLIMHHD); + } + if (KICOBNPCKAE != 0) { + output.WriteRawTag(96); + output.WriteUInt32(KICOBNPCKAE); + } + 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 (JICDFLIMHHD != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JICDFLIMHHD); + } + if (KICOBNPCKAE != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(KICOBNPCKAE); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OutsideRelic other) { + if (other == null) { + return; + } + if (other.JICDFLIMHHD != 0) { + JICDFLIMHHD = other.JICDFLIMHHD; + } + if (other.KICOBNPCKAE != 0) { + KICOBNPCKAE = other.KICOBNPCKAE; + } + _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 32: { + JICDFLIMHHD = input.ReadUInt32(); + break; + } + case 96: { + KICOBNPCKAE = 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 32: { + JICDFLIMHHD = input.ReadUInt32(); + break; + } + case 96: { + KICOBNPCKAE = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/RelicRecommend.cs b/Proto/RelicRecommend.cs new file mode 100644 index 00000000..debbaca7 --- /dev/null +++ b/Proto/RelicRecommend.cs @@ -0,0 +1,224 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: RelicRecommend.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace EggLink.DanhengServer.Proto { + + /// Holder for reflection information generated from RelicRecommend.proto + public static partial class RelicRecommendReflection { + + #region Descriptor + /// File descriptor for RelicRecommend.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RelicRecommendReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChRSZWxpY1JlY29tbWVuZC5wcm90bxoYUmVsaWNSZWNvbW1lbmRJbmZvLnBy", + "b3RvIkMKDlJlbGljUmVjb21tZW5kEjEKFHJlY29tbWVuZF9yZWxpY19saXN0", + "GAggAygLMhMuUmVsaWNSZWNvbW1lbmRJbmZvQh6qAhtFZ2dMaW5rLkRhbmhl", + "bmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicRecommendInfoReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicRecommend), global::EggLink.DanhengServer.Proto.RelicRecommend.Parser, new[]{ "RecommendRelicList" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RelicRecommend : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelicRecommend()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::EggLink.DanhengServer.Proto.RelicRecommendReflection.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 RelicRecommend() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelicRecommend(RelicRecommend other) : this() { + recommendRelicList_ = other.recommendRelicList_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelicRecommend Clone() { + return new RelicRecommend(this); + } + + /// Field number for the "recommend_relic_list" field. + public const int RecommendRelicListFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_recommendRelicList_codec + = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.RelicRecommendInfo.Parser); + private readonly pbc::RepeatedField recommendRelicList_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RecommendRelicList { + get { return recommendRelicList_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RelicRecommend); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RelicRecommend other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!recommendRelicList_.Equals(other.recommendRelicList_)) 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 ^= recommendRelicList_.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 + recommendRelicList_.WriteTo(output, _repeated_recommendRelicList_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) { + recommendRelicList_.WriteTo(ref output, _repeated_recommendRelicList_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 += recommendRelicList_.CalculateSize(_repeated_recommendRelicList_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RelicRecommend other) { + if (other == null) { + return; + } + recommendRelicList_.Add(other.recommendRelicList_); + _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 66: { + recommendRelicList_.AddEntriesFrom(input, _repeated_recommendRelicList_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 66: { + recommendRelicList_.AddEntriesFrom(ref input, _repeated_recommendRelicList_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/RelicRecommendInfo.cs b/Proto/RelicRecommendInfo.cs new file mode 100644 index 00000000..1b04279a --- /dev/null +++ b/Proto/RelicRecommendInfo.cs @@ -0,0 +1,309 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: RelicRecommendInfo.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace EggLink.DanhengServer.Proto { + + /// Holder for reflection information generated from RelicRecommendInfo.proto + public static partial class RelicRecommendInfoReflection { + + #region Descriptor + /// File descriptor for RelicRecommendInfo.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RelicRecommendInfoReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhSZWxpY1JlY29tbWVuZEluZm8ucHJvdG8iUwoSUmVsaWNSZWNvbW1lbmRJ", + "bmZvEhMKC0ZJS0tHQklCQ0pLGAYgASgNEhMKC1BETUdKS09ERk9QGAwgASgN", + "EhMKC0VIQ0VFUE1CRERJGAogASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2", + "ZXIuUHJvdG9iBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicRecommendInfo), global::EggLink.DanhengServer.Proto.RelicRecommendInfo.Parser, new[]{ "FIKKGBIBCJK", "PDMGJKODFOP", "EHCEEPMBDDI" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RelicRecommendInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelicRecommendInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::EggLink.DanhengServer.Proto.RelicRecommendInfoReflection.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 RelicRecommendInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelicRecommendInfo(RelicRecommendInfo other) : this() { + fIKKGBIBCJK_ = other.fIKKGBIBCJK_; + pDMGJKODFOP_ = other.pDMGJKODFOP_; + eHCEEPMBDDI_ = other.eHCEEPMBDDI_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelicRecommendInfo Clone() { + return new RelicRecommendInfo(this); + } + + /// Field number for the "FIKKGBIBCJK" field. + public const int FIKKGBIBCJKFieldNumber = 6; + private uint fIKKGBIBCJK_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FIKKGBIBCJK { + get { return fIKKGBIBCJK_; } + set { + fIKKGBIBCJK_ = value; + } + } + + /// Field number for the "PDMGJKODFOP" field. + public const int PDMGJKODFOPFieldNumber = 12; + private uint pDMGJKODFOP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PDMGJKODFOP { + get { return pDMGJKODFOP_; } + set { + pDMGJKODFOP_ = value; + } + } + + /// Field number for the "EHCEEPMBDDI" field. + public const int EHCEEPMBDDIFieldNumber = 10; + private uint eHCEEPMBDDI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EHCEEPMBDDI { + get { return eHCEEPMBDDI_; } + set { + eHCEEPMBDDI_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RelicRecommendInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RelicRecommendInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FIKKGBIBCJK != other.FIKKGBIBCJK) return false; + if (PDMGJKODFOP != other.PDMGJKODFOP) return false; + if (EHCEEPMBDDI != other.EHCEEPMBDDI) 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 (FIKKGBIBCJK != 0) hash ^= FIKKGBIBCJK.GetHashCode(); + if (PDMGJKODFOP != 0) hash ^= PDMGJKODFOP.GetHashCode(); + if (EHCEEPMBDDI != 0) hash ^= EHCEEPMBDDI.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 (FIKKGBIBCJK != 0) { + output.WriteRawTag(48); + output.WriteUInt32(FIKKGBIBCJK); + } + if (EHCEEPMBDDI != 0) { + output.WriteRawTag(80); + output.WriteUInt32(EHCEEPMBDDI); + } + if (PDMGJKODFOP != 0) { + output.WriteRawTag(96); + output.WriteUInt32(PDMGJKODFOP); + } + 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 (FIKKGBIBCJK != 0) { + output.WriteRawTag(48); + output.WriteUInt32(FIKKGBIBCJK); + } + if (EHCEEPMBDDI != 0) { + output.WriteRawTag(80); + output.WriteUInt32(EHCEEPMBDDI); + } + if (PDMGJKODFOP != 0) { + output.WriteRawTag(96); + output.WriteUInt32(PDMGJKODFOP); + } + 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 (FIKKGBIBCJK != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FIKKGBIBCJK); + } + if (PDMGJKODFOP != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PDMGJKODFOP); + } + if (EHCEEPMBDDI != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EHCEEPMBDDI); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RelicRecommendInfo other) { + if (other == null) { + return; + } + if (other.FIKKGBIBCJK != 0) { + FIKKGBIBCJK = other.FIKKGBIBCJK; + } + if (other.PDMGJKODFOP != 0) { + PDMGJKODFOP = other.PDMGJKODFOP; + } + if (other.EHCEEPMBDDI != 0) { + EHCEEPMBDDI = other.EHCEEPMBDDI; + } + _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 48: { + FIKKGBIBCJK = input.ReadUInt32(); + break; + } + case 80: { + EHCEEPMBDDI = input.ReadUInt32(); + break; + } + case 96: { + PDMGJKODFOP = 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 48: { + FIKKGBIBCJK = input.ReadUInt32(); + break; + } + case 80: { + EHCEEPMBDDI = input.ReadUInt32(); + break; + } + case 96: { + PDMGJKODFOP = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/RelicRecommendScRsp.cs b/Proto/RelicRecommendScRsp.cs index 867846f1..3769f60e 100644 --- a/Proto/RelicRecommendScRsp.cs +++ b/Proto/RelicRecommendScRsp.cs @@ -24,19 +24,19 @@ namespace EggLink.DanhengServer.Proto { static RelicRecommendScRspReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChlSZWxpY1JlY29tbWVuZFNjUnNwLnByb3RvGhFGTUpERUhGT1BGSy5wcm90", - "bxoRSUZIRUpBTU5JUE0ucHJvdG8ioAIKE1JlbGljUmVjb21tZW5kU2NSc3AS", - "EQoJYXZhdGFyX2lkGAEgASgNEiEKC01QTUZBSExLRU9CGA0gAygLMgwuRk1K", - "REVIRk9QRksSIQoLUERCSE5IUENOTkoYBiADKAsyDC5JRkhFSkFNTklQTRIP", - "CgdyZXRjb2RlGAIgASgNEiEKC0xHRUpKQUpQRURLGAsgAygLMgwuRk1KREVI", - "Rk9QRksSIQoLS0tDTUZHTUhJTU8YByADKAsyDC5GTUpERUhGT1BGSxIhCgtG", - "QkJBSkJJTkdMQhgEIAMoCzIMLkZNSkRFSEZPUEZLEhMKC09HRUdLT0tHUFBK", - "GAUgASgIEiEKC05PQk9OQ0NQRU5HGAggAygLMgwuSUZIRUpBTU5JUE1CHqoC", - "G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); + "ChlSZWxpY1JlY29tbWVuZFNjUnNwLnByb3RvGhFJbnNpZGVSZWxpYy5wcm90", + "bxoST3V0c2lkZVJlbGljLnByb3RvIqYCChNSZWxpY1JlY29tbWVuZFNjUnNw", + "EhEKCWF2YXRhcl9pZBgBIAEoDRIiCgtNUE1GQUhMS0VPQhgNIAMoCzINLk91", + "dHNpZGVSZWxpYxIhCgtQREJITkhQQ05OShgGIAMoCzIMLkluc2lkZVJlbGlj", + "Eg8KB3JldGNvZGUYAiABKA0SIgoLTEdFSkpBSlBFREsYCyADKAsyDS5PdXRz", + "aWRlUmVsaWMSIgoLS0tDTUZHTUhJTU8YByADKAsyDS5PdXRzaWRlUmVsaWMS", + "IgoLRkJCQUpCSU5HTEIYBCADKAsyDS5PdXRzaWRlUmVsaWMSFQoNaGFzX3Jl", + "Y29tbWFuZBgFIAEoCBIhCgtOT0JPTkNDUEVORxgIIAMoCzIMLkluc2lkZVJl", + "bGljQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.FMJDEHFOPFKReflection.Descriptor, global::EggLink.DanhengServer.Proto.IFHEJAMNIPMReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.InsideRelicReflection.Descriptor, global::EggLink.DanhengServer.Proto.OutsideRelicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicRecommendScRsp), global::EggLink.DanhengServer.Proto.RelicRecommendScRsp.Parser, new[]{ "AvatarId", "MPMFAHLKEOB", "PDBHNHPCNNJ", "Retcode", "LGEJJAJPEDK", "KKCMFGMHIMO", "FBBAJBINGLB", "OGEGKOKGPPJ", "NOBONCCPENG" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicRecommendScRsp), global::EggLink.DanhengServer.Proto.RelicRecommendScRsp.Parser, new[]{ "AvatarId", "MPMFAHLKEOB", "PDBHNHPCNNJ", "Retcode", "LGEJJAJPEDK", "KKCMFGMHIMO", "FBBAJBINGLB", "HasRecommand", "NOBONCCPENG" }, null, null, null, null) })); } #endregion @@ -85,7 +85,7 @@ namespace EggLink.DanhengServer.Proto { lGEJJAJPEDK_ = other.lGEJJAJPEDK_.Clone(); kKCMFGMHIMO_ = other.kKCMFGMHIMO_.Clone(); fBBAJBINGLB_ = other.fBBAJBINGLB_.Clone(); - oGEGKOKGPPJ_ = other.oGEGKOKGPPJ_; + hasRecommand_ = other.hasRecommand_; nOBONCCPENG_ = other.nOBONCCPENG_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -110,23 +110,23 @@ namespace EggLink.DanhengServer.Proto { /// Field number for the "MPMFAHLKEOB" field. public const int MPMFAHLKEOBFieldNumber = 13; - private static readonly pb::FieldCodec _repeated_mPMFAHLKEOB_codec - = pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.FMJDEHFOPFK.Parser); - private readonly pbc::RepeatedField mPMFAHLKEOB_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_mPMFAHLKEOB_codec + = pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.OutsideRelic.Parser); + private readonly pbc::RepeatedField mPMFAHLKEOB_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField MPMFAHLKEOB { + public pbc::RepeatedField MPMFAHLKEOB { get { return mPMFAHLKEOB_; } } /// Field number for the "PDBHNHPCNNJ" field. public const int PDBHNHPCNNJFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_pDBHNHPCNNJ_codec - = pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.IFHEJAMNIPM.Parser); - private readonly pbc::RepeatedField pDBHNHPCNNJ_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_pDBHNHPCNNJ_codec + = pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.InsideRelic.Parser); + private readonly pbc::RepeatedField pDBHNHPCNNJ_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField PDBHNHPCNNJ { + public pbc::RepeatedField PDBHNHPCNNJ { get { return pDBHNHPCNNJ_; } } @@ -144,57 +144,57 @@ namespace EggLink.DanhengServer.Proto { /// Field number for the "LGEJJAJPEDK" field. public const int LGEJJAJPEDKFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_lGEJJAJPEDK_codec - = pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.FMJDEHFOPFK.Parser); - private readonly pbc::RepeatedField lGEJJAJPEDK_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_lGEJJAJPEDK_codec + = pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.OutsideRelic.Parser); + private readonly pbc::RepeatedField lGEJJAJPEDK_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField LGEJJAJPEDK { + public pbc::RepeatedField LGEJJAJPEDK { get { return lGEJJAJPEDK_; } } /// Field number for the "KKCMFGMHIMO" field. public const int KKCMFGMHIMOFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_kKCMFGMHIMO_codec - = pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.FMJDEHFOPFK.Parser); - private readonly pbc::RepeatedField kKCMFGMHIMO_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_kKCMFGMHIMO_codec + = pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.OutsideRelic.Parser); + private readonly pbc::RepeatedField kKCMFGMHIMO_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField KKCMFGMHIMO { + public pbc::RepeatedField KKCMFGMHIMO { get { return kKCMFGMHIMO_; } } /// Field number for the "FBBAJBINGLB" field. public const int FBBAJBINGLBFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_fBBAJBINGLB_codec - = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.FMJDEHFOPFK.Parser); - private readonly pbc::RepeatedField fBBAJBINGLB_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_fBBAJBINGLB_codec + = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.OutsideRelic.Parser); + private readonly pbc::RepeatedField fBBAJBINGLB_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField FBBAJBINGLB { + public pbc::RepeatedField FBBAJBINGLB { get { return fBBAJBINGLB_; } } - /// Field number for the "OGEGKOKGPPJ" field. - public const int OGEGKOKGPPJFieldNumber = 5; - private bool oGEGKOKGPPJ_; + /// Field number for the "has_recommand" field. + public const int HasRecommandFieldNumber = 5; + private bool hasRecommand_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool OGEGKOKGPPJ { - get { return oGEGKOKGPPJ_; } + public bool HasRecommand { + get { return hasRecommand_; } set { - oGEGKOKGPPJ_ = value; + hasRecommand_ = value; } } /// Field number for the "NOBONCCPENG" field. public const int NOBONCCPENGFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_nOBONCCPENG_codec - = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.IFHEJAMNIPM.Parser); - private readonly pbc::RepeatedField nOBONCCPENG_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_nOBONCCPENG_codec + = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.InsideRelic.Parser); + private readonly pbc::RepeatedField nOBONCCPENG_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField NOBONCCPENG { + public pbc::RepeatedField NOBONCCPENG { get { return nOBONCCPENG_; } } @@ -220,7 +220,7 @@ namespace EggLink.DanhengServer.Proto { if(!lGEJJAJPEDK_.Equals(other.lGEJJAJPEDK_)) return false; if(!kKCMFGMHIMO_.Equals(other.kKCMFGMHIMO_)) return false; if(!fBBAJBINGLB_.Equals(other.fBBAJBINGLB_)) return false; - if (OGEGKOKGPPJ != other.OGEGKOKGPPJ) return false; + if (HasRecommand != other.HasRecommand) return false; if(!nOBONCCPENG_.Equals(other.nOBONCCPENG_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -236,7 +236,7 @@ namespace EggLink.DanhengServer.Proto { hash ^= lGEJJAJPEDK_.GetHashCode(); hash ^= kKCMFGMHIMO_.GetHashCode(); hash ^= fBBAJBINGLB_.GetHashCode(); - if (OGEGKOKGPPJ != false) hash ^= OGEGKOKGPPJ.GetHashCode(); + if (HasRecommand != false) hash ^= HasRecommand.GetHashCode(); hash ^= nOBONCCPENG_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -265,9 +265,9 @@ namespace EggLink.DanhengServer.Proto { output.WriteUInt32(Retcode); } fBBAJBINGLB_.WriteTo(output, _repeated_fBBAJBINGLB_codec); - if (OGEGKOKGPPJ != false) { + if (HasRecommand != false) { output.WriteRawTag(40); - output.WriteBool(OGEGKOKGPPJ); + output.WriteBool(HasRecommand); } pDBHNHPCNNJ_.WriteTo(output, _repeated_pDBHNHPCNNJ_codec); kKCMFGMHIMO_.WriteTo(output, _repeated_kKCMFGMHIMO_codec); @@ -293,9 +293,9 @@ namespace EggLink.DanhengServer.Proto { output.WriteUInt32(Retcode); } fBBAJBINGLB_.WriteTo(ref output, _repeated_fBBAJBINGLB_codec); - if (OGEGKOKGPPJ != false) { + if (HasRecommand != false) { output.WriteRawTag(40); - output.WriteBool(OGEGKOKGPPJ); + output.WriteBool(HasRecommand); } pDBHNHPCNNJ_.WriteTo(ref output, _repeated_pDBHNHPCNNJ_codec); kKCMFGMHIMO_.WriteTo(ref output, _repeated_kKCMFGMHIMO_codec); @@ -323,7 +323,7 @@ namespace EggLink.DanhengServer.Proto { size += lGEJJAJPEDK_.CalculateSize(_repeated_lGEJJAJPEDK_codec); size += kKCMFGMHIMO_.CalculateSize(_repeated_kKCMFGMHIMO_codec); size += fBBAJBINGLB_.CalculateSize(_repeated_fBBAJBINGLB_codec); - if (OGEGKOKGPPJ != false) { + if (HasRecommand != false) { size += 1 + 1; } size += nOBONCCPENG_.CalculateSize(_repeated_nOBONCCPENG_codec); @@ -350,8 +350,8 @@ namespace EggLink.DanhengServer.Proto { lGEJJAJPEDK_.Add(other.lGEJJAJPEDK_); kKCMFGMHIMO_.Add(other.kKCMFGMHIMO_); fBBAJBINGLB_.Add(other.fBBAJBINGLB_); - if (other.OGEGKOKGPPJ != false) { - OGEGKOKGPPJ = other.OGEGKOKGPPJ; + if (other.HasRecommand != false) { + HasRecommand = other.HasRecommand; } nOBONCCPENG_.Add(other.nOBONCCPENG_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); @@ -382,7 +382,7 @@ namespace EggLink.DanhengServer.Proto { break; } case 40: { - OGEGKOKGPPJ = input.ReadBool(); + HasRecommand = input.ReadBool(); break; } case 50: { @@ -433,7 +433,7 @@ namespace EggLink.DanhengServer.Proto { break; } case 40: { - OGEGKOKGPPJ = input.ReadBool(); + HasRecommand = input.ReadBool(); break; } case 50: { diff --git a/Proto/RelicSmartWearAddPlanCsReq.cs b/Proto/RelicSmartWearAddPlanCsReq.cs index 24e47224..482c99cd 100644 --- a/Proto/RelicSmartWearAddPlanCsReq.cs +++ b/Proto/RelicSmartWearAddPlanCsReq.cs @@ -24,14 +24,14 @@ namespace EggLink.DanhengServer.Proto { static RelicSmartWearAddPlanCsReqReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CiBSZWxpY1NtYXJ0V2VhckFkZFBsYW5Dc1JlcS5wcm90bxoRRUpKSEtITFBP", - "REwucHJvdG8iPwoaUmVsaWNTbWFydFdlYXJBZGRQbGFuQ3NSZXESIQoLRUlM", - "SURNQ09DSE8YBCABKAsyDC5FSkpIS0hMUE9ETEIeqgIbRWdnTGluay5EYW5o", - "ZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); + "CiBSZWxpY1NtYXJ0V2VhckFkZFBsYW5Dc1JlcS5wcm90bxoYUmVsaWNTbWFy", + "dFdlYXJQbGFuLnByb3RvIkUKGlJlbGljU21hcnRXZWFyQWRkUGxhbkNzUmVx", + "EicKCnJlbGljX3BsYW4YBCABKAsyEy5SZWxpY1NtYXJ0V2VhclBsYW5CHqoC", + "G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EJJHKHLPODLReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicSmartWearPlanReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearAddPlanCsReq), global::EggLink.DanhengServer.Proto.RelicSmartWearAddPlanCsReq.Parser, new[]{ "EILIDMCOCHO" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearAddPlanCsReq), global::EggLink.DanhengServer.Proto.RelicSmartWearAddPlanCsReq.Parser, new[]{ "RelicPlan" }, null, null, null, null) })); } #endregion @@ -73,7 +73,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RelicSmartWearAddPlanCsReq(RelicSmartWearAddPlanCsReq other) : this() { - eILIDMCOCHO_ = other.eILIDMCOCHO_ != null ? other.eILIDMCOCHO_.Clone() : null; + relicPlan_ = other.relicPlan_ != null ? other.relicPlan_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -83,15 +83,15 @@ namespace EggLink.DanhengServer.Proto { return new RelicSmartWearAddPlanCsReq(this); } - /// Field number for the "EILIDMCOCHO" field. - public const int EILIDMCOCHOFieldNumber = 4; - private global::EggLink.DanhengServer.Proto.EJJHKHLPODL eILIDMCOCHO_; + /// Field number for the "relic_plan" field. + public const int RelicPlanFieldNumber = 4; + private global::EggLink.DanhengServer.Proto.RelicSmartWearPlan relicPlan_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::EggLink.DanhengServer.Proto.EJJHKHLPODL EILIDMCOCHO { - get { return eILIDMCOCHO_; } + public global::EggLink.DanhengServer.Proto.RelicSmartWearPlan RelicPlan { + get { return relicPlan_; } set { - eILIDMCOCHO_ = value; + relicPlan_ = value; } } @@ -110,7 +110,7 @@ namespace EggLink.DanhengServer.Proto { if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(EILIDMCOCHO, other.EILIDMCOCHO)) return false; + if (!object.Equals(RelicPlan, other.RelicPlan)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -118,7 +118,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (eILIDMCOCHO_ != null) hash ^= EILIDMCOCHO.GetHashCode(); + if (relicPlan_ != null) hash ^= RelicPlan.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -137,9 +137,9 @@ namespace EggLink.DanhengServer.Proto { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (eILIDMCOCHO_ != null) { + if (relicPlan_ != null) { output.WriteRawTag(34); - output.WriteMessage(EILIDMCOCHO); + output.WriteMessage(RelicPlan); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -151,9 +151,9 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (eILIDMCOCHO_ != null) { + if (relicPlan_ != null) { output.WriteRawTag(34); - output.WriteMessage(EILIDMCOCHO); + output.WriteMessage(RelicPlan); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -165,8 +165,8 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (eILIDMCOCHO_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(EILIDMCOCHO); + if (relicPlan_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RelicPlan); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -180,11 +180,11 @@ namespace EggLink.DanhengServer.Proto { if (other == null) { return; } - if (other.eILIDMCOCHO_ != null) { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (other.relicPlan_ != null) { + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - EILIDMCOCHO.MergeFrom(other.EILIDMCOCHO); + RelicPlan.MergeFrom(other.RelicPlan); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -202,10 +202,10 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 34: { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - input.ReadMessage(EILIDMCOCHO); + input.ReadMessage(RelicPlan); break; } } @@ -224,10 +224,10 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 34: { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - input.ReadMessage(EILIDMCOCHO); + input.ReadMessage(RelicPlan); break; } } diff --git a/Proto/RelicSmartWearAddPlanScRsp.cs b/Proto/RelicSmartWearAddPlanScRsp.cs index f5991cf0..51046273 100644 --- a/Proto/RelicSmartWearAddPlanScRsp.cs +++ b/Proto/RelicSmartWearAddPlanScRsp.cs @@ -24,14 +24,15 @@ namespace EggLink.DanhengServer.Proto { static RelicSmartWearAddPlanScRspReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CiBSZWxpY1NtYXJ0V2VhckFkZFBsYW5TY1JzcC5wcm90bxoRRUpKSEtITFBP", - "REwucHJvdG8iUAoaUmVsaWNTbWFydFdlYXJBZGRQbGFuU2NSc3ASDwoHcmV0", - "Y29kZRgJIAEoDRIhCgtFSUxJRE1DT0NITxgKIAEoCzIMLkVKSkhLSExQT0RM", - "Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); + "CiBSZWxpY1NtYXJ0V2VhckFkZFBsYW5TY1JzcC5wcm90bxoYUmVsaWNTbWFy", + "dFdlYXJQbGFuLnByb3RvIlYKGlJlbGljU21hcnRXZWFyQWRkUGxhblNjUnNw", + "Eg8KB3JldGNvZGUYCSABKA0SJwoKcmVsaWNfcGxhbhgKIAEoCzITLlJlbGlj", + "U21hcnRXZWFyUGxhbkIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv", + "YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EJJHKHLPODLReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicSmartWearPlanReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearAddPlanScRsp), global::EggLink.DanhengServer.Proto.RelicSmartWearAddPlanScRsp.Parser, new[]{ "Retcode", "EILIDMCOCHO" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearAddPlanScRsp), global::EggLink.DanhengServer.Proto.RelicSmartWearAddPlanScRsp.Parser, new[]{ "Retcode", "RelicPlan" }, null, null, null, null) })); } #endregion @@ -74,7 +75,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RelicSmartWearAddPlanScRsp(RelicSmartWearAddPlanScRsp other) : this() { retcode_ = other.retcode_; - eILIDMCOCHO_ = other.eILIDMCOCHO_ != null ? other.eILIDMCOCHO_.Clone() : null; + relicPlan_ = other.relicPlan_ != null ? other.relicPlan_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -96,15 +97,15 @@ namespace EggLink.DanhengServer.Proto { } } - /// Field number for the "EILIDMCOCHO" field. - public const int EILIDMCOCHOFieldNumber = 10; - private global::EggLink.DanhengServer.Proto.EJJHKHLPODL eILIDMCOCHO_; + /// Field number for the "relic_plan" field. + public const int RelicPlanFieldNumber = 10; + private global::EggLink.DanhengServer.Proto.RelicSmartWearPlan relicPlan_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::EggLink.DanhengServer.Proto.EJJHKHLPODL EILIDMCOCHO { - get { return eILIDMCOCHO_; } + public global::EggLink.DanhengServer.Proto.RelicSmartWearPlan RelicPlan { + get { return relicPlan_; } set { - eILIDMCOCHO_ = value; + relicPlan_ = value; } } @@ -124,7 +125,7 @@ namespace EggLink.DanhengServer.Proto { return true; } if (Retcode != other.Retcode) return false; - if (!object.Equals(EILIDMCOCHO, other.EILIDMCOCHO)) return false; + if (!object.Equals(RelicPlan, other.RelicPlan)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -133,7 +134,7 @@ namespace EggLink.DanhengServer.Proto { public override int GetHashCode() { int hash = 1; if (Retcode != 0) hash ^= Retcode.GetHashCode(); - if (eILIDMCOCHO_ != null) hash ^= EILIDMCOCHO.GetHashCode(); + if (relicPlan_ != null) hash ^= RelicPlan.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -156,9 +157,9 @@ namespace EggLink.DanhengServer.Proto { output.WriteRawTag(72); output.WriteUInt32(Retcode); } - if (eILIDMCOCHO_ != null) { + if (relicPlan_ != null) { output.WriteRawTag(82); - output.WriteMessage(EILIDMCOCHO); + output.WriteMessage(RelicPlan); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -174,9 +175,9 @@ namespace EggLink.DanhengServer.Proto { output.WriteRawTag(72); output.WriteUInt32(Retcode); } - if (eILIDMCOCHO_ != null) { + if (relicPlan_ != null) { output.WriteRawTag(82); - output.WriteMessage(EILIDMCOCHO); + output.WriteMessage(RelicPlan); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -191,8 +192,8 @@ namespace EggLink.DanhengServer.Proto { if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } - if (eILIDMCOCHO_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(EILIDMCOCHO); + if (relicPlan_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RelicPlan); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -209,11 +210,11 @@ namespace EggLink.DanhengServer.Proto { if (other.Retcode != 0) { Retcode = other.Retcode; } - if (other.eILIDMCOCHO_ != null) { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (other.relicPlan_ != null) { + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - EILIDMCOCHO.MergeFrom(other.EILIDMCOCHO); + RelicPlan.MergeFrom(other.RelicPlan); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -235,10 +236,10 @@ namespace EggLink.DanhengServer.Proto { break; } case 82: { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - input.ReadMessage(EILIDMCOCHO); + input.ReadMessage(RelicPlan); break; } } @@ -261,10 +262,10 @@ namespace EggLink.DanhengServer.Proto { break; } case 82: { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - input.ReadMessage(EILIDMCOCHO); + input.ReadMessage(RelicPlan); break; } } diff --git a/Proto/RelicSmartWearGetPlanScRsp.cs b/Proto/RelicSmartWearGetPlanScRsp.cs index b73f2cbb..06da4ae5 100644 --- a/Proto/RelicSmartWearGetPlanScRsp.cs +++ b/Proto/RelicSmartWearGetPlanScRsp.cs @@ -24,15 +24,15 @@ namespace EggLink.DanhengServer.Proto { static RelicSmartWearGetPlanScRspReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CiBSZWxpY1NtYXJ0V2VhckdldFBsYW5TY1JzcC5wcm90bxoRRUpKSEtITFBP", - "REwucHJvdG8iYwoaUmVsaWNTbWFydFdlYXJHZXRQbGFuU2NSc3ASIQoLS05O", - "TU5DUERDQUgYAyADKAsyDC5FSkpIS0hMUE9ETBIRCglhdmF0YXJfaWQYDiAB", - "KA0SDwoHcmV0Y29kZRgKIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVy", - "LlByb3RvYgZwcm90bzM=")); + "CiBSZWxpY1NtYXJ0V2VhckdldFBsYW5TY1JzcC5wcm90bxoYUmVsaWNTbWFy", + "dFdlYXJQbGFuLnByb3RvIm4KGlJlbGljU21hcnRXZWFyR2V0UGxhblNjUnNw", + "EiwKD3JlbGljX3BsYW5fbGlzdBgDIAMoCzITLlJlbGljU21hcnRXZWFyUGxh", + "bhIRCglhdmF0YXJfaWQYDiABKA0SDwoHcmV0Y29kZRgKIAEoDUIeqgIbRWdn", + "TGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EJJHKHLPODLReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicSmartWearPlanReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearGetPlanScRsp), global::EggLink.DanhengServer.Proto.RelicSmartWearGetPlanScRsp.Parser, new[]{ "KNNMNCPDCAH", "AvatarId", "Retcode" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearGetPlanScRsp), global::EggLink.DanhengServer.Proto.RelicSmartWearGetPlanScRsp.Parser, new[]{ "RelicPlanList", "AvatarId", "Retcode" }, null, null, null, null) })); } #endregion @@ -74,7 +74,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RelicSmartWearGetPlanScRsp(RelicSmartWearGetPlanScRsp other) : this() { - kNNMNCPDCAH_ = other.kNNMNCPDCAH_.Clone(); + relicPlanList_ = other.relicPlanList_.Clone(); avatarId_ = other.avatarId_; retcode_ = other.retcode_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); @@ -86,15 +86,15 @@ namespace EggLink.DanhengServer.Proto { return new RelicSmartWearGetPlanScRsp(this); } - /// Field number for the "KNNMNCPDCAH" field. - public const int KNNMNCPDCAHFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_kNNMNCPDCAH_codec - = pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.EJJHKHLPODL.Parser); - private readonly pbc::RepeatedField kNNMNCPDCAH_ = new pbc::RepeatedField(); + /// Field number for the "relic_plan_list" field. + public const int RelicPlanListFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_relicPlanList_codec + = pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.RelicSmartWearPlan.Parser); + private readonly pbc::RepeatedField relicPlanList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField KNNMNCPDCAH { - get { return kNNMNCPDCAH_; } + public pbc::RepeatedField RelicPlanList { + get { return relicPlanList_; } } /// Field number for the "avatar_id" field. @@ -136,7 +136,7 @@ namespace EggLink.DanhengServer.Proto { if (ReferenceEquals(other, this)) { return true; } - if(!kNNMNCPDCAH_.Equals(other.kNNMNCPDCAH_)) return false; + if(!relicPlanList_.Equals(other.relicPlanList_)) return false; if (AvatarId != other.AvatarId) return false; if (Retcode != other.Retcode) return false; return Equals(_unknownFields, other._unknownFields); @@ -146,7 +146,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= kNNMNCPDCAH_.GetHashCode(); + hash ^= relicPlanList_.GetHashCode(); if (AvatarId != 0) hash ^= AvatarId.GetHashCode(); if (Retcode != 0) hash ^= Retcode.GetHashCode(); if (_unknownFields != null) { @@ -167,7 +167,7 @@ namespace EggLink.DanhengServer.Proto { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - kNNMNCPDCAH_.WriteTo(output, _repeated_kNNMNCPDCAH_codec); + relicPlanList_.WriteTo(output, _repeated_relicPlanList_codec); if (Retcode != 0) { output.WriteRawTag(80); output.WriteUInt32(Retcode); @@ -186,7 +186,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - kNNMNCPDCAH_.WriteTo(ref output, _repeated_kNNMNCPDCAH_codec); + relicPlanList_.WriteTo(ref output, _repeated_relicPlanList_codec); if (Retcode != 0) { output.WriteRawTag(80); output.WriteUInt32(Retcode); @@ -205,7 +205,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += kNNMNCPDCAH_.CalculateSize(_repeated_kNNMNCPDCAH_codec); + size += relicPlanList_.CalculateSize(_repeated_relicPlanList_codec); if (AvatarId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvatarId); } @@ -224,7 +224,7 @@ namespace EggLink.DanhengServer.Proto { if (other == null) { return; } - kNNMNCPDCAH_.Add(other.kNNMNCPDCAH_); + relicPlanList_.Add(other.relicPlanList_); if (other.AvatarId != 0) { AvatarId = other.AvatarId; } @@ -247,7 +247,7 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 26: { - kNNMNCPDCAH_.AddEntriesFrom(input, _repeated_kNNMNCPDCAH_codec); + relicPlanList_.AddEntriesFrom(input, _repeated_relicPlanList_codec); break; } case 80: { @@ -274,7 +274,7 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 26: { - kNNMNCPDCAH_.AddEntriesFrom(ref input, _repeated_kNNMNCPDCAH_codec); + relicPlanList_.AddEntriesFrom(ref input, _repeated_relicPlanList_codec); break; } case 80: { diff --git a/Proto/RelicSmartWearPlan.cs b/Proto/RelicSmartWearPlan.cs new file mode 100644 index 00000000..113d83a0 --- /dev/null +++ b/Proto/RelicSmartWearPlan.cs @@ -0,0 +1,335 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: RelicSmartWearPlan.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace EggLink.DanhengServer.Proto { + + /// Holder for reflection information generated from RelicSmartWearPlan.proto + public static partial class RelicSmartWearPlanReflection { + + #region Descriptor + /// File descriptor for RelicSmartWearPlan.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RelicSmartWearPlanReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhSZWxpY1NtYXJ0V2VhclBsYW4ucHJvdG8icQoSUmVsaWNTbWFydFdlYXJQ", + "bGFuEhkKEWluc2lkZV9yZWxpY19saXN0GAggAygNEhEKCXVuaXF1ZV9pZBgJ", + "IAEoDRIRCglhdmF0YXJfaWQYBSABKA0SGgoSb3V0c2lkZV9yZWxpY19saXN0", + "GA0gAygNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv", + "Mw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearPlan), global::EggLink.DanhengServer.Proto.RelicSmartWearPlan.Parser, new[]{ "InsideRelicList", "UniqueId", "AvatarId", "OutsideRelicList" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RelicSmartWearPlan : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelicSmartWearPlan()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::EggLink.DanhengServer.Proto.RelicSmartWearPlanReflection.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 RelicSmartWearPlan() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelicSmartWearPlan(RelicSmartWearPlan other) : this() { + insideRelicList_ = other.insideRelicList_.Clone(); + uniqueId_ = other.uniqueId_; + avatarId_ = other.avatarId_; + outsideRelicList_ = other.outsideRelicList_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelicSmartWearPlan Clone() { + return new RelicSmartWearPlan(this); + } + + /// Field number for the "inside_relic_list" field. + public const int InsideRelicListFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_insideRelicList_codec + = pb::FieldCodec.ForUInt32(66); + private readonly pbc::RepeatedField insideRelicList_ = new pbc::RepeatedField(); + /// + ///? + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField InsideRelicList { + get { return insideRelicList_; } + } + + /// Field number for the "unique_id" field. + public const int UniqueIdFieldNumber = 9; + private uint uniqueId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint UniqueId { + get { return uniqueId_; } + set { + uniqueId_ = value; + } + } + + /// Field number for the "avatar_id" field. + public const int AvatarIdFieldNumber = 5; + private uint avatarId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AvatarId { + get { return avatarId_; } + set { + avatarId_ = value; + } + } + + /// Field number for the "outside_relic_list" field. + public const int OutsideRelicListFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_outsideRelicList_codec + = pb::FieldCodec.ForUInt32(106); + private readonly pbc::RepeatedField outsideRelicList_ = new pbc::RepeatedField(); + /// + ///? + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField OutsideRelicList { + get { return outsideRelicList_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RelicSmartWearPlan); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RelicSmartWearPlan other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!insideRelicList_.Equals(other.insideRelicList_)) return false; + if (UniqueId != other.UniqueId) return false; + if (AvatarId != other.AvatarId) return false; + if(!outsideRelicList_.Equals(other.outsideRelicList_)) 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 ^= insideRelicList_.GetHashCode(); + if (UniqueId != 0) hash ^= UniqueId.GetHashCode(); + if (AvatarId != 0) hash ^= AvatarId.GetHashCode(); + hash ^= outsideRelicList_.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 (AvatarId != 0) { + output.WriteRawTag(40); + output.WriteUInt32(AvatarId); + } + insideRelicList_.WriteTo(output, _repeated_insideRelicList_codec); + if (UniqueId != 0) { + output.WriteRawTag(72); + output.WriteUInt32(UniqueId); + } + outsideRelicList_.WriteTo(output, _repeated_outsideRelicList_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 (AvatarId != 0) { + output.WriteRawTag(40); + output.WriteUInt32(AvatarId); + } + insideRelicList_.WriteTo(ref output, _repeated_insideRelicList_codec); + if (UniqueId != 0) { + output.WriteRawTag(72); + output.WriteUInt32(UniqueId); + } + outsideRelicList_.WriteTo(ref output, _repeated_outsideRelicList_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 += insideRelicList_.CalculateSize(_repeated_insideRelicList_codec); + if (UniqueId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId); + } + if (AvatarId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvatarId); + } + size += outsideRelicList_.CalculateSize(_repeated_outsideRelicList_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RelicSmartWearPlan other) { + if (other == null) { + return; + } + insideRelicList_.Add(other.insideRelicList_); + if (other.UniqueId != 0) { + UniqueId = other.UniqueId; + } + if (other.AvatarId != 0) { + AvatarId = other.AvatarId; + } + outsideRelicList_.Add(other.outsideRelicList_); + _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 40: { + AvatarId = input.ReadUInt32(); + break; + } + case 66: + case 64: { + insideRelicList_.AddEntriesFrom(input, _repeated_insideRelicList_codec); + break; + } + case 72: { + UniqueId = input.ReadUInt32(); + break; + } + case 106: + case 104: { + outsideRelicList_.AddEntriesFrom(input, _repeated_outsideRelicList_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 40: { + AvatarId = input.ReadUInt32(); + break; + } + case 66: + case 64: { + insideRelicList_.AddEntriesFrom(ref input, _repeated_insideRelicList_codec); + break; + } + case 72: { + UniqueId = input.ReadUInt32(); + break; + } + case 106: + case 104: { + outsideRelicList_.AddEntriesFrom(ref input, _repeated_outsideRelicList_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Proto/RelicSmartWearUpdatePlanCsReq.cs b/Proto/RelicSmartWearUpdatePlanCsReq.cs index d4ef1928..a8a16934 100644 --- a/Proto/RelicSmartWearUpdatePlanCsReq.cs +++ b/Proto/RelicSmartWearUpdatePlanCsReq.cs @@ -24,14 +24,14 @@ namespace EggLink.DanhengServer.Proto { static RelicSmartWearUpdatePlanCsReqReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CiNSZWxpY1NtYXJ0V2VhclVwZGF0ZVBsYW5Dc1JlcS5wcm90bxoRRUpKSEtI", - "TFBPREwucHJvdG8iQgodUmVsaWNTbWFydFdlYXJVcGRhdGVQbGFuQ3NSZXES", - "IQoLRUlMSURNQ09DSE8YCCABKAsyDC5FSkpIS0hMUE9ETEIeqgIbRWdnTGlu", - "ay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); + "CiNSZWxpY1NtYXJ0V2VhclVwZGF0ZVBsYW5Dc1JlcS5wcm90bxoYUmVsaWNT", + "bWFydFdlYXJQbGFuLnByb3RvIkgKHVJlbGljU21hcnRXZWFyVXBkYXRlUGxh", + "bkNzUmVxEicKCnJlbGljX3BsYW4YCCABKAsyEy5SZWxpY1NtYXJ0V2VhclBs", + "YW5CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EJJHKHLPODLReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicSmartWearPlanReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearUpdatePlanCsReq), global::EggLink.DanhengServer.Proto.RelicSmartWearUpdatePlanCsReq.Parser, new[]{ "EILIDMCOCHO" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearUpdatePlanCsReq), global::EggLink.DanhengServer.Proto.RelicSmartWearUpdatePlanCsReq.Parser, new[]{ "RelicPlan" }, null, null, null, null) })); } #endregion @@ -73,7 +73,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RelicSmartWearUpdatePlanCsReq(RelicSmartWearUpdatePlanCsReq other) : this() { - eILIDMCOCHO_ = other.eILIDMCOCHO_ != null ? other.eILIDMCOCHO_.Clone() : null; + relicPlan_ = other.relicPlan_ != null ? other.relicPlan_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -83,15 +83,15 @@ namespace EggLink.DanhengServer.Proto { return new RelicSmartWearUpdatePlanCsReq(this); } - /// Field number for the "EILIDMCOCHO" field. - public const int EILIDMCOCHOFieldNumber = 8; - private global::EggLink.DanhengServer.Proto.EJJHKHLPODL eILIDMCOCHO_; + /// Field number for the "relic_plan" field. + public const int RelicPlanFieldNumber = 8; + private global::EggLink.DanhengServer.Proto.RelicSmartWearPlan relicPlan_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::EggLink.DanhengServer.Proto.EJJHKHLPODL EILIDMCOCHO { - get { return eILIDMCOCHO_; } + public global::EggLink.DanhengServer.Proto.RelicSmartWearPlan RelicPlan { + get { return relicPlan_; } set { - eILIDMCOCHO_ = value; + relicPlan_ = value; } } @@ -110,7 +110,7 @@ namespace EggLink.DanhengServer.Proto { if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(EILIDMCOCHO, other.EILIDMCOCHO)) return false; + if (!object.Equals(RelicPlan, other.RelicPlan)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -118,7 +118,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (eILIDMCOCHO_ != null) hash ^= EILIDMCOCHO.GetHashCode(); + if (relicPlan_ != null) hash ^= RelicPlan.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -137,9 +137,9 @@ namespace EggLink.DanhengServer.Proto { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (eILIDMCOCHO_ != null) { + if (relicPlan_ != null) { output.WriteRawTag(66); - output.WriteMessage(EILIDMCOCHO); + output.WriteMessage(RelicPlan); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -151,9 +151,9 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (eILIDMCOCHO_ != null) { + if (relicPlan_ != null) { output.WriteRawTag(66); - output.WriteMessage(EILIDMCOCHO); + output.WriteMessage(RelicPlan); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -165,8 +165,8 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (eILIDMCOCHO_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(EILIDMCOCHO); + if (relicPlan_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RelicPlan); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -180,11 +180,11 @@ namespace EggLink.DanhengServer.Proto { if (other == null) { return; } - if (other.eILIDMCOCHO_ != null) { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (other.relicPlan_ != null) { + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - EILIDMCOCHO.MergeFrom(other.EILIDMCOCHO); + RelicPlan.MergeFrom(other.RelicPlan); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -202,10 +202,10 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 66: { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - input.ReadMessage(EILIDMCOCHO); + input.ReadMessage(RelicPlan); break; } } @@ -224,10 +224,10 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 66: { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - input.ReadMessage(EILIDMCOCHO); + input.ReadMessage(RelicPlan); break; } } diff --git a/Proto/RelicSmartWearUpdatePlanScRsp.cs b/Proto/RelicSmartWearUpdatePlanScRsp.cs index 6de1732e..cf909f5e 100644 --- a/Proto/RelicSmartWearUpdatePlanScRsp.cs +++ b/Proto/RelicSmartWearUpdatePlanScRsp.cs @@ -24,15 +24,15 @@ namespace EggLink.DanhengServer.Proto { static RelicSmartWearUpdatePlanScRspReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CiNSZWxpY1NtYXJ0V2VhclVwZGF0ZVBsYW5TY1JzcC5wcm90bxoRRUpKSEtI", - "TFBPREwucHJvdG8iUwodUmVsaWNTbWFydFdlYXJVcGRhdGVQbGFuU2NSc3AS", - "DwoHcmV0Y29kZRgMIAEoDRIhCgtFSUxJRE1DT0NITxgIIAEoCzIMLkVKSkhL", - "SExQT0RMQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv", - "Mw==")); + "CiNSZWxpY1NtYXJ0V2VhclVwZGF0ZVBsYW5TY1JzcC5wcm90bxoYUmVsaWNT", + "bWFydFdlYXJQbGFuLnByb3RvIlkKHVJlbGljU21hcnRXZWFyVXBkYXRlUGxh", + "blNjUnNwEg8KB3JldGNvZGUYDCABKA0SJwoKcmVsaWNfcGxhbhgIIAEoCzIT", + "LlJlbGljU21hcnRXZWFyUGxhbkIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVy", + "LlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EJJHKHLPODLReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicSmartWearPlanReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearUpdatePlanScRsp), global::EggLink.DanhengServer.Proto.RelicSmartWearUpdatePlanScRsp.Parser, new[]{ "Retcode", "EILIDMCOCHO" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RelicSmartWearUpdatePlanScRsp), global::EggLink.DanhengServer.Proto.RelicSmartWearUpdatePlanScRsp.Parser, new[]{ "Retcode", "RelicPlan" }, null, null, null, null) })); } #endregion @@ -75,7 +75,7 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RelicSmartWearUpdatePlanScRsp(RelicSmartWearUpdatePlanScRsp other) : this() { retcode_ = other.retcode_; - eILIDMCOCHO_ = other.eILIDMCOCHO_ != null ? other.eILIDMCOCHO_.Clone() : null; + relicPlan_ = other.relicPlan_ != null ? other.relicPlan_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -97,15 +97,15 @@ namespace EggLink.DanhengServer.Proto { } } - /// Field number for the "EILIDMCOCHO" field. - public const int EILIDMCOCHOFieldNumber = 8; - private global::EggLink.DanhengServer.Proto.EJJHKHLPODL eILIDMCOCHO_; + /// Field number for the "relic_plan" field. + public const int RelicPlanFieldNumber = 8; + private global::EggLink.DanhengServer.Proto.RelicSmartWearPlan relicPlan_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::EggLink.DanhengServer.Proto.EJJHKHLPODL EILIDMCOCHO { - get { return eILIDMCOCHO_; } + public global::EggLink.DanhengServer.Proto.RelicSmartWearPlan RelicPlan { + get { return relicPlan_; } set { - eILIDMCOCHO_ = value; + relicPlan_ = value; } } @@ -125,7 +125,7 @@ namespace EggLink.DanhengServer.Proto { return true; } if (Retcode != other.Retcode) return false; - if (!object.Equals(EILIDMCOCHO, other.EILIDMCOCHO)) return false; + if (!object.Equals(RelicPlan, other.RelicPlan)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -134,7 +134,7 @@ namespace EggLink.DanhengServer.Proto { public override int GetHashCode() { int hash = 1; if (Retcode != 0) hash ^= Retcode.GetHashCode(); - if (eILIDMCOCHO_ != null) hash ^= EILIDMCOCHO.GetHashCode(); + if (relicPlan_ != null) hash ^= RelicPlan.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -153,9 +153,9 @@ namespace EggLink.DanhengServer.Proto { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (eILIDMCOCHO_ != null) { + if (relicPlan_ != null) { output.WriteRawTag(66); - output.WriteMessage(EILIDMCOCHO); + output.WriteMessage(RelicPlan); } if (Retcode != 0) { output.WriteRawTag(96); @@ -171,9 +171,9 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (eILIDMCOCHO_ != null) { + if (relicPlan_ != null) { output.WriteRawTag(66); - output.WriteMessage(EILIDMCOCHO); + output.WriteMessage(RelicPlan); } if (Retcode != 0) { output.WriteRawTag(96); @@ -192,8 +192,8 @@ namespace EggLink.DanhengServer.Proto { if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } - if (eILIDMCOCHO_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(EILIDMCOCHO); + if (relicPlan_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RelicPlan); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -210,11 +210,11 @@ namespace EggLink.DanhengServer.Proto { if (other.Retcode != 0) { Retcode = other.Retcode; } - if (other.eILIDMCOCHO_ != null) { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (other.relicPlan_ != null) { + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - EILIDMCOCHO.MergeFrom(other.EILIDMCOCHO); + RelicPlan.MergeFrom(other.RelicPlan); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -232,10 +232,10 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 66: { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - input.ReadMessage(EILIDMCOCHO); + input.ReadMessage(RelicPlan); break; } case 96: { @@ -258,10 +258,10 @@ namespace EggLink.DanhengServer.Proto { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 66: { - if (eILIDMCOCHO_ == null) { - EILIDMCOCHO = new global::EggLink.DanhengServer.Proto.EJJHKHLPODL(); + if (relicPlan_ == null) { + RelicPlan = new global::EggLink.DanhengServer.Proto.RelicSmartWearPlan(); } - input.ReadMessage(EILIDMCOCHO); + input.ReadMessage(RelicPlan); break; } case 96: {