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