Pyrogenesis  trunk
Namespaces | Functions
JSInterface_SavedGame.cpp File Reference
#include "precompiled.h"
#include "JSInterface_SavedGame.h"
#include "network/NetClient.h"
#include "network/NetServer.h"
#include "ps/CLogger.h"
#include "ps/Game.h"
#include "ps/SavedGame.h"
#include "scriptinterface/FunctionWrapper.h"
#include "scriptinterface/StructuredClone.h"
#include "simulation2/Simulation2.h"
#include "simulation2/system/TurnManager.h"
Include dependency graph for JSInterface_SavedGame.cpp:

Namespaces

 JSI_SavedGame
 

Functions

JS::Value JSI_SavedGame::GetSavedGames (const ScriptInterface &scriptInterface)
 Get list of saved games for GUI script usage. More...
 
bool JSI_SavedGame::DeleteSavedGame (const std::wstring &name)
 Permanently deletes the saved game archive with the given name. More...
 
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)
 
void JSI_SavedGame::QuickSave (JS::HandleValue GUIMetadata)
 
void JSI_SavedGame::QuickLoad ()
 
JS::Value JSI_SavedGame::StartSavedGame (const ScriptInterface &scriptInterface, const std::wstring &name)
 
void JSI_SavedGame::ActivateRejoinTest ()
 
void JSI_SavedGame::RegisterScriptFunctions (const ScriptRequest &rq)
 Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context. More...