LEAP Documentation 40220
Documentation for the LEAP project
ISpawnTargetInterface Class Reference

#include <SpawnTargetInterface.h>

Inheritance diagram for ISpawnTargetInterface:
AAssaultPoint ACapturePoint ADeployableSpawnPoint AFlagSpawn APickupReviveBeacon AProjectXCharacter AProjectXSpawnTarget AProjectXVehicle ATeamDeathmatchSpawnPoint

Public Member Functions

virtual void RegisterActorForScoring ()
 
virtual void DeRegisterActorForScoring ()
 
virtual bool CanSpawnPlayer (const AProjectXPlayerState *Instigator) const
 
virtual bool GetSpawnLocation (AProjectXPlayerState *Instigator, FTransform &Transform) const
 
virtual float GetSpawnScoreForInstigator (const AActor *const QueryInstigator, FVector &TargetLocation, bool bUseDistanceToTargetLocation=false) const
 
virtual bool GetCanSpawnOnCombatTarget () const
 
virtual void UpdateCanSpawnOnCombatTarget (bool bNewInCombatSpawnTarget)
 
virtual bool ShouldRegisterForScoringOnStart () const
 

Static Public Member Functions

static const void GetAverageEnemyTeamLocation (const UObject *Caller, TArray< AActor * > &AvailableSpawnPoints, FVector &AverageEnemyLocation)
 
static AActor * GetFurthestLocationFromOtherPlayers (const UObject *Caller, TArray< AActor * > &AvailableSpawnPoints)
 
static AActor * GetRandomSafeSpawnLocation (const UObject *Caller, TArray< AActor * > &AvailableSpawnPoints, float MaximumSpawnDistance, float MinimumSpawnDistance)
 

Member Function Documentation

◆ CanSpawnPlayer()

◆ DeRegisterActorForScoring()

void ISpawnTargetInterface::DeRegisterActorForScoring ( )
virtual

◆ GetAverageEnemyTeamLocation()

const void ISpawnTargetInterface::GetAverageEnemyTeamLocation ( const UObject *  Caller,
TArray< AActor * > &  AvailableSpawnPoints,
FVector &  AverageEnemyLocation 
)
static

◆ GetCanSpawnOnCombatTarget()

virtual bool ISpawnTargetInterface::GetCanSpawnOnCombatTarget ( ) const
inlinevirtual

Reimplemented in AProjectXCharacter, and AProjectXVehicle.

◆ GetFurthestLocationFromOtherPlayers()

AActor * ISpawnTargetInterface::GetFurthestLocationFromOtherPlayers ( const UObject *  Caller,
TArray< AActor * > &  AvailableSpawnPoints 
)
static

◆ GetRandomSafeSpawnLocation()

AActor * ISpawnTargetInterface::GetRandomSafeSpawnLocation ( const UObject *  Caller,
TArray< AActor * > &  AvailableSpawnPoints,
float  MaximumSpawnDistance,
float  MinimumSpawnDistance 
)
static

◆ GetSpawnLocation()

virtual bool ISpawnTargetInterface::GetSpawnLocation ( AProjectXPlayerState Instigator,
FTransform &  Transform 
) const
inlinevirtual

◆ GetSpawnScoreForInstigator()

virtual float ISpawnTargetInterface::GetSpawnScoreForInstigator ( const AActor *const  QueryInstigator,
FVector &  TargetLocation,
bool  bUseDistanceToTargetLocation = false 
) const
inlinevirtual

◆ RegisterActorForScoring()

void ISpawnTargetInterface::RegisterActorForScoring ( )
virtual

◆ ShouldRegisterForScoringOnStart()

virtual bool ISpawnTargetInterface::ShouldRegisterForScoringOnStart ( ) const
inlinevirtual

◆ UpdateCanSpawnOnCombatTarget()

virtual void ISpawnTargetInterface::UpdateCanSpawnOnCombatTarget ( bool  bNewInCombatSpawnTarget)
inlinevirtual

Reimplemented in AProjectXCharacter.


The documentation for this class was generated from the following files: