ScummVM API documentation
Tetraedge::TeLuaContext Class Reference

Public Member Functions

void addBindings (void(*fn)(lua_State *))
 
void create ()
 
void destroy ()
 
TeVariant global (const Common::String &name)
 
void global (const Common::String &name, bool &outVal)
 
void global (const Common::String &name, Common::String &outVal)
 
void global (const Common::String &name, int &outVal)
 
void global (const Common::String &name, float &outVal)
 
bool isCreated ()
 
lua_StateluaState ()
 
void registerCFunction (const Common::String &name, int(*fn)(lua_State *))
 
void removeGlobal (const Common::String &name)
 
void setGlobal (const Common::String &name, int val)
 
void setGlobal (const Common::String &name, bool val)
 
void setGlobal (const Common::String &name, const Common::String &val)
 
void setInRegistry (const Common::String &name, TeLuaGUI *gui)
 
Common::Error syncState (Common::Serializer &s)
 

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