示例#1
0
        private static BattleShopData Get_BattleShopData(this ModelManager mmng)
        {
            BattleShopData battleShopData = null;

            if (mmng != null && mmng.ValidData(EModelType.Model_battleShop))
            {
                battleShopData = mmng.GetData <BattleShopData>(EModelType.Model_battleShop);
            }
            return(battleShopData ?? new BattleShopData());
        }
示例#2
0
        public static ShopInfo Get_BattleShop_openShop(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.OpenShop);
        }
示例#3
0
        public static int Get_BattleShop_money(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.Money);
        }
示例#4
0
        public static List <List <SItemData> >[] Get_BattleShop_sections(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.Sections);
        }
示例#5
0
        public static List <string> Get_BattleShop_rItems(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.RItems);
        }
示例#6
0
        public static Dictionary <ColumnType, Dictionary <string, SItemData> > Get_BattleShop_shopitems(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.SItems);
        }
示例#7
0
        public static List <ItemInfo> Get_BattleShop_pItems(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.PItems);
        }
示例#8
0
        public static SItemData Get_BattleShop_preSItem(this ModelManager mng)
        {
            BattleShopData battleShopData = mng.Get_BattleShopData();

            return(battleShopData.PreSItem);
        }
示例#9
0
        public static ItemInfo Get_BattleShop_curPItem(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.CurPItem);
        }
示例#10
0
        public static bool Get_BattleShop_initRItems(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.B_initRItems);
        }
示例#11
0
        public static BattleEquipType Get_BattleShop_curMenu(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.CurMenu);
        }
示例#12
0
        public static bool Get_BattleShop_brawlCanBuy(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.Brawl_canBuy);
        }
示例#13
0
        public static bool Get_BattleShop_playerAlive(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.PlayerAlive);
        }
示例#14
0
        public static Dictionary <EBattleShopType, ShopInfo> Get_BattleShop_shops(this ModelManager mmng)
        {
            BattleShopData battleShopData = mmng.Get_BattleShopData();

            return(battleShopData.DicShops);
        }
示例#15
0
 public RItemsTool(BattleShopData data)
 {
     this.data = data;
 }
示例#16
0
 public SItemTool(BattleShopData data)
 {
     this.data = data;
 }