LEAP Documentation 40220
Documentation for the LEAP project
AProjectXTransportObjective Class Reference

#include <ProjectXTransportObjective.h>

Inheritance diagram for AProjectXTransportObjective:
AProjectXSpawnerObjective IReactsToMatchEvents ISpawnInterface

Public Member Functions

virtual bool IsObjectiveComplete () const override
 
AFlag *const GetFlagByCarrier (AProjectXCharacter *const Character) 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 ()
 

Protected Member Functions

virtual void BeginPlay () override
 
virtual void InitializeGamePlayObjects () override
 
virtual void BeginSpawning_Implementation () override
 
virtual void StopSpawning_Implementation () override
 
virtual void FlagCaptured (AFlag *Flag, AProjectXCharacter *PickingUpActor, int32 Team)
 
virtual void OnFlagUpdated (AFlag *Flag, bool NewFlag)
 
virtual void FlagPickedUp (AFlag *Flag, AProjectXCharacter *PickingUpActor, int32 Team)
 
virtual void FlagDropped (AFlag *Flag, AProjectXCharacter *DroppedCharacter, int32 Team)
 
- 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

int32 NumberOfItemsToTransport = 1
 
TArray< ATransportObjectiveSpawnPoint * > PickupLocations
 
TArray< ATransportObjectiveSpawnPoint * > DropOffLocations
 
TSubclassOf< UAfflictionInstance > CarrierAffliction
 
int32 CurrentCaptureAmount = 0
 
- 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
 

Additional Inherited Members

- Public Attributes inherited from AProjectXSpawnerObjective
FSpawnEventCompleteSignature OnObjectiveCompletedEvent
 
FSpawnProgressSignature OnObjectiveSpawnedEvent
 
FObjectiveStatusUpdatedSignature OnObjectiveStatusUpdatedEvent
 

Member Function Documentation

◆ BeginPlay()

void AProjectXTransportObjective::BeginPlay ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ BeginSpawning_Implementation()

void AProjectXTransportObjective::BeginSpawning_Implementation ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ FlagCaptured()

void AProjectXTransportObjective::FlagCaptured ( AFlag Flag,
AProjectXCharacter PickingUpActor,
int32  Team 
)
protectedvirtual

◆ FlagDropped()

void AProjectXTransportObjective::FlagDropped ( AFlag Flag,
AProjectXCharacter DroppedCharacter,
int32  Team 
)
protectedvirtual

◆ FlagPickedUp()

void AProjectXTransportObjective::FlagPickedUp ( AFlag Flag,
AProjectXCharacter PickingUpActor,
int32  Team 
)
protectedvirtual

◆ GetFlagByCarrier()

AFlag *const AProjectXTransportObjective::GetFlagByCarrier ( AProjectXCharacter *const  Character) const

◆ InitializeGamePlayObjects()

void AProjectXTransportObjective::InitializeGamePlayObjects ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ IsObjectiveComplete()

bool AProjectXTransportObjective::IsObjectiveComplete ( ) const
overridevirtual

Reimplemented from AProjectXSpawnerObjective.

◆ OnFlagUpdated()

void AProjectXTransportObjective::OnFlagUpdated ( AFlag Flag,
bool  NewFlag 
)
protectedvirtual

◆ StopSpawning_Implementation()

void AProjectXTransportObjective::StopSpawning_Implementation ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

Member Data Documentation

◆ CarrierAffliction

TSubclassOf<UAfflictionInstance> AProjectXTransportObjective::CarrierAffliction
protected

◆ CurrentCaptureAmount

int32 AProjectXTransportObjective::CurrentCaptureAmount = 0
protected

◆ DropOffLocations

TArray<ATransportObjectiveSpawnPoint*> AProjectXTransportObjective::DropOffLocations
protected

◆ NumberOfItemsToTransport

int32 AProjectXTransportObjective::NumberOfItemsToTransport = 1
protected

◆ PickupLocations

TArray<ATransportObjectiveSpawnPoint*> AProjectXTransportObjective::PickupLocations
protected

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