1234567891011121314151617181920212223 |
- namespace GFGGame
- {
- public class GoodsItemTipsController
- {
- public static void ShowItemTips(int id, object[] sourceDatas = null, bool have = true)
- {
- if (SuitCfgArray.Instance.GetCfg(id) != null)
- {
- ViewManager.Show<SuitPartsDetailView>(id);
- }
- // else if (ItemUtilCS.IsDressUpItem(id))
- // {
- //ViewManager.Show<DressUpItemTipsView>(id);
- // }
- else
- {
- //sourceDatas{物品id,gobackData,物品需求量}
- ViewManager.Show<GoodsItemTipsView>(new object[] { id, sourceDatas, have });
- }
- }
- }
- }
|