LEAP Documentation 40220
Documentation for the LEAP project
AProjectXSpawnerObjective Class Reference

#include <ProjectXSpawnerObjective.h>

Inheritance diagram for AProjectXSpawnerObjective:
IReactsToMatchEvents ISpawnInterface AProjectXObjectiveCapturePoint AProjectXObjectiveDefendPoints AProjectXObjectiveVIP AProjectXTransportObjective

Public Member Functions

EObjectiveState GetObjectiveStat () const
 
UUserWidget *const GetObjectiveWidget () const
 
virtual bool GetWaveInfoOverride (EWaveSpawnerState State, FWaveStateInfo &FoundInfo) const
 
virtual void BeginSpawning_Implementation () override
 
virtual void StopSpawning_Implementation () override
 
virtual bool IsAnObjective () const override
 
virtual AProjectXSpawnerObjectiveGetObjective () override
 
virtual bool IsObjectiveComplete () const
 
virtual void SetObjectiveSucceded (bool bSuccess)
 
virtual FSpawnProgressSignature & GetSpawnCompleteEvent () override
 
virtual FSpawnEventCompleteSignature & GetEventCompleteEvent () override
 
virtual const TArray< TWeakObjectPtr< AActor > > & GetSharedObjectives () const
 
virtual void BeginPlay () override
 
virtual void EndPlay (const EEndPlayReason::Type EndPlayReason) override
 
virtual void StartWarmup ()
 
virtual void StartObjective ()
 
virtual void EndObjective ()
 
virtual void StartCleanup ()
 
virtual void ToggleObjectiveWidget (bool bWidgetActive)
 
- Public Member Functions inherited from IReactsToMatchEvents
void OnMatchStarted ()
 
virtual void MatchStarted ()
 
void OnMatchEnded ()
 
virtual void MatchEnded ()
 
- Public Member Functions inherited from ISpawnInterface
void K2_BeginSpawning (const TArray< TSubclassOf< AActor > > &SpawnOverrideList)
 
void BeginSpawning ()
 
void StopSpawning ()
 
TArray< TScriptInterface< ISpawnInterface > > GetSpawnChildren ()
 
virtual bool IsAnObjective () const
 
virtual AProjectXSpawnerObjectiveGetObjective ()
 
virtual bool ImplementsSpawnCompleteCallback () const
 
virtual FSpawnProgressSignature & GetSpawnCompleteEvent ()
 
virtual FSpawnEventCompleteSignature & GetEventCompleteEvent ()
 

Public Attributes

FSpawnEventCompleteSignature OnObjectiveCompletedEvent
 
FSpawnProgressSignature OnObjectiveSpawnedEvent
 
FObjectiveStatusUpdatedSignature OnObjectiveStatusUpdatedEvent
 

Protected Member Functions

virtual void InitializeGamePlayObjects ()
 
virtual void CollectSharedObjectivesList (TArray< TWeakObjectPtr< AActor > > SharedActors)
 
virtual void UpdateObjectiveStat (EObjectiveState State)
 
virtual void RequestObjectiveStatusUpdateDelayed ()
 
virtual void RequestObjectiveStatusUpdate ()
 
virtual void WarmupStarted ()
 
virtual void ObjectiveStarted ()
 
virtual void ObjectiveComplete ()
 
virtual void CleanupComplete ()
 
void OnWarmupStarted ()
 
void OnObjectiveStarted ()
 
void OnObjectiveComplete ()
 
void OnCleanupCompleted ()
 
void OnObjectiveWidgetToggled (UUserWidget *ObjectiveOwnedWidget, bool bToggled)
 
void OnRep_ObjectiveStatus ()
 

Protected Attributes

FObjectiveStatus ObjectiveStatus = FObjectiveStatus()
 
float WarmupDuration = 0.0f
 
float CleanUpDuration = 0.0
 
bool bDestroyWhenFinishedSpawning = false
 
bool bDebug = false
 
TMap< EWaveSpawnerState, FWaveStateInfoWaveInfoOverride
 
TArray< AProjectXSpawnerObjective * > LinkedObjectives = TArray<AProjectXSpawnerObjective*>()
 
TSubclassOf< UUserWidget > ObjectiveWidgetClass = NULL
 
float PlayerScalingValue = 1.0f
 
TWeakObjectPtr< UUserWidget > ObjectiveWidget = NULL
 
TWeakObjectPtr< AWaveSpawnerOwnedSpawner = NULL
 
TArray< TWeakInterfacePtr< IReactsToObjectiveInterface > > ReactsToObjectiveObjects = TArray<TWeakInterfacePtr<IReactsToObjectiveInterface>>()
 
TArray< TWeakObjectPtr< AActor > > SharedObjectiveActors = TArray<TWeakObjectPtr<AActor>>()
 
EObjectiveComplete ObjectiveCompletion = EObjectiveComplete::NONE
 

Member Function Documentation

◆ BeginPlay()

void AProjectXSpawnerObjective::BeginPlay ( )
overridevirtual

◆ BeginSpawning_Implementation()

void AProjectXSpawnerObjective::BeginSpawning_Implementation ( )
overridevirtual

Reimplemented in AProjectXTransportObjective.

◆ CleanupComplete()

void AProjectXSpawnerObjective::CleanupComplete ( )
protectedvirtual

◆ CollectSharedObjectivesList()

virtual void AProjectXSpawnerObjective::CollectSharedObjectivesList ( TArray< TWeakObjectPtr< AActor > >  SharedActors)
inlineprotectedvirtual

Reimplemented in AProjectXObjectiveDefendPoints.

◆ EndObjective()

void AProjectXSpawnerObjective::EndObjective ( )
virtual

◆ EndPlay()

void AProjectXSpawnerObjective::EndPlay ( const EEndPlayReason::Type  EndPlayReason)
overridevirtual

◆ GetEventCompleteEvent()

virtual FSpawnEventCompleteSignature & AProjectXSpawnerObjective::GetEventCompleteEvent ( )
inlineoverridevirtual

Reimplemented from ISpawnInterface.

◆ GetObjective()

virtual AProjectXSpawnerObjective * AProjectXSpawnerObjective::GetObjective ( )
inlineoverridevirtual

Reimplemented from ISpawnInterface.

◆ GetObjectiveStat()

EObjectiveState AProjectXSpawnerObjective::GetObjectiveStat ( ) const
inline

◆ GetObjectiveWidget()

UUserWidget *const AProjectXSpawnerObjective::GetObjectiveWidget ( ) const
inline

◆ GetSharedObjectives()

virtual const TArray< TWeakObjectPtr< AActor > > & AProjectXSpawnerObjective::GetSharedObjectives ( ) const
inlinevirtual

◆ GetSpawnCompleteEvent()

virtual FSpawnProgressSignature & AProjectXSpawnerObjective::GetSpawnCompleteEvent ( )
inlineoverridevirtual

Reimplemented from ISpawnInterface.

◆ GetWaveInfoOverride()

bool AProjectXSpawnerObjective::GetWaveInfoOverride ( EWaveSpawnerState  State,
FWaveStateInfo FoundInfo 
) const
virtual

◆ InitializeGamePlayObjects()

virtual void AProjectXSpawnerObjective::InitializeGamePlayObjects ( )
inlineprotectedvirtual

◆ IsAnObjective()

virtual bool AProjectXSpawnerObjective::IsAnObjective ( ) const
inlineoverridevirtual

Reimplemented from ISpawnInterface.

◆ IsObjectiveComplete()

virtual bool AProjectXSpawnerObjective::IsObjectiveComplete ( ) const
inlinevirtual

◆ ObjectiveComplete()

void AProjectXSpawnerObjective::ObjectiveComplete ( )
protectedvirtual

◆ ObjectiveStarted()

void AProjectXSpawnerObjective::ObjectiveStarted ( )
protectedvirtual

◆ OnCleanupCompleted()

void AProjectXSpawnerObjective::OnCleanupCompleted ( )
protected

◆ OnObjectiveComplete()

void AProjectXSpawnerObjective::OnObjectiveComplete ( )
protected

◆ OnObjectiveStarted()

void AProjectXSpawnerObjective::OnObjectiveStarted ( )
protected

◆ OnObjectiveWidgetToggled()

void AProjectXSpawnerObjective::OnObjectiveWidgetToggled ( UUserWidget *  ObjectiveOwnedWidget,
bool  bToggled 
)
protected

◆ OnRep_ObjectiveStatus()

void AProjectXSpawnerObjective::OnRep_ObjectiveStatus ( )
protected

◆ OnWarmupStarted()

void AProjectXSpawnerObjective::OnWarmupStarted ( )
protected

◆ RequestObjectiveStatusUpdate()

void AProjectXSpawnerObjective::RequestObjectiveStatusUpdate ( )
protectedvirtual

◆ RequestObjectiveStatusUpdateDelayed()

void AProjectXSpawnerObjective::RequestObjectiveStatusUpdateDelayed ( )
protectedvirtual

◆ SetObjectiveSucceded()

void AProjectXSpawnerObjective::SetObjectiveSucceded ( bool  bSuccess)
virtual

◆ StartCleanup()

void AProjectXSpawnerObjective::StartCleanup ( )
virtual

◆ StartObjective()

void AProjectXSpawnerObjective::StartObjective ( )
virtual

◆ StartWarmup()

void AProjectXSpawnerObjective::StartWarmup ( )
virtual

◆ StopSpawning_Implementation()

void AProjectXSpawnerObjective::StopSpawning_Implementation ( )
overridevirtual

Reimplemented in AProjectXTransportObjective.

◆ ToggleObjectiveWidget()

void AProjectXSpawnerObjective::ToggleObjectiveWidget ( bool  bWidgetActive)
virtual

◆ UpdateObjectiveStat()

void AProjectXSpawnerObjective::UpdateObjectiveStat ( EObjectiveState  State)
protectedvirtual

◆ WarmupStarted()

void AProjectXSpawnerObjective::WarmupStarted ( )
protectedvirtual

Member Data Documentation

◆ bDebug

bool AProjectXSpawnerObjective::bDebug = false
protected

◆ bDestroyWhenFinishedSpawning

bool AProjectXSpawnerObjective::bDestroyWhenFinishedSpawning = false
protected

◆ CleanUpDuration

float AProjectXSpawnerObjective::CleanUpDuration = 0.0
protected

◆ LinkedObjectives

TArray<AProjectXSpawnerObjective*> AProjectXSpawnerObjective::LinkedObjectives = TArray<AProjectXSpawnerObjective*>()
protected

◆ ObjectiveCompletion

EObjectiveComplete AProjectXSpawnerObjective::ObjectiveCompletion = EObjectiveComplete::NONE
protected

◆ ObjectiveStatus

FObjectiveStatus AProjectXSpawnerObjective::ObjectiveStatus = FObjectiveStatus()
protected

◆ ObjectiveWidget

TWeakObjectPtr<UUserWidget> AProjectXSpawnerObjective::ObjectiveWidget = NULL
protected

◆ ObjectiveWidgetClass

TSubclassOf<UUserWidget> AProjectXSpawnerObjective::ObjectiveWidgetClass = NULL
protected

◆ OnObjectiveCompletedEvent

FSpawnEventCompleteSignature AProjectXSpawnerObjective::OnObjectiveCompletedEvent

◆ OnObjectiveSpawnedEvent

FSpawnProgressSignature AProjectXSpawnerObjective::OnObjectiveSpawnedEvent

◆ OnObjectiveStatusUpdatedEvent

FObjectiveStatusUpdatedSignature AProjectXSpawnerObjective::OnObjectiveStatusUpdatedEvent

◆ OwnedSpawner

TWeakObjectPtr<AWaveSpawner> AProjectXSpawnerObjective::OwnedSpawner = NULL
protected

◆ PlayerScalingValue

float AProjectXSpawnerObjective::PlayerScalingValue = 1.0f
protected

◆ ReactsToObjectiveObjects

TArray<TWeakInterfacePtr<IReactsToObjectiveInterface> > AProjectXSpawnerObjective::ReactsToObjectiveObjects = TArray<TWeakInterfacePtr<IReactsToObjectiveInterface>>()
protected

◆ SharedObjectiveActors

TArray<TWeakObjectPtr<AActor> > AProjectXSpawnerObjective::SharedObjectiveActors = TArray<TWeakObjectPtr<AActor>>()
protected

◆ WarmupDuration

float AProjectXSpawnerObjective::WarmupDuration = 0.0f
protected

◆ WaveInfoOverride

TMap<EWaveSpawnerState,FWaveStateInfo> AProjectXSpawnerObjective::WaveInfoOverride
protected

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