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