public CheckInActivity(ActivitySys mgr, ResWealCheckIn config) : base(mgr, config.stCommon)
 {
     this._config = config;
     for (ushort num = 0; num < this._config.wDays; num += 1)
     {
         CheckInPhase ap = new CheckInPhase(this, (uint)num, this._config.astReward[(int)num]);
         base.AddPhase(ap);
     }
     this._lastCheckTime     = 0u;
     this._curFillPriceIndex = 0;
 }
Exemple #2
0
 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;
 }