private void FindEyeTarget(List <PoolObjHandle <ActorRoot> > _srcList, int _count)
 {
     _srcList.Sort(delegate(PoolObjHandle <ActorRoot> a, PoolObjHandle <ActorRoot> b)
     {
         EyeWrapper eyeWrapper  = (EyeWrapper)a.get_handle().ActorControl;
         EyeWrapper eyeWrapper2 = (EyeWrapper)b.get_handle().ActorControl;
         int lifeTime           = eyeWrapper.LifeTime;
         int lifeTime2          = eyeWrapper2.LifeTime;
         int targetHpRate       = HitTriggerDurationContext.GetTargetHpRate(a);
         int targetHpRate2      = HitTriggerDurationContext.GetTargetHpRate(b);
         if (targetHpRate < targetHpRate2)
         {
             return(-1);
         }
         if (targetHpRate > targetHpRate2)
         {
             return(1);
         }
         if (lifeTime > lifeTime2)
         {
             return(-1);
         }
         if (lifeTime < lifeTime2)
         {
             return(1);
         }
         return(0);
     });
     for (int i = 0; i < _count; i++)
     {
         this.triggerPriority.Add(_srcList.get_Item(i));
     }
 }
 private void LowestHpFindTarget(List <PoolObjHandle <ActorRoot> > _srcList, int _count)
 {
     _srcList.Sort(delegate(PoolObjHandle <ActorRoot> a, PoolObjHandle <ActorRoot> b)
     {
         int targetHpRate  = HitTriggerDurationContext.GetTargetHpRate(a);
         int targetHpRate2 = HitTriggerDurationContext.GetTargetHpRate(b);
         if (targetHpRate == targetHpRate2)
         {
             return(0);
         }
         if (targetHpRate < targetHpRate2)
         {
             return(-1);
         }
         return(1);
     });
     for (int i = 0; i < _count; i++)
     {
         this.triggerPriority.Add(_srcList.get_Item(i));
     }
 }