Esempio n. 1
0
        private void CreateMenuList()
        {
            switch (Group)
            {
            case MenuDefine.Group.Menu:
                CategoryData.Add(new MenuCategoryData(MenuDefine.Category.Bag));
                CategoryData.Add(new MenuCategoryData(MenuDefine.Category.Equip));
                CategoryData.Add(new MenuCategoryData(MenuDefine.Category.Other));
                break;

            case MenuDefine.Group.Shop:
                break;
            }
        }
Esempio n. 2
0
 public int Add(Category model)
 {
     return(_categoryData.Add(model));;
 }