private Mst_DataManager() { Utils.initMasterPath(); this.Mst_ship = new Dictionary <int, Mst_ship>(); this.Mst_ship_resources = new Dictionary <int, Mst_ship_resources>(); this.Mst_shipgraph = new Dictionary <int, Mst_shipgraph>(); this.Mst_shipgraphbattle = new Dictionary <int, Mst_shipgraphbattle>(); this.Mst_Slotitem = new Dictionary <int, Mst_slotitem>(); this.Mst_slotitem_cost = new Dictionary <int, Mst_slotitem_cost>(); this.Mst_maparea = new Dictionary <int, Mst_maparea>(); this.Mst_mapinfo = new Dictionary <int, Mst_mapinfo>(); this.Mst_mapcell = new Dictionary <int, Mst_mapcell2>(); this.Mst_mapenemy = new Dictionary <int, Mst_mapenemy2>(); this.Mst_useitem = new Dictionary <int, Mst_useitem>(); this.Mst_stype = new Dictionary <int, Mst_stype>(); this.Mst_mission = new Dictionary <int, Mst_mission2>(); this.Mst_upgrade = new Dictionary <int, Mst_shipupgrade>(); this.Mst_furniture = new Dictionary <int, Mst_furniture>(); this.Mst_item_limit = new Dictionary <int, Mst_item_limit>(); this.Mst_equip_category = new Dictionary <int, Mst_equip_category>(); this.Mst_equip_ship = new Dictionary <int, Mst_equip_ship>(); this.Mst_const = new Dictionary <MstConstDataIndex, Mst_const>(); this.Mst_questcount = new Dictionary <int, Mst_questcount>(); this.Mst_RebellionPoint = new Dictionary <int, Mst_rebellionpoint>(); this._mst_jukebox = new Dictionary <int, Mst_bgm_jukebox>(); this.Mst_bgm_season = new Dictionary <int, int>(); this.UiBattleMaster = new UIBattleRequireMaster(); this.Mst_RadingRate = new Dictionary <int, Dictionary <int, Mst_radingrate> >(); this.Mst_RadingType = new Dictionary <int, List <Mst_radingtype> >(); }
public bool MakeUIBattleMaster(int mapinfo_id) { if (this.UiBattleMaster != null && this.UiBattleMaster.IsAllive()) { return(true); } this.UiBattleMaster = new UIBattleRequireMaster(mapinfo_id); if (!this.UiBattleMaster.IsAllive()) { this.UiBattleMaster.PurgeCollection(); return(false); } return(true); }