private void RankUpPress(UnitAbilityListItemEvents.ListItemTouchController controller)
 {
     if (this.OnRankUpBtnPress == null)
     {
         return;
     }
     this.OnRankUpBtnPress(((Component)this).get_gameObject());
 }
 public void RankUp(UnitAbilityListItemEvents.ListItemTouchController controller)
 {
     if (this.OnRankUp == null)
     {
         return;
     }
     this.OnRankUp(((Component)this).get_gameObject());
 }
 private void Start()
 {
     this.UpdateItemStates();
     if (!Object.op_Inequality((Object)this.RankupButton, (Object)null))
     {
         return;
     }
     this.mTouchController = (UnitAbilityListItemEvents.ListItemTouchController)((Component)this.RankupButton).get_gameObject().AddComponent <UnitAbilityListItemEvents.ListItemTouchController>();
     this.mTouchController.OnPointerDownFunc = new UnitAbilityListItemEvents.ListItemTouchController.DelegateOnPointerDown(this.RankUpPress);
     this.mTouchController.OnPointerUpFunc   = new UnitAbilityListItemEvents.ListItemTouchController.DelegateOnPointerUp(this.RankUpUp);
     this.mTouchController.RankUpFunc        = new UnitAbilityListItemEvents.ListItemTouchController.DelegateRankUp(this.RankUp);
 }