Navigation
API > API/Plugins > API/Plugins/Gauntlet > API/Plugins/Gauntlet/FGauntletModule
Description
This is a convenient way of binding a list of AGameState types to your own state defines. When there is a state change in the world (e.g. from loading a new map) the mapped state type will be broadcast to all controllers.
| Name | SetGameStateToTestStateMapping |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Gauntlet/Source/Gauntlet/Public/GauntletModule.h |
| Include Path | #include "GauntletModule.h" |
void SetGameStateToTestStateMapping
(
const TMap < UClass *, FName > & Mapping
)
: void
Parameters
| Name | Remarks |
|---|---|
| Mapping - A map e.g. [AGameStateSomethingClass, StateSomething] |