public static void ClearLowData() { charLowData = null; itemLowData = null; stringLowData = null; resourceLowData = null; partnerLowData = null; monsterLowData = null; npcLowData = null; nonInteractiveNpcLowData = null; NewbieData = null; skillLowData = null; dungeonData = null; etcData = null; levelLowData = null; mailLowData = null; questLowData = null; enchantLowData = null; missionLowData = null; mapLowData = null; partnerLvLowData = null; shopLowData = null; priceLowData = null; vipLowData = null; iconLowData = null; FormulaLowData = null; guildLowData = null; gatchaRewardLowData = null; loadingLowData = null; titleLowData = null; welfareLowData = null; achievementLowData = null; activeLowData = null; pvpAutoRewardLowData = null; }
//! 获取维修时间 public int GetTroopRepairTime(string troopId) { if (Newbie.GetNewbieStatus() == 20 && Newbie.GetNewbieStatusSub() == 1) { return(3600 * 24); } return(Mathf.Clamp(DataCenter.GetInstance().GetDataSave().troops[troopId].cd - GetServerTime(), 0, int.MaxValue)); }
//! 获取当前故事项 public List <UIStoryItem> GetStoryUIStoryItem(int progress, int progressSub) { List <UIStoryItem> itemList = new List <UIStoryItem>(); List <Newbie.Dialogue> storyList = Newbie.GetDialogueStory(progress, progressSub); foreach (Newbie.Dialogue story in storyList) { itemList.Add(new UIStoryItem(story)); } return(itemList); }
//! Version3.0 #region Version3.0 //! 获取当前任务故事项 public List <UIStoryItem> GetTaskUIStoryItem() { List <UIStoryItem> itemList = new List <UIStoryItem>(); List <Newbie.Dialogue> taskList = Newbie.GetDialogueTask(); foreach (Newbie.Dialogue task in taskList) { itemList.Add(new UIStoryItem(task)); } return(itemList); }
public static void LoadLowDataALLForTool() { charLowData = new Character(); itemLowData = new Item(); stringLowData = new Local(); resourceLowData = new Resource(); partnerLowData = new Partner(); monsterLowData = new Mob(); npcLowData = new NpcData(); nonInteractiveNpcLowData = new NonInteractiveNpcData(); skillLowData = new SkillTables(); NewbieData = new Newbie(); dungeonData = new DungeonTable(); etcData = new Etc(); levelLowData = new Level(); mailLowData = new Mail(); questLowData = new Quest(); enchantLowData = new Enchant(); missionLowData = new MissionTable(); mapLowData = new Map(); partnerLvLowData = new PartnerLevel(); shopLowData = new Shop(); priceLowData = new Price(); vipLowData = new Vip(); iconLowData = new Icon(); FormulaLowData = new Formula(); guildLowData = new Guild(); gatchaRewardLowData = new GatchaReward(); loadingLowData = new Loading(); titleLowData = new Title(); welfareLowData = new Welfare(); achievementLowData = new Achievement(); activeLowData = new ActiveReward(); pvpAutoRewardLowData = new PVP(); charLowData.LoadLowData(); itemLowData.LoadLowData(); stringLowData.LoadLowData(); resourceLowData.LoadLowData(); partnerLowData.LoadLowData(); monsterLowData.LoadLowData(); npcLowData.LoadLowData(); nonInteractiveNpcLowData.LoadLowData(); NewbieData.LoadLowData(); skillLowData.LoadLowData(); dungeonData.LoadLowData(); etcData.LoadLowData(); levelLowData.LoadLowData(); mailLowData.LoadLowData(); questLowData.LoadLowData(); enchantLowData.LoadLowData(); missionLowData.LoadLowData(); mapLowData.LoadLowData(); partnerLvLowData.LoadLowData(); shopLowData.LoadLowData(); priceLowData.LoadLowData(); vipLowData.LoadLowData(); iconLowData.LoadLowData(); FormulaLowData.LoadLowData(); guildLowData.LoadLowData(); gatchaRewardLowData.LoadLowData(); loadingLowData.LoadLowData(); titleLowData.LoadLowData(); welfareLowData.LoadLowData(); achievementLowData.LoadLowData(); activeLowData.LoadLowData(); pvpAutoRewardLowData.LoadLowData(); }