KCP gameserver with packet dispatch, scene streaming, combat, gacha and the shop, plus a small HTTP server for the login flow and the wish history page. Game data under assets is pulled out of the client instead of being typed by hand. The excel tables come from the packed bin container and the spawn points from the compiled scene scripts.
17 lines
735 B
C#
17 lines
735 B
C#
using System.Text.Json.Serialization;
|
|
using Yuanshen.Common.Data.Excel.Attributes;
|
|
|
|
namespace Yuanshen.Common.Data.Excel;
|
|
|
|
[Excel(ExcelType.Reliquary, "ReliquaryExcelConfigData.json")]
|
|
public sealed class ReliquaryExcel : ExcelItem
|
|
{
|
|
[JsonPropertyName("id")] public uint Id { get; set; }
|
|
[JsonPropertyName("equipType")] public string EquipType { get; set; } = "EQUIP_BRACER";
|
|
[JsonPropertyName("rankLevel")] public uint RankLevel { get; set; }
|
|
[JsonPropertyName("mainPropDepotId")] public uint MainPropDepotId { get; set; }
|
|
[JsonPropertyName("appendPropDepotId")] public uint AppendPropDepotId { get; set; }
|
|
[JsonPropertyName("setId")] public uint SetId { get; set; }
|
|
|
|
public override uint ExcelId => Id;
|
|
}
|