Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/ps/ModInstaller.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Process and unpack the mod. | * Process and unpack the mod. | ||||
* @param mod path of .pyromod/.zip file | * @param mod path of .pyromod/.zip file | ||||
* @param keepFile if true, copy the file, if false move it | * @param keepFile if true, copy the file, if false move it | ||||
*/ | */ | ||||
ModInstallationResult Install( | ModInstallationResult Install( | ||||
const OsPath& mod, | const OsPath& mod, | ||||
const std::shared_ptr<ScriptRuntime>& scriptRuntime, | const std::shared_ptr<ScriptContext>& scriptContext, | ||||
bool keepFile); | bool keepFile); | ||||
/** | /** | ||||
* @return a list of all mods installed so far by this CModInstaller. | * @return a list of all mods installed so far by this CModInstaller. | ||||
*/ | */ | ||||
const std::vector<CStr>& GetInstalledMods() const; | const std::vector<CStr>& GetInstalledMods() const; | ||||
/** | /** | ||||
Show All 16 Lines |
Wildfire Games · Phabricator