Example #1
0
        public int getCanResetCount()
        {
            int count = VipMgr.getValue(VipMgr.PLOT_STAGE_RESET);

            if (resetCount > count)
            {
                return(0);
            }

            return(count - resetCount);
        }
Example #2
0
        public int getCanResetCount()
        {
            int  value = VipMgr.getValue(VipMgr.PLOT_STAGE_RESET);
            bool flag  = this.resetCount > value;
            int  result;

            if (flag)
            {
                result = 0;
            }
            else
            {
                result = value - this.resetCount;
            }
            return(result);
        }
Example #3
0
        public float getMaxCD()
        {
            int maxCD = 480 - VipMgr.getValue(VipMgr.TILI_RESTORE_TIME);

            return(maxCD);
        }
Example #4
0
        public float getMaxCD()
        {
            int num = 480 - VipMgr.getValue(VipMgr.TILI_RESTORE_TIME);

            return((float)num);
        }