Pyrogenesis  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
JSI_SavedGame Namespace Reference

Functions

JS::Value GetSavedGames (ScriptInterface::CxPrivate *pCxPrivate)
 
bool DeleteSavedGame (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &name)
 
void SaveGame (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &filename, const std::wstring &description, JS::HandleValue GUIMetadata)
 
void SaveGamePrefix (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &prefix, const std::wstring &description, JS::HandleValue GUIMetadata)
 
void QuickSave (ScriptInterface::CxPrivate *pCxPrivate)
 
void QuickLoad (ScriptInterface::CxPrivate *pCxPrivate)
 
JS::Value StartSavedGame (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &name)
 
void RegisterScriptFunctions (const ScriptInterface &scriptInterface)
 Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context. More...
 

Function Documentation

bool JSI_SavedGame::DeleteSavedGame ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  name 
)
JS::Value JSI_SavedGame::GetSavedGames ( ScriptInterface::CxPrivate pCxPrivate)
void JSI_SavedGame::QuickLoad ( ScriptInterface::CxPrivate pCxPrivate)
void JSI_SavedGame::QuickSave ( ScriptInterface::CxPrivate pCxPrivate)
void JSI_SavedGame::RegisterScriptFunctions ( const ScriptInterface scriptInterface)

Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context.

Parameters
ScriptInterfaceJavaScript context where RegisterScriptFunctions() registers the functions.
See also
GuiScriptingInit()
void JSI_SavedGame::SaveGame ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  filename,
const std::wstring &  description,
JS::HandleValue  GUIMetadata 
)
void JSI_SavedGame::SaveGamePrefix ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  prefix,
const std::wstring &  description,
JS::HandleValue  GUIMetadata 
)
JS::Value JSI_SavedGame::StartSavedGame ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  name 
)