public int getCanResetCount() { int count = VipMgr.getValue(VipMgr.PLOT_STAGE_RESET); if (resetCount > count) { return(0); } return(count - resetCount); }
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); }
public float getMaxCD() { int maxCD = 480 - VipMgr.getValue(VipMgr.TILI_RESTORE_TIME); return(maxCD); }
public float getMaxCD() { int num = 480 - VipMgr.getValue(VipMgr.TILI_RESTORE_TIME); return((float)num); }