Files
KianaBH3/Common/Data/Excel/CityEventPhotoExcel.cs
2025-06-14 11:15:32 +08:00

21 lines
479 B
C#

using System.Text.Json.Serialization;
using KianaBH.Data.Config;
namespace KianaBH.Data.Excel;
[ResourceEntity("CityEventPhoto.json")]
public class CityEventPhotoExcel : ExcelResource
{
public uint PhotoID { get; set; }
[JsonPropertyName("photoType")] public uint PhotoType { get; set; }
public override int GetId()
{
return (int)PhotoID;
}
public override void Loaded()
{
GameData.CityEventPhotoData.Add(GetId(), this);
}
}