Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ULocalPlayerSaveGame
Description
Synchronously save using the slot and user index, stalling the main thread until it completes. This will return true if the save was requested, and errors should be handled by the HandlePostSave function that will be called immediately.
| Name | SaveGameToSlotForLocalPlayer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/SaveGame.h |
| Include Path | #include "GameFramework/SaveGame.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameFramework/SaveGame.cpp |
UFUNCTION (BlueprintCallable, Category="SaveGame|LocalPlayer")
virtual bool SaveGameToSlotForLocalPlayer()