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; } }
public int Add(Category model) { return(_categoryData.Add(model));; }