|
Mortar Pro Plugin
Version 3
Modular Turret Plugin
|
#include <MortarProAggregateTickSubsystem.h>
Inheritance diagram for UMortarProAggregateTickSubsystem:
Collaboration diagram for UMortarProAggregateTickSubsystem:Public Member Functions | |
| void | DeRegisterComponent (FActorComponentTickFunction *TickFunction) |
| void | ExecuteTick (ETickingGroup TickGroup, float DeltaTime, ELevelTick TickType, ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) |
| void | RegisterComponent (FActorComponentTickFunction *TickFunction) |
Protected Member Functions | |
| virtual void | Initialize (FSubsystemCollectionBase &Collection) override |
Protected Attributes | |
| TArray< FActorComponentTickFunction * > | CleanupQueue |
| FMortarProTickablesTickFunction | ComponentsTick |
| TArray< class UMortarProProjectileMovement * > | ProRefs |
| TArray< class UMortarProProjectileMovement * > | ProRefsClean |
| TArray< FActorComponentTickFunction * > | TickableComponents |
Registered tick of the subsystem with the standard tick task graph
| void UMortarProAggregateTickSubsystem::DeRegisterComponent | ( | FActorComponentTickFunction * | TickFunction | ) |
DeRegister Component to tick from this sub system.
| [in] | TickFunction | Type FActorComponentTickFunction |
| void UMortarProAggregateTickSubsystem::ExecuteTick | ( | ETickingGroup | TickGroup, |
| float | DeltaTime, | ||
| ELevelTick | TickType, | ||
| ENamedThreads::Type | CurrentThread, | ||
| const FGraphEventRef & | MyCompletionGraphEvent | ||
| ) |
Execute Tick for this sub system. This tick will call tick of all other actor components
|
overrideprotectedvirtual |
Initializes Subsystem and Initializes Componment Tick
| void UMortarProAggregateTickSubsystem::RegisterComponent | ( | FActorComponentTickFunction * | TickFunction | ) |
Register Component to tick via aggregate tick sub system
| [in] | TickFunction | Type FActorComponentTickFunction |
|
protected |
Queue Containg Tick function of actors that needs to be removed This happen when we Deregister. We Cleanup after tick to avoid asserts when we get destroyed during iteration
|
protected |
Tick Function for this subsystem.
|
protected |
|
protected |
|
protected |
Stores Array of Actor Component's tick functions