Jabber event that could be bound with NPL script.
More...
#include <JabberEventBinding.h>
|
|
void | InitEventMappingTable (bool bDisable=false) |
| |
|
void | EnableEvent (int eEvent) |
| | enable/disable an event
|
| |
|
void | DisableEvent (int eEvent) |
| |
|
void | MapEvent (int eSrcEvent, int eDestEvent) |
| | Mapping an event to another event.
|
| |
|
void | UnmapEvent (int eSrcEvent, int eDestEvent) |
| | Unmap an event to any event.
|
| |
|
bool | IsMapTo (int eSrcEvent, int eDestEvent) const |
| | Decide if the first event is mapped to the second event.
|
| |
|
void | MapEventToScript (int eEvent, const CScriptCallBack *script) |
| |
|
void | UnmapEventToScript (int eEvent) |
| |
| void | ClearAllScripts () |
| | clear all script mapping from the MapEventToScript() based calls. More...
|
| |
|
const CScriptCallBack * | GetEventScript (int eEvent) const |
| |
|
bool | HasEventScript (int eEvent) const |
| |
|
|
static void | StaticInit () |
| |
|
static int | StringToEventValue (const string &str) |
| |
|
static const string & | EventValueToString (int value) |
| |
|
|
bitset< JE_LAST > | m_pEventEnable |
| |
|
map< int, CScriptCallBack > | m_pEventToScript |
| |
|
set< int > | m_pEventMappingTable [JE_LAST] |
| |
|
|
static map< string, int > | StringToEventTable |
| |
|
static map< int, string > | EventToStringTable |
| |
Jabber event that could be bound with NPL script.
§ ClearAllScripts()
| void ParaEngine::CJabberEventBinding::ClearAllScripts |
( |
| ) |
|
clear all script mapping from the MapEventToScript() based calls.
The documentation for this class was generated from the following files:
- Client/trunk/ParaEngineClient/jabber/JabberEventBinding.h
- Client/trunk/ParaEngineClient/jabber/JabberEventBinding.cpp