Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetSystemLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
| Include | #include "Kismet/KismetSystemLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
static void QuitGame
&40;
const UObject &42; WorldContextObject,
class APlayerController &42; SpecificPlayer,
TEnumAsByte< EQuitPreference::Type > QuitPreference,
bool bIgnorePlatformRestrictions
&41;
Remarks
Exit the current game
Parameters
| Name | Description |
|---|---|
| SpecificPlayer | The specific player to quit the game. If not specified, player 0 will quit. |
| QuitPreference | Form of quitting. |
| bIgnorePlatformRestrictions | Ignores and best-practices based on platform (e.g on some consoles, games should never quit). Non-shipping only |