mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-12 13:04:33 +01:00
21 lines
479 B
C#
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);
|
|
}
|
|
} |