public ExeTaskActivity(ActivitySys mgr, ResWealCondition config) : base(mgr, config.stCommon) { this._config = config; for (ushort i = 0; (i < this._config.wConNum) && (i < this._config.astConInfo.Length); i = (ushort)(i + 1)) { ExeTaskPhase ap = new ExeTaskPhase(this, i, this._config.astConInfo[i]); base.AddPhase(ap); if (this._config.astConInfo[i].dwConType == 14) { mgr.IsShareTask = true; } } }
public ExeTaskActivity(ActivitySys mgr, ResWealCondition config) : base(mgr, config.stCommon) { this._config = config; ushort num = 0; while (num < this._config.wConNum && (int)num < this._config.astConInfo.Length) { ExeTaskPhase ap = new ExeTaskPhase(this, (uint)num, this._config.astConInfo[(int)num]); base.AddPhase(ap); if (this._config.astConInfo[(int)num].dwConType == 14u) { mgr.IsShareTask = true; } num += 1; } }
public ExeTaskActivity(ActivitySys mgr, ResWealCondition config) : base(mgr, config.stCommon) { this._config = config; if (this._config.bTrigType == 1) { for (int i = this._config.wConNum - 1; i >= 0; i--) { ExeTaskPhase ap = new ExeTaskPhase(this, (uint)((this._config.wConNum - 1) - i), this._config.astConInfo[i]); base.AddPhase(ap); } } else { for (ushort j = 0; (j < this._config.wConNum) && (j < this._config.astConInfo.Length); j = (ushort)(j + 1)) { ExeTaskPhase phase2 = new ExeTaskPhase(this, j, this._config.astConInfo[j]); base.AddPhase(phase2); } } }