LEAP Documentation 40220
Documentation for the LEAP project
AObjectiveRandomizer Class Reference

#include <ObjectiveRandomizer.h>

Inheritance diagram for AObjectiveRandomizer:
IReactsToMatchEvents ISpawnInterface

Public Member Functions

virtual void BeginSpawning_Implementation () override
 
virtual void StopSpawning_Implementation () override
 
virtual AProjectXSpawnerObjectiveGetObjective () override
 
virtual bool IsAnObjective () const override
 
virtual FSpawnProgressSignature & GetSpawnCompleteEvent () override
 
virtual FSpawnEventCompleteSignature & GetEventCompleteEvent () override
 
- 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
 

Protected Member Functions

virtual void SetRandomObjetive ()
 
virtual void OnObjectiveCompleted (bool bSuccess)
 
virtual void OnObjectiveSpawned (UObject *Spawner)
 

Protected Attributes

TArray< AProjectXSpawnerObjective * > ObjectiveList = TArray<AProjectXSpawnerObjective*>()
 
TWeakObjectPtr< AProjectXSpawnerObjectiveSelectedObjective = nullptr
 

Member Function Documentation

◆ BeginSpawning_Implementation()

void AObjectiveRandomizer::BeginSpawning_Implementation ( )
overridevirtual

◆ GetEventCompleteEvent()

virtual FSpawnEventCompleteSignature & AObjectiveRandomizer::GetEventCompleteEvent ( )
inlineoverridevirtual

Reimplemented from ISpawnInterface.

◆ GetObjective()

AProjectXSpawnerObjective * AObjectiveRandomizer::GetObjective ( )
overridevirtual

Reimplemented from ISpawnInterface.

◆ GetSpawnCompleteEvent()

virtual FSpawnProgressSignature & AObjectiveRandomizer::GetSpawnCompleteEvent ( )
inlineoverridevirtual

Reimplemented from ISpawnInterface.

◆ IsAnObjective()

virtual bool AObjectiveRandomizer::IsAnObjective ( ) const
inlineoverridevirtual

Reimplemented from ISpawnInterface.

◆ OnObjectiveCompleted()

void AObjectiveRandomizer::OnObjectiveCompleted ( bool  bSuccess)
protectedvirtual

◆ OnObjectiveSpawned()

void AObjectiveRandomizer::OnObjectiveSpawned ( UObject *  Spawner)
protectedvirtual

◆ SetRandomObjetive()

void AObjectiveRandomizer::SetRandomObjetive ( )
protectedvirtual

◆ StopSpawning_Implementation()

void AObjectiveRandomizer::StopSpawning_Implementation ( )
overridevirtual

Member Data Documentation

◆ ObjectiveList

TArray<AProjectXSpawnerObjective*> AObjectiveRandomizer::ObjectiveList = TArray<AProjectXSpawnerObjective*>()
protected

◆ OnObjectiveCompletedEvent

FSpawnEventCompleteSignature AObjectiveRandomizer::OnObjectiveCompletedEvent

◆ OnObjectiveSpawnedEvent

FSpawnProgressSignature AObjectiveRandomizer::OnObjectiveSpawnedEvent

◆ SelectedObjective

TWeakObjectPtr<AProjectXSpawnerObjective> AObjectiveRandomizer::SelectedObjective = nullptr
protected

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