public static bool Test(NPCHumanContext c, AiLocationSpawner.SquadSpawnerLocation location) { if (Object.op_Inequality((Object)c.AiLocationManager, (Object)null)) { return(c.AiLocationManager.LocationType == location); } return(false); }
public static bool Test(NPCHumanContext c, AiLocationSpawner.SquadSpawnerLocation location) { if (c.AiLocationManager == null) { return(false); } return(c.AiLocationManager.LocationType == location); }
public static bool Test(PlayerTargetContext c, AiLocationSpawner.SquadSpawnerLocation location) { NPCPlayerApex self = c.Self as NPCPlayerApex; if (Object.op_Inequality((Object)self, (Object)null) && Object.op_Inequality((Object)self.AiContext.AiLocationManager, (Object)null)) { return(self.AiContext.AiLocationManager.LocationType == location); } return(false); }
public static bool Test(PlayerTargetContext c, AiLocationSpawner.SquadSpawnerLocation location) { NPCPlayerApex self = c.Self as NPCPlayerApex; if (self == null) { return(false); } if (self.AiContext.AiLocationManager == null) { return(false); } return(self.AiContext.AiLocationManager.LocationType == location); }