private void RefreshReward(BaseTask cell) { this.ClearReward(); cell.GetTaskRewards(ref this.mRewards, cell.Task.taskType != Package.Task.TaskType.RingTask); for (int i = 0; i < this.mRewards.Count; i++) { this.CreateRewards(this.mRewards.ElementKeyAt(i), this.mRewards.ElementValueAt(i)); } }