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