Represents the configuration for the game, including settings for the LLM server, window dimensions, models, and NPCs. This configuration is provided by the game launcher.
More...
|
static GameConfig | LoadGameConfig (string configPath) |
| Loads the game configuration from a JSON file at the specified path. If the file does not exist or is invalid, a default configuration is returned.
|
|
Represents the configuration for the game, including settings for the LLM server, window dimensions, models, and NPCs. This configuration is provided by the game launcher.
◆ LoadGameConfig()
static GameConfig GameConfig.LoadGameConfig |
( |
string |
configPath | ) |
|
|
static |
Loads the game configuration from a JSON file at the specified path. If the file does not exist or is invalid, a default configuration is returned.
- Parameters
-
configPath | Path to the configuration file. |
- Returns
- A GameConfig object containing the loaded or default configuration.
◆ FullScreen
bool GameConfig.FullScreen |
Indicates whether the game should run in fullscreen mode.
◆ GameWindowHeight
int GameConfig.GameWindowHeight |
Height of the game window.
◆ GameWindowWidth
int GameConfig.GameWindowWidth |
Width of the game window.
◆ LlmServerApi
string GameConfig.LlmServerApi |
API endpoint for the LLM server.
◆ Models
List of model configurations used in the game.
◆ NarratorModelId
int GameConfig.NarratorModelId |
ID of the model used by the narrator.
◆ Npcs
List of NPC configurations used in the game.
◆ Revision
Revision number of the configuration file.
◆ Seed
Custom seed for the game, set if value other than 0.
The documentation for this class was generated from the following file: