public CheckInActivity(ActivitySys mgr, ResWealCheckIn config) : base(mgr, config.stCommon) { this._config = config; for (ushort i = 0; i < this._config.wDays; i = (ushort)(i + 1)) { CheckInPhase ap = new CheckInPhase(this, i, this._config.astReward[i]); base.AddPhase(ap); } this._lastCheckTime = 0; this._curFillPriceIndex = 0; }