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)); }
public static float Test(NPCHumanContext c) { if (c.ChairTarget == null) { return(0f); } return(InMountRangeOfChair.IsInRange(c, c.ChairTarget)); }
public override float GetScore(BaseContext context) { return(InMountRangeOfChair.Test(context as NPCHumanContext)); }