| IModuleInterface
|
Module |
|
Header |
/Engine/Plugins/Experimental/Gauntlet/Source/Gauntlet/Public/GauntletModule.h |
Include |
#include "GauntletModule.h" |
class FGauntletModule : public IModuleInterface
Main Gauntlet Module. This is module is responsible for managing its underlying controllers and propagating events and state changes to them as necessary.
After initialization you should be prepared to feed this module with states that your controllers can respond to. This can be done either manually (BroadcastStateChange), through one of the helpers (e.g. SetGameStateToTestStateMapping), or a combination of both.
Name | Description | ||
---|---|---|---|
|
BroadcastStateChange ( |
Manually Broadcasts a state change to all current Gauntlet controllers. |
|
|
GetCurrentState() |
Returns the current state |
|
|
T * |
GetTestController() |
Templated casty version of the above |
|
UGauntletTes... |
GetTestController ( |
Returns the first controller (if any) matching the provided name |
|
double |
GetTimeInCurrentState() |
Returns the time spent in the current state |
|
MarkHeartbeatActive ( |
Mark the next heartbeat as active. |
|
|
SetGameStateToTestStateMapping |
This is a convenient way of binding a list of AGameState types to your own state defines. |
|
|
SetScreenshotPeriod ( |
Sets the rate for screenshots to be taken (default = 0) |
|
|
SetWorldToTestStateMapping |
This is a convenient way of binding a list of maps types to your own state defines. |