Pyrogenesis
trunk
|
Functions | |
JS::Value | GetSavedGames (const ScriptInterface &scriptInterface) |
Get list of saved games for GUI script usage. More... | |
bool | DeleteSavedGame (const std::wstring &name) |
Permanently deletes the saved game archive with the given name. More... | |
void | SaveGame (const ScriptRequest &rq, const std::wstring &filename, const std::wstring &description, JS::HandleValue GUIMetadata) |
void | SaveGamePrefix (const ScriptRequest &rq, const std::wstring &prefix, const std::wstring &description, JS::HandleValue GUIMetadata) |
void | QuickSave (JS::HandleValue GUIMetadata) |
void | QuickLoad () |
JS::Value | StartSavedGame (const ScriptInterface &scriptInterface, const std::wstring &name) |
void | ActivateRejoinTest () |
void | RegisterScriptFunctions (const ScriptRequest &rq) |
Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context. More... | |
void JSI_SavedGame::ActivateRejoinTest | ( | ) |
bool JSI_SavedGame::DeleteSavedGame | ( | const std::wstring & | name | ) |
Permanently deletes the saved game archive with the given name.
name | filename of saved game (without path or extension) |
JS::Value JSI_SavedGame::GetSavedGames | ( | const ScriptInterface & | scriptInterface | ) |
Get list of saved games for GUI script usage.
scriptInterface | the ScriptInterface in which to create the return data. |
void JSI_SavedGame::QuickLoad | ( | ) |
void JSI_SavedGame::QuickSave | ( | JS::HandleValue | GUIMetadata | ) |
void JSI_SavedGame::RegisterScriptFunctions | ( | const ScriptRequest & | rq | ) |
Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context.
ScriptRequest | Script Request where RegisterScriptFunctions() registers the functions. |
void JSI_SavedGame::SaveGame | ( | const ScriptRequest & | rq, |
const std::wstring & | filename, | ||
const std::wstring & | description, | ||
JS::HandleValue | GUIMetadata | ||
) |
void JSI_SavedGame::SaveGamePrefix | ( | const ScriptRequest & | rq, |
const std::wstring & | prefix, | ||
const std::wstring & | description, | ||
JS::HandleValue | GUIMetadata | ||
) |
JS::Value JSI_SavedGame::StartSavedGame | ( | const ScriptInterface & | scriptInterface, |
const std::wstring & | name | ||
) |