Navigation
API > API/Runtime > API/Runtime/Engine
Class to set and get game callbacks
| Name | FGameDelegates |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/GameDelegates.h |
| Include Path | #include "GameDelegates.h" |
Syntax
class FGameDelegates
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssignLayerChunkDelegate | FAssignLayerChunkDelegate | GameDelegates.h | ||
| CookedEditorPackageManagerFactoryDelegate | FCookedEditorPackageManagerFactoryDelegate | GameDelegates.h | ||
| EndPlayMapDelegate | FSimpleMulticastDelegate | GameDelegates.h | ||
| ExitCommandDelegate | FSimpleMulticastDelegate | GameDelegates.h | ||
| ExtendedSaveGameInfoDelegate | FExtendedSaveGameInfoDelegate | GameDelegates.h | ||
| HandleDisconnectDelegate | FHandleDisconnectDelegate | GameDelegates.h | ||
| ModifyCookDelegate | FModifyCookDelegate | GameDelegates.h | ||
| PendingConnectionLostDelegate | FPendingConnectionLostDelegate | GameDelegates.h | ||
| PostCommitMapChangeDelegate | FSimpleMulticastDelegate | GameDelegates.h | ||
| PreCommitMapChangeDelegate | FPreCommitMapChangeDelegate | GameDelegates.h | ||
| ViewTargetChangedDelegate | FViewTargetChangedDelegate | GameDelegates.h | ||
| WebServerActionDelegate | FWebServerActionDelegate | GameDelegates.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssignLayerChunkDelegate & GetAssignLayerChunkDelegate() |
Implement all delegates declared above. | GameDelegates.h | |
FCookedEditorPackageManagerFactoryDelegate & GetCookedEditorPackageManagerFactoryDelegate() |
GameDelegates.h | ||
FSimpleMulticastDelegate & GetEndPlayMapDelegate() |
Called when ending playing a map. | GameDelegates.h | |
FSimpleMulticastDelegate & GetExitCommandDelegate() |
Called when an exit command is received. | GameDelegates.h | |
FExtendedSaveGameInfoDelegate & GetExtendedSaveGameInfoDelegate() |
GameDelegates.h | ||
FHandleDisconnectDelegate & GetHandleDisconnectDelegate() |
Called when a player is disconnecting due to network failure. | GameDelegates.h | |
FModifyCookDelegate & GetModifyCookDelegate() |
Called at start of CookByTheBook. | GameDelegates.h | |
FPendingConnectionLostDelegate & GetPendingConnectionLostDelegate() |
Called when a pending connection has been lost. | GameDelegates.h | |
FSimpleMulticastDelegate & GetPostCommitMapChangeDelegate() |
GameDelegates.h | ||
FPreCommitMapChangeDelegate & GetPreCommitMapChangeDelegate() |
Called when pre/post committing a map change at runtime. | GameDelegates.h | |
FViewTargetChangedDelegate & GetViewTargetChangedDelegate() |
Called when a PlayerController view target changes. | GameDelegates.h | |
FWebServerActionDelegate & GetWebServerActionDelegate() |
GameDelegates.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGameDelegates & Get() |
Return a single FGameDelegates object | GameDelegates.h |