public static ArenaInfoConfigManager Instance()
 {
     if (instance == null)
     {
         instance = new ArenaInfoConfigManager();
     }
     return(instance);
 }
Esempio n. 2
0
    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);
    }