Pyrogenesis
trunk
|
Classes | |
struct | BuildDirEntListState |
Functions | |
bool | PathRestrictionMet (const ScriptRequest &rq, const std::vector< CStrW > &validPaths, const CStrW &filePath) |
static Status | BuildDirEntListCB (const VfsPath &pathname, const CFileInfo &fileINfo, uintptr_t cbData) |
JS::Value | BuildDirEntList (const ScriptRequest &rq, const std::vector< CStrW > &validPaths, const std::wstring &path, const std::wstring &filterStr, bool recurse) |
bool | FileExists (const ScriptRequest &rq, const std::vector< CStrW > &validPaths, const CStrW &filename) |
double | GetFileMTime (const std::wstring &filename) |
unsigned int | GetFileSize (const std::wstring &filename) |
JS::Value | ReadFile (const ScriptRequest &rq, const std::vector< CStrW > &validPaths, const CStrW &filename) |
JS::Value | ReadFileLines (const ScriptRequest &rq, const std::vector< CStrW > &validPaths, const CStrW &filename) |
JS::Value | ReadJSONFile (const ScriptInterface &scriptInterface, const std::vector< CStrW > &validPaths, const CStrW &filePath) |
void | WriteJSONFile (const ScriptInterface &scriptInterface, const std::vector< CStrW > &validPaths, const CStrW &filePath, JS::HandleValue val1) |
bool | DeleteCampaignSave (const CStrW &filePath) |
VFS_ScriptFunctions (GUI) | |
VFS_ScriptFunctions (Simulation) | |
VFS_ScriptFunctions (Maps) | |
void | RegisterScriptFunctions_ReadWriteAnywhere (const ScriptRequest &rq) |
void | RegisterScriptFunctions_ReadOnlySimulation (const ScriptRequest &rq) |
void | RegisterScriptFunctions_ReadOnlySimulationMaps (const ScriptRequest &rq) |
JS::Value JSI_VFS::BuildDirEntList | ( | const ScriptRequest & | rq, |
const std::vector< CStrW > & | validPaths, | ||
const std::wstring & | path, | ||
const std::wstring & | filterStr, | ||
bool | recurse | ||
) |
|
static |
bool JSI_VFS::DeleteCampaignSave | ( | const CStrW & | filePath | ) |
bool JSI_VFS::FileExists | ( | const ScriptRequest & | rq, |
const std::vector< CStrW > & | validPaths, | ||
const CStrW & | filename | ||
) |
double JSI_VFS::GetFileMTime | ( | const std::wstring & | filename | ) |
unsigned int JSI_VFS::GetFileSize | ( | const std::wstring & | filename | ) |
bool JSI_VFS::PathRestrictionMet | ( | const ScriptRequest & | rq, |
const std::vector< CStrW > & | validPaths, | ||
const CStrW & | filePath | ||
) |
JS::Value JSI_VFS::ReadFile | ( | const ScriptRequest & | rq, |
const std::vector< CStrW > & | validPaths, | ||
const CStrW & | filename | ||
) |
JS::Value JSI_VFS::ReadFileLines | ( | const ScriptRequest & | rq, |
const std::vector< CStrW > & | validPaths, | ||
const CStrW & | filename | ||
) |
JS::Value JSI_VFS::ReadJSONFile | ( | const ScriptInterface & | scriptInterface, |
const std::vector< CStrW > & | validPaths, | ||
const CStrW & | filePath | ||
) |
void JSI_VFS::RegisterScriptFunctions_ReadOnlySimulation | ( | const ScriptRequest & | rq | ) |
void JSI_VFS::RegisterScriptFunctions_ReadOnlySimulationMaps | ( | const ScriptRequest & | rq | ) |
void JSI_VFS::RegisterScriptFunctions_ReadWriteAnywhere | ( | const ScriptRequest & | rq | ) |
JSI_VFS::VFS_ScriptFunctions | ( | GUI | ) |
JSI_VFS::VFS_ScriptFunctions | ( | Simulation | ) |
JSI_VFS::VFS_ScriptFunctions | ( | Maps | ) |
void JSI_VFS::WriteJSONFile | ( | const ScriptInterface & | scriptInterface, |
const std::vector< CStrW > & | validPaths, | ||
const CStrW & | filePath, | ||
JS::HandleValue | val1 | ||
) |