Files
MikuSB/Common/Data/Excel/DormGiftExcel.cs
Naruse 6740b8ecf7 unlock some furniture (not all items implemented yet)
special thanks to undownding for the logic
2026-05-12 16:03:38 +08:00

22 lines
541 B
C#

namespace MikuSB.Data.Excel;
[ResourceEntity("item/templates/dorm_gift.json")]
public class DormGiftExcel : ExcelResource
{
public uint Genre { get; set; }
public uint Detail { get; set; }
public uint Particular { get; set; }
public uint Level { get; set; }
public string I18n { get; set; } = "";
public override uint GetId()
{
return (Genre << 24) | (Detail << 16) | (Particular << 8) | Level;
}
public override void Loaded()
{
GameData.DormGiftData.Add(GetId(), this);
}
}