mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 22:04:36 +01:00
Init enter game
This commit is contained in:
21
Common/Data/Excel/CityEventPhotoExcel.cs
Normal file
21
Common/Data/Excel/CityEventPhotoExcel.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user