using XGame.Database; using XGame.Framework.Data; namespace FL.Data { /// /// 主线关卡/副本数据 /// public class PveData : DataSingleton { #region 主线关卡 /// /// 当前章节id /// public int chapterId = 10010101; /// /// 服务端下发的最近通关的章节id,新账号记录是零 /// public int pveId; /// /// 每场pve战斗唯一标识 /// public string fightKey; /// /// 挂机奖励 最后一次结算时间 /// 毫秒 /// public long lastTime; /// /// 挂机奖励 已结算时长 /// 毫秒 /// public int overTime; /// /// 今日加速次数 /// 为零表示今日未加速 /// public int speedupTimes; public string MapAssetName { get { var chapter = ChapterTableRepo.Get(chapterId); var map = MapTableRepo.Get(chapter.Map); return map.AssetName; } } #endregion } }