Example #1
0
 public override void Refresh(object _data)
 {
     if (_data == this.Data)
     {
         this.RefreshFinnishState();
         return;
     }
     this.Data = (AAItemDataEx)_data;
     this.RefreshData();
 }
Example #2
0
 private int GetSortWeight(AAItemDataEx data)
 {
     int result = 1000;
     if (data.IsTakeReward())
     {
         result = 0;
     }
     else if (data.IsComplete())
     {
         result = 1000000;
     }
     return result;
 }