コード例 #1
0
 public static float Test(NPCHumanContext c)
 {
     if (!Object.op_Inequality((Object)c.ChairTarget, (Object)null))
     {
         return(0.0f);
     }
     return(InMountRangeOfChair.IsInRange(c, (BaseMountable)c.ChairTarget));
 }
コード例 #2
0
 public static float Test(NPCHumanContext c)
 {
     if (c.ChairTarget == null)
     {
         return(0f);
     }
     return(InMountRangeOfChair.IsInRange(c, c.ChairTarget));
 }
コード例 #3
0
 public override float GetScore(BaseContext context)
 {
     return(InMountRangeOfChair.Test(context as NPCHumanContext));
 }