Partager via


XGameRuntimeGameConfigSource

This enumeration defines ways that a game config can be passed when initializing the XGameConfigRuntime.

Syntax

enum class XGameRuntimeGameConfigSource : uint32_t 
{ 
    Default, 
    Inline, 
    File 
}  

Constants

Constant Description
Default The default game config for the process will be used.
Inline A UTF-8 string containing the entire game config contents will be used.
File A path to a game config file will be used. This can be an absolute path or a relative path relative to the current directory.

Requirements

Header: XGameRuntimeInit.h

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XGameRuntimeInitializeWithOptions
XGameRuntimeOptions
XGameRuntimeInit
Developing new titles using Gaming Runtime