public static ArenaInfoConfigManager Instance() { if (instance == null) { instance = new ArenaInfoConfigManager(); } return(instance); }
public int getMaxCanBuyCount() { int addNum = 0; int vipLevel = UserManager.Instance.self.vipLevel; Vip vip = VipManagerment.Instance.getVipbyLevel(vipLevel); if (vip != null) { addNum = vip.privilege.areaCountBuyAdd; } return(ArenaInfoConfigManager.Instance().getSampleBySid(1001).num); }