bot: added support for loading from custom folders (ref #498)

This commit is contained in:
jeefo 2023-12-20 00:06:45 +03:00
commit a904f49231
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
7 changed files with 59 additions and 19 deletions

View file

@ -78,6 +78,12 @@ public:
// builds the filename to requested filename
String buildPath (int32_t type, bool isMemoryLoad = false);
// get's relative path against bot library (bot library should reside in bin dir)
String getRunningPath ();
// same as above, but with valve-specific filesystem paths (loadfileforme)
String getRunningPathVFS ();
// converts storage option to storage filename
int32_t storageToBotFile (int32_t options);