mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
37 lines
961 B
C#
37 lines
961 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel
|
|
{
|
|
[ResourceEntity("RogueManager.json")]
|
|
public class RogueManagerExcel : ExcelResource
|
|
{
|
|
public int RogueSeason { get; set; }
|
|
public string BeginTime { get; set; } = "";
|
|
public string EndTime { get; set; } = "";
|
|
public List<int> RogueAreaIDList { get; set; } = [];
|
|
|
|
[JsonIgnore]
|
|
public DateTime BeginTimeDate { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public DateTime EndTimeDate { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return RogueSeason;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.RogueManagerData.Add(GetId(), this);
|
|
BeginTimeDate = DateTime.Parse(BeginTime);
|
|
EndTimeDate = DateTime.Parse(EndTime);
|
|
}
|
|
}
|
|
}
|