LEAP Documentation 40220
Documentation for the LEAP project
AAssaultPoint Class Reference

#include <AssaultPoint.h>

Inheritance diagram for AAssaultPoint:
ISpawnTargetInterface IReactsToMatchEvents ITeamInterface ITrackableInterface

Public Member Functions

const FAssaultPointInfoGetAssaultPointInfo () const
 
int32 GetSortOrder () const
 
FText GetPointName () const
 
virtual int32 GetTeam () const override
 
AAssaultPointDestructibleGetDestructionPoint () const
 
uint8 GetPhase () const
 
bool IsDestroyed () const
 
FORCEINLINE bool IsLocked () const
 
bool IsActiveTarget () const
 
virtual void Initialize (int32 TeamOverride=INDEX_NONE)
 
virtual bool CanSpawnPlayer (const AProjectXPlayerState *Instigator) const override
 
virtual bool GetSpawnLocation (AProjectXPlayerState *Instigator, FTransform &Transform) const override
 
virtual AActor * GetTrackableInterfaceActor () override
 
virtual AActor * GetPlayerStart (class AController *Player) const
 
virtual int32 SetTeam (int32 NewTeamOwner) override
 
void OnPhaseUpdated (int32 NewPhase, int32 PreviousPhase)
 
- Public Member Functions inherited from ISpawnTargetInterface
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
 
- Public Member Functions inherited from IReactsToMatchEvents
void OnMatchStarted ()
 
virtual void MatchStarted ()
 
void OnMatchEnded ()
 
virtual void MatchEnded ()
 
virtual int32 GetTeam () const
 
virtual int32 SetTeam (int32 NewTeam)
 
- Public Member Functions inherited from ITrackableInterface
virtual void BroadcastTrackableActor ()
 
virtual FStopTrackingActorSignature & GetStopTrackingEvent ()
 
virtual TSoftObjectPtr< UTexture2D > GetMapIcon () const
 
virtual TSoftObjectPtr< UTexture2D > GetRadarIcon () const
 
virtual TSoftObjectPtr< UTexture2D > GetHudIcon () const
 
virtual AActor * GetTrackableInterfaceActor ()
 
virtual float GetRadarIconSize () const
 
virtual float GetRadarIconOpacity () const
 
virtual float GetRadarIconEnemyOpacity () const
 
virtual bool GetRadarIconCompensantesRotation () const
 
virtual bool GetAllyVisibilityResponse ()
 
virtual const FText & GetRadarLabel () const
 
virtual void SetRadarIconOpacity (float Opacity)
 
virtual bool IsCloaked () const
 
virtual bool RegisterOnStart () const
 

Public Attributes

FAssaultPointSignature OnAssaultPointDestroyedEvent
 
FAssaultPointInfoChangedEvent OnAssaultPointInfoChanged
 
FAssaultPointBombTargetChanged OnAssaultPointBombTargetChangedEvent
 

Protected Member Functions

virtual void BeginPlay () override
 
virtual void CollectPlayerStartList ()
 
void AssaultPointDestroyed ()
 
void GatherDestructiblePoints ()
 
void OnAssaultPointDestroyed ()
 
void OnTeamOwnerChanged ()
 
virtual void OnTargetDestroyed (AAssaultPointDestructible *ActorDestroyed)
 
void OnRep_AssaultPointInfo ()
 

Protected Attributes

int32 SortOrder = INDEX_NONE
 
int32 DefaultTeam = INDEX_NONE
 
FAssaultPointInfo AssaultPointInfo
 
TMap< EAssaultRole, TArray< AActor * > > PlayerStartList
 
TMap< EAssaultRole, class AStartPointVolume * > StartPointVolumes
 
TMap< EAssaultRole, FAssaultPointSoftBoundariesLinkLinkedSoftBoundaries
 
FText PointName = FText::FromString("X")
 
AAssaultPointDestructibleDestroyableTarget
 
int32 AssaultPointPhase = -1
 
bool bLocked = false
 
class UCapsuleComponent * Capsule = NULL
 

Additional Inherited Members

- Static Public Member Functions inherited from ISpawnTargetInterface
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)
 
- Static Public Member Functions inherited from ITeamInterface
static bool IsValidTeam (const ITeamInterface *const TeamInferface)
 

Member Function Documentation

◆ AssaultPointDestroyed()

void AAssaultPoint::AssaultPointDestroyed ( )
protected

◆ BeginPlay()

void AAssaultPoint::BeginPlay ( )
overrideprotectedvirtual

◆ CanSpawnPlayer()

bool AAssaultPoint::CanSpawnPlayer ( const AProjectXPlayerState Instigator) const
overridevirtual

Reimplemented from ISpawnTargetInterface.

◆ CollectPlayerStartList()

void AAssaultPoint::CollectPlayerStartList ( )
protectedvirtual

◆ GatherDestructiblePoints()

void AAssaultPoint::GatherDestructiblePoints ( )
protected

◆ GetAssaultPointInfo()

const FAssaultPointInfo & AAssaultPoint::GetAssaultPointInfo ( ) const
inline

◆ GetDestructionPoint()

AAssaultPointDestructible * AAssaultPoint::GetDestructionPoint ( ) const
inline

◆ GetPhase()

uint8 AAssaultPoint::GetPhase ( ) const
inline

◆ GetPlayerStart()

AActor * AAssaultPoint::GetPlayerStart ( class AController *  Player) const
virtual

◆ GetPointName()

FText AAssaultPoint::GetPointName ( ) const
inline

◆ GetSortOrder()

int32 AAssaultPoint::GetSortOrder ( ) const
inline

◆ GetSpawnLocation()

bool AAssaultPoint::GetSpawnLocation ( AProjectXPlayerState Instigator,
FTransform &  Transform 
) const
overridevirtual

Reimplemented from ISpawnTargetInterface.

◆ GetTeam()

virtual int32 AAssaultPoint::GetTeam ( ) const
inlineoverridevirtual

Reimplemented from ITeamInterface.

◆ GetTrackableInterfaceActor()

virtual AActor * AAssaultPoint::GetTrackableInterfaceActor ( )
inlineoverridevirtual

Reimplemented from ITrackableInterface.

◆ Initialize()

void AAssaultPoint::Initialize ( int32  TeamOverride = INDEX_NONE)
virtual

◆ IsActiveTarget()

bool AAssaultPoint::IsActiveTarget ( ) const

◆ IsDestroyed()

bool AAssaultPoint::IsDestroyed ( ) const
inline

◆ IsLocked()

FORCEINLINE bool AAssaultPoint::IsLocked ( ) const
inline

◆ OnAssaultPointDestroyed()

void AAssaultPoint::OnAssaultPointDestroyed ( )
protected

◆ OnPhaseUpdated()

void AAssaultPoint::OnPhaseUpdated ( int32  NewPhase,
int32  PreviousPhase 
)

◆ OnRep_AssaultPointInfo()

void AAssaultPoint::OnRep_AssaultPointInfo ( )
protected

◆ OnTargetDestroyed()

void AAssaultPoint::OnTargetDestroyed ( AAssaultPointDestructible ActorDestroyed)
protectedvirtual

◆ OnTeamOwnerChanged()

void AAssaultPoint::OnTeamOwnerChanged ( )
protected

◆ SetTeam()

int32 AAssaultPoint::SetTeam ( int32  NewTeamOwner)
overridevirtual

Reimplemented from ITeamInterface.

Member Data Documentation

◆ AssaultPointInfo

FAssaultPointInfo AAssaultPoint::AssaultPointInfo
protected

◆ AssaultPointPhase

int32 AAssaultPoint::AssaultPointPhase = -1
protected

◆ bLocked

bool AAssaultPoint::bLocked = false
protected

◆ Capsule

class UCapsuleComponent* AAssaultPoint::Capsule = NULL
protected

◆ DefaultTeam

int32 AAssaultPoint::DefaultTeam = INDEX_NONE
protected

◆ DestroyableTarget

AAssaultPointDestructible* AAssaultPoint::DestroyableTarget
protected

◆ LinkedSoftBoundaries

TMap<EAssaultRole, FAssaultPointSoftBoundariesLink> AAssaultPoint::LinkedSoftBoundaries
protected

◆ OnAssaultPointBombTargetChangedEvent

FAssaultPointBombTargetChanged AAssaultPoint::OnAssaultPointBombTargetChangedEvent

◆ OnAssaultPointDestroyedEvent

FAssaultPointSignature AAssaultPoint::OnAssaultPointDestroyedEvent

◆ OnAssaultPointInfoChanged

FAssaultPointInfoChangedEvent AAssaultPoint::OnAssaultPointInfoChanged

◆ PlayerStartList

TMap<EAssaultRole,TArray<AActor*> > AAssaultPoint::PlayerStartList
protected

◆ PointName

FText AAssaultPoint::PointName = FText::FromString("X")
protected

◆ SortOrder

int32 AAssaultPoint::SortOrder = INDEX_NONE
protected

◆ StartPointVolumes

TMap<EAssaultRole,class AStartPointVolume*> AAssaultPoint::StartPointVolumes
protected

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