mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
19 lines
394 B
C#
19 lines
394 B
C#
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("PetConfig.json")]
|
|
public class PetExcel : ExcelResource
|
|
{
|
|
public int PetID { get; set; }
|
|
public int PetItemID { get; set; }
|
|
public int SummonUnitID { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return PetID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.PetData.Add(PetID, this);
|
|
}
|
|
} |