Something went wrong. Try again.
Massive multiplayer game aiming to create a collaborative musical environment.
Something went wrong. Try again.
BoomBox Codebase External CEGUI-0.6.2 ScriptingModules CEGUILua LuaScriptModule package EventSet.pkg
1.4 kB · 46 lines
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647/************************************************************************ Event*************************************************************************/class Event{ string getName() const;};
class EventConnection{ bool connected() const; void disconnect();};
/*********************************************************************** EventSet***********************************************************************/class EventSet{ void addEvent(string name); void removeEvent(string name); void removeAllEvents(); bool isEventPresent(string name);
tolua_throws|CEGUI::UnknownObjectException,error| tolua_outside EventConnection LuaFunctorSubscribeEvent @ subscribeEvent(string name, lua_Object funcIndex, lua_Object selfIndex=LUA_NOREF, lua_Object error_handler = LUA_NOREF, lua_State*);
tolua_throws|CEGUI::UnknownObjectException,error| EventConnection subscribeScriptedEvent @ subscribeEvent(string name, string callback_name);
void fireEvent(string name, EventArgs& args, string eventnamespace="");
bool isMuted() const; void setMutedState(bool setting);
tolua_outside EventIterator ceguiLua_getEventIterator @ getEventIterator() const;};
/*********************************************************************** GlobalEventSet***********************************************************************/class GlobalEventSet : public EventSet{ static GlobalEventSet& getSingleton();};