Urho3D::LuaScriptEventListener Class Reference
Urho3D::LuaScriptEventListener Class Referenceabstract
Lua script event listener. More...
#include <Urho3D/LuaScript/LuaScriptEventListener.h>
Inheritance diagram for Urho3D::LuaScriptEventListener:
Public Member Functions | |
virtual | ~LuaScriptEventListener ()=default |
Destruct. | |
virtual void | AddEventHandler (const String &eventName, int index)=0 |
Add a scripted event handler by function at the given stack index. | |
virtual void | AddEventHandler (const String &eventName, const String &functionName)=0 |
Add a scripted event handler by function name. | |
virtual void | AddEventHandler (Object *sender, const String &eventName, int index)=0 |
Add a scripted event handler by function at the given stack index for a specific sender. | |
virtual void | AddEventHandler (Object *sender, const String &eventName, const String &functionName)=0 |
Add a scripted event handler by function name for a specific sender. | |
virtual void | RemoveEventHandler (const String &eventName)=0 |
Remove a scripted event handler. | |
virtual void | RemoveEventHandler (Object *sender, const String &eventName)=0 |
Remove a scripted event handler for a specific sender. | |
virtual void | RemoveEventHandlers (Object *sender)=0 |
Remove all scripted event handlers for a specific sender. | |
virtual void | RemoveAllEventHandlers ()=0 |
Remove all scripted event handlers. | |
virtual void | RemoveEventHandlersExcept (const Vector< String > &exceptionNames)=0 |
Remove all scripted event handlers, except those listed. | |
virtual bool | HasEventHandler (const String &eventName) const =0 |
Return whether has subscribed to an event. | |
virtual bool | HasEventHandler (Object *sender, const String &eventName) const =0 |
Return whether has subscribed to a specific sender's event. | |
Detailed Description
Lua script event listener.
The documentation for this class was generated from the following file:
- Source/Urho3D/LuaScript/LuaScriptEventListener.h