OpenMW
|
#include <globalscripts.hpp>
Public Member Functions | |
GlobalScripts (const MWWorld::ESMStore &store) | |
void | reset () |
void | addScript (const std::string &name) |
void | removeScript (const std::string &name) |
bool | isRunning (const std::string &name) const |
void | run () |
run all active global scripts | |
Private Attributes | |
const MWWorld::ESMStore & | mStore |
std::map< std::string, std::pair< bool, Locals > > | mScripts |
MWScript::GlobalScripts::GlobalScripts | ( | const MWWorld::ESMStore & | store | ) |
void MWScript::GlobalScripts::addScript | ( | const std::string & | name | ) |
bool MWScript::GlobalScripts::isRunning | ( | const std::string & | name | ) | const |
void MWScript::GlobalScripts::removeScript | ( | const std::string & | name | ) |
void MWScript::GlobalScripts::reset | ( | ) |
void MWScript::GlobalScripts::run | ( | ) |
run all active global scripts
std::map<std::string, std::pair<bool, Locals> > MWScript::GlobalScripts::mScripts [private] |
const MWWorld::ESMStore& MWScript::GlobalScripts::mStore [private] |