Init args used by PFGameSave
Syntax
Members
backgroundQueue XTaskQueueHandle
An XTaskQueue that should be used for background work. If no queue is provided then a default (threadpool) queue will be used.
options uint64_t
Options from PFGameSaveInitOptions to use when initializing the game save system. Set to PFGameSaveInitOptions::None for default behavior.
saveFolder const char*
On some platforms, the game can store save files in various locations (e.g. My Docs, local app data, etc) On those platforms, this lets the game specify where save files are stored. This should be the root folder of where the game save files are stored. All its files and subfolders will be synchronized with the cloud. This param is ignored on platforms such as XBOX where the game save files are stored in a fixed location. On other platforms such as Steam Deck, it is required to be set to a valid path.
Requirements
Header: PFGameSaveFilesTypes.h
See also
PFGameSaveFilesTypes members Last modified on September 11, 2026