OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
Interpreter::Context Class Referenceabstract

#include <context.hpp>

Inheritance diagram for Interpreter::Context:
Collaboration diagram for Interpreter::Context:

Public Member Functions

virtual ~Context ()
 
virtual int getLocalShort (int index) const =0
 
virtual int getLocalLong (int index) const =0
 
virtual float getLocalFloat (int index) const =0
 
virtual void setLocalShort (int index, int value)=0
 
virtual void setLocalLong (int index, int value)=0
 
virtual void setLocalFloat (int index, float value)=0
 
virtual void messageBox (const std::string &message, const std::vector< std::string > &buttons)=0
 
void messageBox (const std::string &message)
 
virtual void report (const std::string &message)=0
 
virtual bool menuMode ()=0
 
virtual int getGlobalShort (const std::string &name) const =0
 
virtual int getGlobalLong (const std::string &name) const =0
 
virtual float getGlobalFloat (const std::string &name) const =0
 
virtual void setGlobalShort (const std::string &name, int value)=0
 
virtual void setGlobalLong (const std::string &name, int value)=0
 
virtual void setGlobalFloat (const std::string &name, float value)=0
 
virtual std::vector< std::string > getGlobals () const =0
 
virtual char getGlobalType (const std::string &name) const =0
 
virtual std::string getActionBinding (const std::string &action) const =0
 
virtual std::string getNPCName () const =0
 
virtual std::string getNPCRace () const =0
 
virtual std::string getNPCClass () const =0
 
virtual std::string getNPCFaction () const =0
 
virtual std::string getNPCRank () const =0
 
virtual std::string getPCName () const =0
 
virtual std::string getPCRace () const =0
 
virtual std::string getPCClass () const =0
 
virtual std::string getPCRank () const =0
 
virtual std::string getPCNextRank () const =0
 
virtual int getPCBounty () const =0
 
virtual std::string getCurrentCellName () const =0
 
virtual bool isScriptRunning (const std::string &name) const =0
 
virtual void startScript (const std::string &name, const std::string &targetId="")=0
 
virtual void stopScript (const std::string &name)=0
 
virtual float getDistance (const std::string &name, const std::string &id="") const =0
 
virtual float getSecondsPassed () const =0
 
virtual bool isDisabled (const std::string &id="") const =0
 
virtual void enable (const std::string &id="")=0
 
virtual void disable (const std::string &id="")=0
 
virtual int getMemberShort (const std::string &id, const std::string &name, bool global) const =0
 
virtual int getMemberLong (const std::string &id, const std::string &name, bool global) const =0
 
virtual float getMemberFloat (const std::string &id, const std::string &name, bool global) const =0
 
virtual void setMemberShort (const std::string &id, const std::string &name, int value, bool global)=0
 
virtual void setMemberLong (const std::string &id, const std::string &name, int value, bool global)=0
 
virtual void setMemberFloat (const std::string &id, const std::string &name, float value, bool global)=0
 
virtual std::string getTargetId () const =0
 

Constructor & Destructor Documentation

virtual Interpreter::Context::~Context ( )
inlinevirtual

Member Function Documentation

virtual void Interpreter::Context::disable ( const std::string &  id = "")
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::enable ( const std::string &  id = "")
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getActionBinding ( const std::string &  action) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getCurrentCellName ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual float Interpreter::Context::getDistance ( const std::string &  name,
const std::string &  id = "" 
) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual float Interpreter::Context::getGlobalFloat ( const std::string &  name) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual int Interpreter::Context::getGlobalLong ( const std::string &  name) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::vector<std::string> Interpreter::Context::getGlobals ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual int Interpreter::Context::getGlobalShort ( const std::string &  name) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual char Interpreter::Context::getGlobalType ( const std::string &  name) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual float Interpreter::Context::getLocalFloat ( int  index) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual int Interpreter::Context::getLocalLong ( int  index) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual int Interpreter::Context::getLocalShort ( int  index) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual float Interpreter::Context::getMemberFloat ( const std::string &  id,
const std::string &  name,
bool  global 
) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual int Interpreter::Context::getMemberLong ( const std::string &  id,
const std::string &  name,
bool  global 
) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual int Interpreter::Context::getMemberShort ( const std::string &  id,
const std::string &  name,
bool  global 
) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getNPCClass ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getNPCFaction ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getNPCName ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getNPCRace ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getNPCRank ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual int Interpreter::Context::getPCBounty ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getPCClass ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getPCName ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getPCNextRank ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getPCRace ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getPCRank ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual float Interpreter::Context::getSecondsPassed ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual std::string Interpreter::Context::getTargetId ( ) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual bool Interpreter::Context::isDisabled ( const std::string &  id = "") const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual bool Interpreter::Context::isScriptRunning ( const std::string &  name) const
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual bool Interpreter::Context::menuMode ( )
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::messageBox ( const std::string &  message,
const std::vector< std::string > &  buttons 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

void Interpreter::Context::messageBox ( const std::string &  message)
inline

Here is the call graph for this function:

virtual void Interpreter::Context::report ( const std::string &  message)
pure virtual

Implemented in MWScript::InterpreterContext, and MWGui::ConsoleInterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::setGlobalFloat ( const std::string &  name,
float  value 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::setGlobalLong ( const std::string &  name,
int  value 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::setGlobalShort ( const std::string &  name,
int  value 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::setLocalFloat ( int  index,
float  value 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::setLocalLong ( int  index,
int  value 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::setLocalShort ( int  index,
int  value 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::setMemberFloat ( const std::string &  id,
const std::string &  name,
float  value,
bool  global 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::setMemberLong ( const std::string &  id,
const std::string &  name,
int  value,
bool  global 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::setMemberShort ( const std::string &  id,
const std::string &  name,
int  value,
bool  global 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::startScript ( const std::string &  name,
const std::string &  targetId = "" 
)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:

virtual void Interpreter::Context::stopScript ( const std::string &  name)
pure virtual

Implemented in MWScript::InterpreterContext.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: