public virtual void OnCampScoreUpdated(ref SCampScoreUpdateParam prm) { for (int i = this.Conditions.Count - 1; (i >= 0) && (i < this.Conditions.Count); i--) { IStarCondition condition = this.Conditions[i]; if (condition != null) { condition.OnCampScoreUpdated(ref prm); } } }
public virtual void OnCampScoreUpdated(ref SCampScoreUpdateParam prm) { int num = this.Conditions.get_Count() - 1; while (num >= 0 && num < this.Conditions.get_Count()) { IStarCondition starCondition = this.Conditions.get_Item(num); if (starCondition != null) { starCondition.OnCampScoreUpdated(ref prm); } num--; } }