|
Weaponry Assembly System
WAS
|
#include <WeaponRuntimeGraph.h>
Inheritance diagram for UWeaponRuntimeGraph:
Collaboration diagram for UWeaponRuntimeGraph:Public Member Functions | |
| template<typename ... Args> | |
| void | AbortExecution (auto &&Format, Args &&... args) const |
| void | AbortExecution (FString &&Reason=FString(TEXT("No reason specified"))) |
| FORCEINLINE void | ClearContext () |
| template<typename T , typename... Args> | |
| TStackElement< T > | CreateStackElement (Args &&... args) |
| void | FinishExecution () |
| TArray< const UWeaponRuntimeNode * > | GetConstantNodes () const |
| FORCEINLINE const FWeaponExecutionContext & | GetDefaultExecutionContext () const |
| FORCEINLINE const FWeaponExecutionContext & | GetExecutionContext () const |
| FORCEINLINE const UWeaponAsset * | GetWeaponAsset () const |
| FORCEINLINE UObject * | GetWorldContext () const |
| bool | IsAborting () const |
| bool | IsExecuting () const |
| void | PrepareExecution (const FWeaponExecutionContext &Context, std::jmp_buf &AbortCheckpoint) |
| void | Reset () const |
Public Attributes | |
| TArray< UWeaponRuntimeNode * > | Nodes |
| const UWeaponAsset * | WeaponAsset |
Protected Attributes | |
| FString | AbortReason |
| bool | bAbortExecution = false |
| FDestructionStack | DestructionStack |
| FWeaponExecutionContext | ExecutionContext |
| std::jmp_buf * | StackCheckPoint |
Runtime graph container for weapon node execution. Manages execution context, node collection, and abort state.
|
inline |
Aborts execution with formatted reason (printf-style).
| void UWeaponRuntimeGraph::AbortExecution | ( | FString && | Reason = FString(TEXT("No reason specified")) | ) |
Sets abort flag and preserves original abort reason.
|
inline |
Clears execution context to default.
|
inline |
| void UWeaponRuntimeGraph::FinishExecution | ( | ) |
| TArray< const UWeaponRuntimeNode * > UWeaponRuntimeGraph::GetConstantNodes | ( | ) | const |
Returns const array of all graph nodes.
|
inline |
Returns default execution context from weapon asset.
|
inline |
Returns current execution context.
|
inline |
Returns the owning weapon asset.
|
inline |
Returns world context from execution context.
|
inline |
Returns true if graph is aborting.
|
inline |
| void UWeaponRuntimeGraph::PrepareExecution | ( | const FWeaponExecutionContext & | Context, |
| std::jmp_buf & | AbortCheckpoint ) |
| void UWeaponRuntimeGraph::Reset | ( | ) | const |
Resets graph node state.
|
protected |
Description of why execution was aborted.
|
protected |
Indicates graph has encountered a fatal error.
|
protected |
|
protected |
Runtime execution context with characteristics and modifications.
| TArray<UWeaponRuntimeNode*> UWeaponRuntimeGraph::Nodes |
All runtime nodes in the graph.
|
protected |
| const UWeaponAsset* UWeaponRuntimeGraph::WeaponAsset |
Reference to owning weapon asset.