feat: add RelicRecommend system

This commit is contained in:
letheriver2007
2025-02-21 23:11:20 +08:00
committed by EggLink
parent 90b6dcfa44
commit c2d91e9172
35 changed files with 2700 additions and 439 deletions

View File

@@ -16,6 +16,8 @@ public class InventoryData : BaseDatabaseDataHelper
[SugarColumn(IsJson = true)] public List<ItemData> RelicItems { get; set; } = [];
[SugarColumn(IsJson = true)] public Dictionary<int, RelicPlanData> 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<int> InsideRelic { get; set; } = [];
public List<int> OutsideRelic { get; set; } = [];
}

View File

@@ -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<RelicSmartWearPlan> GetRelicPlan(int avatarId)
{
var planList = new List<RelicSmartWearPlan>();
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();
}
}

View File

@@ -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<List<ItemData>> SellItem(ItemCostData costData, bool toMaterial = false)
public async ValueTask<List<ItemData>> SellItem(ItemCostData costData, bool toMaterial)
{
List<ItemData> items = [];
Dictionary<int, int> itemMap = [];

View File

@@ -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);
}
}

View File

@@ -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);
}
}

View File

@@ -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));
}
}

View File

@@ -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

View File

@@ -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));
}
}

View File

@@ -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));
}
}

View File

@@ -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));
}
}

View File

@@ -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));
}
}

View File

@@ -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));
}
}

View File

@@ -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);
}
}

View File

@@ -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);

View File

@@ -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);
}
}

View File

@@ -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);
}
}

View File

@@ -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);
}
}

View File

@@ -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<RelicSmartWearPlan> relicPlan)
: base(CmdIds.RelicSmartWearGetPlanScRsp)
{
var proto = new RelicSmartWearGetPlanScRsp
{
AvatarId = avatarId,
RelicPlanList = { relicPlan }
};
SetData(proto);
}
}

View File

@@ -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);
}
}

View File

@@ -0,0 +1,50 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BigDataRecommendType.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from BigDataRecommendType.proto</summary>
public static partial class BigDataRecommendTypeReflection {
#region Descriptor
/// <summary>File descriptor for BigDataRecommendType.proto</summary>
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

224
Proto/EquipmentRecommend.cs Normal file
View File

@@ -0,0 +1,224 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EquipmentRecommend.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from EquipmentRecommend.proto</summary>
public static partial class EquipmentRecommendReflection {
#region Descriptor
/// <summary>File descriptor for EquipmentRecommend.proto</summary>
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<EquipmentRecommend>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<EquipmentRecommend> _parser = new pb::MessageParser<EquipmentRecommend>(() => new EquipmentRecommend());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<EquipmentRecommend> 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);
}
/// <summary>Field number for the "equipment_list" field.</summary>
public const int EquipmentListFieldNumber = 10;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.EquipmentRecommendInfo> _repeated_equipmentList_codec
= pb::FieldCodec.ForMessage(82, global::EggLink.DanhengServer.Proto.EquipmentRecommendInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EquipmentRecommendInfo> equipmentList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EquipmentRecommendInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EquipmentRecommendInfo> 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

View File

@@ -0,0 +1,272 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EquipmentRecommendInfo.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from EquipmentRecommendInfo.proto</summary>
public static partial class EquipmentRecommendInfoReflection {
#region Descriptor
/// <summary>File descriptor for EquipmentRecommendInfo.proto</summary>
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<EquipmentRecommendInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<EquipmentRecommendInfo> _parser = new pb::MessageParser<EquipmentRecommendInfo>(() => new EquipmentRecommendInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<EquipmentRecommendInfo> 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);
}
/// <summary>Field number for the "MDMGKHLHIIN" field.</summary>
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;
}
}
/// <summary>Field number for the "LGIIAHIDLMG" field.</summary>
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

View File

@@ -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);
}
/// <summary>Field number for the "IANNEEIJAKH" field.</summary>
public const int IANNEEIJAKHFieldNumber = 10;
private global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ iANNEEIJAKH_ = global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone;
/// <summary>Field number for the "big_data_recommend_type" field.</summary>
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;
}
}
/// <summary>Field number for the "EIGPMIBCIKG" field.</summary>
public const int EIGPMIBCIKGFieldNumber = 4;
private uint eIGPMIBCIKG_;
/// <summary>Field number for the "equip_avatar" field.</summary>
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;
}
}

View File

@@ -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);
}
/// <summary>Field number for the "OGEGKOKGPPJ" field.</summary>
public const int OGEGKOKGPPJFieldNumber = 8;
private bool oGEGKOKGPPJ_;
/// <summary>Field number for the "equipment_recommend" field.</summary>
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;
}
}
/// <summary>Field number for the "EIGPMIBCIKG" field.</summary>
public const int EIGPMIBCIKGFieldNumber = 10;
private uint eIGPMIBCIKG_;
/// <summary>Field number for the "relic_recommend" field.</summary>
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;
}
}
/// <summary>Field number for the "IANNEEIJAKH" field.</summary>
public const int IANNEEIJAKHFieldNumber = 9;
private global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ iANNEEIJAKH_ = global::EggLink.DanhengServer.Proto.KLDHJGEGGLJ.BigDataRecommendTypeNone;
/// <summary>Field number for the "has_recommand" field.</summary>
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;
}
}
/// <summary>Field number for the "equip_avatar" field.</summary>
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;
}
}
/// <summary>Field number for the "big_data_recommend_type" field.</summary>
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 {
}
}
/// <summary>Field number for the "GPNFOLHKODI" field.</summary>
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;
}
}
/// <summary>Field number for the "AEIGAHEEOCN" field.</summary>
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_;
/// <summary>Enum of possible cases for the "BLNGPIGBDEH" oneof.</summary>
public enum BLNGPIGBDEHOneofCase {
private object dataCase_;
/// <summary>Enum of possible cases for the "data_case" oneof.</summary>
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;
}
}

309
Proto/InsideRelic.cs Normal file
View File

@@ -0,0 +1,309 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: InsideRelic.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from InsideRelic.proto</summary>
public static partial class InsideRelicReflection {
#region Descriptor
/// <summary>File descriptor for InsideRelic.proto</summary>
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<InsideRelic>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<InsideRelic> _parser = new pb::MessageParser<InsideRelic>(() => new InsideRelic());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<InsideRelic> 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);
}
/// <summary>Field number for the "KICOBNPCKAE" field.</summary>
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;
}
}
/// <summary>Field number for the "IIKGCJFJADF" field.</summary>
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;
}
}
/// <summary>Field number for the "FLEEFJLNLCH" field.</summary>
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

271
Proto/OutsideRelic.cs Normal file
View File

@@ -0,0 +1,271 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: OutsideRelic.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from OutsideRelic.proto</summary>
public static partial class OutsideRelicReflection {
#region Descriptor
/// <summary>File descriptor for OutsideRelic.proto</summary>
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<OutsideRelic>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<OutsideRelic> _parser = new pb::MessageParser<OutsideRelic>(() => new OutsideRelic());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<OutsideRelic> 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);
}
/// <summary>Field number for the "JICDFLIMHHD" field.</summary>
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;
}
}
/// <summary>Field number for the "KICOBNPCKAE" field.</summary>
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

224
Proto/RelicRecommend.cs Normal file
View File

@@ -0,0 +1,224 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RelicRecommend.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from RelicRecommend.proto</summary>
public static partial class RelicRecommendReflection {
#region Descriptor
/// <summary>File descriptor for RelicRecommend.proto</summary>
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<RelicRecommend>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RelicRecommend> _parser = new pb::MessageParser<RelicRecommend>(() => new RelicRecommend());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RelicRecommend> 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);
}
/// <summary>Field number for the "recommend_relic_list" field.</summary>
public const int RecommendRelicListFieldNumber = 8;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RelicRecommendInfo> _repeated_recommendRelicList_codec
= pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.RelicRecommendInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RelicRecommendInfo> recommendRelicList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RelicRecommendInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RelicRecommendInfo> 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

309
Proto/RelicRecommendInfo.cs Normal file
View File

@@ -0,0 +1,309 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RelicRecommendInfo.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from RelicRecommendInfo.proto</summary>
public static partial class RelicRecommendInfoReflection {
#region Descriptor
/// <summary>File descriptor for RelicRecommendInfo.proto</summary>
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<RelicRecommendInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RelicRecommendInfo> _parser = new pb::MessageParser<RelicRecommendInfo>(() => new RelicRecommendInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RelicRecommendInfo> 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);
}
/// <summary>Field number for the "FIKKGBIBCJK" field.</summary>
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;
}
}
/// <summary>Field number for the "PDMGJKODFOP" field.</summary>
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;
}
}
/// <summary>Field number for the "EHCEEPMBDDI" field.</summary>
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

View File

@@ -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 {
/// <summary>Field number for the "MPMFAHLKEOB" field.</summary>
public const int MPMFAHLKEOBFieldNumber = 13;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> _repeated_mPMFAHLKEOB_codec
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.FMJDEHFOPFK.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> mPMFAHLKEOB_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK>();
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.OutsideRelic> _repeated_mPMFAHLKEOB_codec
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.OutsideRelic.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic> mPMFAHLKEOB_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> MPMFAHLKEOB {
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic> MPMFAHLKEOB {
get { return mPMFAHLKEOB_; }
}
/// <summary>Field number for the "PDBHNHPCNNJ" field.</summary>
public const int PDBHNHPCNNJFieldNumber = 6;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.IFHEJAMNIPM> _repeated_pDBHNHPCNNJ_codec
= pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.IFHEJAMNIPM.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.IFHEJAMNIPM> pDBHNHPCNNJ_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.IFHEJAMNIPM>();
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.InsideRelic> _repeated_pDBHNHPCNNJ_codec
= pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.InsideRelic.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.InsideRelic> pDBHNHPCNNJ_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.InsideRelic>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.IFHEJAMNIPM> PDBHNHPCNNJ {
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.InsideRelic> PDBHNHPCNNJ {
get { return pDBHNHPCNNJ_; }
}
@@ -144,57 +144,57 @@ namespace EggLink.DanhengServer.Proto {
/// <summary>Field number for the "LGEJJAJPEDK" field.</summary>
public const int LGEJJAJPEDKFieldNumber = 11;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> _repeated_lGEJJAJPEDK_codec
= pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.FMJDEHFOPFK.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> lGEJJAJPEDK_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK>();
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.OutsideRelic> _repeated_lGEJJAJPEDK_codec
= pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.OutsideRelic.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic> lGEJJAJPEDK_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> LGEJJAJPEDK {
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic> LGEJJAJPEDK {
get { return lGEJJAJPEDK_; }
}
/// <summary>Field number for the "KKCMFGMHIMO" field.</summary>
public const int KKCMFGMHIMOFieldNumber = 7;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> _repeated_kKCMFGMHIMO_codec
= pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.FMJDEHFOPFK.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> kKCMFGMHIMO_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK>();
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.OutsideRelic> _repeated_kKCMFGMHIMO_codec
= pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.OutsideRelic.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic> kKCMFGMHIMO_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> KKCMFGMHIMO {
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic> KKCMFGMHIMO {
get { return kKCMFGMHIMO_; }
}
/// <summary>Field number for the "FBBAJBINGLB" field.</summary>
public const int FBBAJBINGLBFieldNumber = 4;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> _repeated_fBBAJBINGLB_codec
= pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.FMJDEHFOPFK.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> fBBAJBINGLB_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK>();
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.OutsideRelic> _repeated_fBBAJBINGLB_codec
= pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.OutsideRelic.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic> fBBAJBINGLB_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FMJDEHFOPFK> FBBAJBINGLB {
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OutsideRelic> FBBAJBINGLB {
get { return fBBAJBINGLB_; }
}
/// <summary>Field number for the "OGEGKOKGPPJ" field.</summary>
public const int OGEGKOKGPPJFieldNumber = 5;
private bool oGEGKOKGPPJ_;
/// <summary>Field number for the "has_recommand" field.</summary>
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;
}
}
/// <summary>Field number for the "NOBONCCPENG" field.</summary>
public const int NOBONCCPENGFieldNumber = 8;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.IFHEJAMNIPM> _repeated_nOBONCCPENG_codec
= pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.IFHEJAMNIPM.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.IFHEJAMNIPM> nOBONCCPENG_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.IFHEJAMNIPM>();
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.InsideRelic> _repeated_nOBONCCPENG_codec
= pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.InsideRelic.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.InsideRelic> nOBONCCPENG_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.InsideRelic>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.IFHEJAMNIPM> NOBONCCPENG {
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.InsideRelic> 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: {

View File

@@ -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);
}
/// <summary>Field number for the "EILIDMCOCHO" field.</summary>
public const int EILIDMCOCHOFieldNumber = 4;
private global::EggLink.DanhengServer.Proto.EJJHKHLPODL eILIDMCOCHO_;
/// <summary>Field number for the "relic_plan" field.</summary>
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;
}
}

View File

@@ -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 {
}
}
/// <summary>Field number for the "EILIDMCOCHO" field.</summary>
public const int EILIDMCOCHOFieldNumber = 10;
private global::EggLink.DanhengServer.Proto.EJJHKHLPODL eILIDMCOCHO_;
/// <summary>Field number for the "relic_plan" field.</summary>
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;
}
}

View File

@@ -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);
}
/// <summary>Field number for the "KNNMNCPDCAH" field.</summary>
public const int KNNMNCPDCAHFieldNumber = 3;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.EJJHKHLPODL> _repeated_kNNMNCPDCAH_codec
= pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.EJJHKHLPODL.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EJJHKHLPODL> kNNMNCPDCAH_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EJJHKHLPODL>();
/// <summary>Field number for the "relic_plan_list" field.</summary>
public const int RelicPlanListFieldNumber = 3;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RelicSmartWearPlan> _repeated_relicPlanList_codec
= pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.RelicSmartWearPlan.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RelicSmartWearPlan> relicPlanList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RelicSmartWearPlan>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EJJHKHLPODL> KNNMNCPDCAH {
get { return kNNMNCPDCAH_; }
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RelicSmartWearPlan> RelicPlanList {
get { return relicPlanList_; }
}
/// <summary>Field number for the "avatar_id" field.</summary>
@@ -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: {

335
Proto/RelicSmartWearPlan.cs Normal file
View File

@@ -0,0 +1,335 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RelicSmartWearPlan.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from RelicSmartWearPlan.proto</summary>
public static partial class RelicSmartWearPlanReflection {
#region Descriptor
/// <summary>File descriptor for RelicSmartWearPlan.proto</summary>
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<RelicSmartWearPlan>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RelicSmartWearPlan> _parser = new pb::MessageParser<RelicSmartWearPlan>(() => new RelicSmartWearPlan());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RelicSmartWearPlan> 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);
}
/// <summary>Field number for the "inside_relic_list" field.</summary>
public const int InsideRelicListFieldNumber = 8;
private static readonly pb::FieldCodec<uint> _repeated_insideRelicList_codec
= pb::FieldCodec.ForUInt32(66);
private readonly pbc::RepeatedField<uint> insideRelicList_ = new pbc::RepeatedField<uint>();
/// <summary>
///?
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> InsideRelicList {
get { return insideRelicList_; }
}
/// <summary>Field number for the "unique_id" field.</summary>
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;
}
}
/// <summary>Field number for the "avatar_id" field.</summary>
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;
}
}
/// <summary>Field number for the "outside_relic_list" field.</summary>
public const int OutsideRelicListFieldNumber = 13;
private static readonly pb::FieldCodec<uint> _repeated_outsideRelicList_codec
= pb::FieldCodec.ForUInt32(106);
private readonly pbc::RepeatedField<uint> outsideRelicList_ = new pbc::RepeatedField<uint>();
/// <summary>
///?
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> 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

View File

@@ -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);
}
/// <summary>Field number for the "EILIDMCOCHO" field.</summary>
public const int EILIDMCOCHOFieldNumber = 8;
private global::EggLink.DanhengServer.Proto.EJJHKHLPODL eILIDMCOCHO_;
/// <summary>Field number for the "relic_plan" field.</summary>
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;
}
}

View File

@@ -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 {
}
}
/// <summary>Field number for the "EILIDMCOCHO" field.</summary>
public const int EILIDMCOCHOFieldNumber = 8;
private global::EggLink.DanhengServer.Proto.EJJHKHLPODL eILIDMCOCHO_;
/// <summary>Field number for the "relic_plan" field.</summary>
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: {