LEAP Documentation 40220
Documentation for the LEAP project
AProjectXObjectiveCapturePoint Class Reference

#include <ProjectXObjectiveCapturePoint.h>

Inheritance diagram for AProjectXObjectiveCapturePoint:
AProjectXSpawnerObjective IReactsToMatchEvents ISpawnInterface

Public Member Functions

uint8 GetPhaseNumber () const
 
int32 GetNumberOfCheckPoints () const
 
float GetPlayerCaptureRate () const
 
bool GetCapturePoints (uint8 PhaseNumber, TArray< AObjectiveCapturePoint * > &FoundCapturePoints) const
 
void GetAllCapturePoints (TArray< AObjectiveCapturePoint * > &FoundCapturePoints) const
 
virtual bool IsObjectiveComplete () const override
 
virtual bool IsCapturePhaseComplete () const
 
- Public Member Functions inherited from AProjectXSpawnerObjective
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

FOnCapturePointObjectivePhaseUpdatedSignature OnPhaseNumberUpdatedEvent
 
FOnCapturePointsUpdatedSignature OnCapturePointsUpdatedEvent
 
- Public Attributes inherited from AProjectXSpawnerObjective
FSpawnEventCompleteSignature OnObjectiveCompletedEvent
 
FSpawnProgressSignature OnObjectiveSpawnedEvent
 
FObjectiveStatusUpdatedSignature OnObjectiveStatusUpdatedEvent
 

Protected Member Functions

virtual void BeginPlay () override
 
virtual void InitializeGamePlayObjects () override
 
virtual void ObjectiveStarted () override
 
virtual void ObjectiveComplete () override
 
virtual void UpdateCapturePointPhase ()
 
virtual void StartCurrentCapturePhase ()
 
virtual void EndCurrentCapturePhase ()
 
virtual void OnObjectiveActorSpawned (AActor *SpawnedActor)
 
virtual void OnCapturePointClaimed (int32 TeamOwner, ACapturePoint *Point)
 
virtual void OnRep_PhaseNumber ()
 
virtual void OnRep_ChosenCapturePoints ()
 
- Protected Member Functions inherited from AProjectXSpawnerObjective
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

TArray< FCapturePointPhaseInfoPhaseInfo
 
TArray< AObjectiveCapturePoint * > AvailableCapturePoints
 
float CapturePointActivationDelay = 0.0f
 
uint8 NumberOfCapturePointCheckpoints = 3
 
float PerPlayerCaptureRate = 2.0f
 
bool bDestroyPointsOnComplete = false
 
- Protected Attributes inherited from AProjectXSpawnerObjective
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 AProjectXObjectiveCapturePoint::BeginPlay ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ EndCurrentCapturePhase()

void AProjectXObjectiveCapturePoint::EndCurrentCapturePhase ( )
protectedvirtual

◆ GetAllCapturePoints()

void AProjectXObjectiveCapturePoint::GetAllCapturePoints ( TArray< AObjectiveCapturePoint * > &  FoundCapturePoints) const

◆ GetCapturePoints()

bool AProjectXObjectiveCapturePoint::GetCapturePoints ( uint8  PhaseNumber,
TArray< AObjectiveCapturePoint * > &  FoundCapturePoints 
) const

◆ GetNumberOfCheckPoints()

int32 AProjectXObjectiveCapturePoint::GetNumberOfCheckPoints ( ) const
inline

◆ GetPhaseNumber()

uint8 AProjectXObjectiveCapturePoint::GetPhaseNumber ( ) const
inline

◆ GetPlayerCaptureRate()

float AProjectXObjectiveCapturePoint::GetPlayerCaptureRate ( ) const

◆ InitializeGamePlayObjects()

void AProjectXObjectiveCapturePoint::InitializeGamePlayObjects ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ IsCapturePhaseComplete()

bool AProjectXObjectiveCapturePoint::IsCapturePhaseComplete ( ) const
virtual

◆ IsObjectiveComplete()

bool AProjectXObjectiveCapturePoint::IsObjectiveComplete ( ) const
overridevirtual

Reimplemented from AProjectXSpawnerObjective.

◆ ObjectiveComplete()

void AProjectXObjectiveCapturePoint::ObjectiveComplete ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ ObjectiveStarted()

void AProjectXObjectiveCapturePoint::ObjectiveStarted ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ OnCapturePointClaimed()

void AProjectXObjectiveCapturePoint::OnCapturePointClaimed ( int32  TeamOwner,
ACapturePoint Point 
)
protectedvirtual

◆ OnObjectiveActorSpawned()

void AProjectXObjectiveCapturePoint::OnObjectiveActorSpawned ( AActor *  SpawnedActor)
protectedvirtual

◆ OnRep_ChosenCapturePoints()

void AProjectXObjectiveCapturePoint::OnRep_ChosenCapturePoints ( )
protectedvirtual

◆ OnRep_PhaseNumber()

void AProjectXObjectiveCapturePoint::OnRep_PhaseNumber ( )
protectedvirtual

◆ StartCurrentCapturePhase()

void AProjectXObjectiveCapturePoint::StartCurrentCapturePhase ( )
protectedvirtual

◆ UpdateCapturePointPhase()

void AProjectXObjectiveCapturePoint::UpdateCapturePointPhase ( )
protectedvirtual

Member Data Documentation

◆ AvailableCapturePoints

TArray<AObjectiveCapturePoint*> AProjectXObjectiveCapturePoint::AvailableCapturePoints
protected

◆ bDestroyPointsOnComplete

bool AProjectXObjectiveCapturePoint::bDestroyPointsOnComplete = false
protected

◆ CapturePointActivationDelay

float AProjectXObjectiveCapturePoint::CapturePointActivationDelay = 0.0f
protected

◆ NumberOfCapturePointCheckpoints

uint8 AProjectXObjectiveCapturePoint::NumberOfCapturePointCheckpoints = 3
protected

◆ OnCapturePointsUpdatedEvent

FOnCapturePointsUpdatedSignature AProjectXObjectiveCapturePoint::OnCapturePointsUpdatedEvent

◆ OnPhaseNumberUpdatedEvent

FOnCapturePointObjectivePhaseUpdatedSignature AProjectXObjectiveCapturePoint::OnPhaseNumberUpdatedEvent

◆ PerPlayerCaptureRate

float AProjectXObjectiveCapturePoint::PerPlayerCaptureRate = 2.0f
protected

◆ PhaseInfo

TArray<FCapturePointPhaseInfo> AProjectXObjectiveCapturePoint::PhaseInfo
protected

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