![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Namespaces | |
| namespace | PathRestriction |
Classes | |
| struct | BuildDirEntListState |
Functions | |
| template<auto & restriction> | |
| bool | PathRestrictionMet (const ScriptRequest &rq, const std::wstring &filePath) |
| static Status | BuildDirEntListCB (const VfsPath &pathname, const CFileInfo &fileINfo, uintptr_t cbData) |
| template<auto & restriction> | |
| JS::Value | BuildDirEntList (const ScriptRequest &rq, const std::wstring &path, const std::wstring &filterStr, bool recurse) |
| template<auto & restriction> | |
| bool | FileExists (const ScriptRequest &rq, const std::wstring &filename) |
| double | GetFileMTime (const std::wstring &filename) |
| unsigned int | GetFileSize (const std::wstring &filename) |
| template<auto & restriction> | |
| JS::Value | ReadFile (const ScriptRequest &rq, const std::wstring &filename) |
| template<auto & restriction> | |
| JS::Value | ReadFileLines (const ScriptRequest &rq, const std::wstring &filename) |
| template<auto & restriction> | |
| JS::Value | ReadJSONFile (const ScriptInterface &scriptInterface, const std::wstring &filePath) |
| template<auto & restriction> | |
| void | WriteJSONFile (const ScriptInterface &scriptInterface, const std::wstring &filePath, JS::HandleValue val1) |
| bool | DeleteCampaignSave (const CStrW &filePath) |
| void | RegisterScriptFunctions_ReadWriteAnywhere (const ScriptRequest &rq, const u16 flags) |
| void | RegisterScriptFunctions_ReadOnlySimulation (const ScriptRequest &rq, const u16 flags) |
| void | RegisterScriptFunctions_ReadOnlySimulationMaps (const ScriptRequest &rq, const u16 flags) |
| JS::Value JSI_VFS::BuildDirEntList | ( | const ScriptRequest & | rq, |
| 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::wstring & | 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::wstring & | filePath | ||
| ) |
| JS::Value JSI_VFS::ReadFile | ( | const ScriptRequest & | rq, |
| const std::wstring & | filename | ||
| ) |
| JS::Value JSI_VFS::ReadFileLines | ( | const ScriptRequest & | rq, |
| const std::wstring & | filename | ||
| ) |
| JS::Value JSI_VFS::ReadJSONFile | ( | const ScriptInterface & | scriptInterface, |
| const std::wstring & | filePath | ||
| ) |
| void JSI_VFS::RegisterScriptFunctions_ReadOnlySimulation | ( | const ScriptRequest & | rq, |
| const u16 | flags | ||
| ) |
| void JSI_VFS::RegisterScriptFunctions_ReadOnlySimulationMaps | ( | const ScriptRequest & | rq, |
| const u16 | flags | ||
| ) |
| void JSI_VFS::RegisterScriptFunctions_ReadWriteAnywhere | ( | const ScriptRequest & | rq, |
| const u16 | flags | ||
| ) |
| void JSI_VFS::WriteJSONFile | ( | const ScriptInterface & | scriptInterface, |
| const std::wstring & | filePath, | ||
| JS::HandleValue | val1 | ||
| ) |