GoodsItemTipsController.cs 693 B

1234567891011121314151617181920212223
  1. namespace GFGGame
  2. {
  3. public class GoodsItemTipsController
  4. {
  5. public static void ShowItemTips(int id, object[] sourceDatas = null, bool have = true)
  6. {
  7. if (SuitCfgArray.Instance.GetCfg(id) != null)
  8. {
  9. ViewManager.Show<SuitPartsDetailView>(id);
  10. }
  11. // else if (ItemUtilCS.IsDressUpItem(id))
  12. // {
  13. //ViewManager.Show<DressUpItemTipsView>(id);
  14. // }
  15. else
  16. {
  17. //sourceDatas{物品id,gobackData,物品需求量}
  18. ViewManager.Show<GoodsItemTipsView>(new object[] { id, sourceDatas, have });
  19. }
  20. }
  21. }
  22. }