Functions | |
| MODULEAPI void | initPlugin (struct plugin_hooklist *hooklist) |
| MODULEAPI void * | getPluginProperty (int *type,...) |
| MODULEAPI void * | triggerEvent (int *type,...) |
| MODULEAPI void | postinitPlugin () |
| MODULEAPI void | closePlugin () |
Exportable functions. Any plugin should define all these.
| MODULEAPI void closePlugin | ( | ) |
Called when the plugin is about to be unloaded.
Definition at line 181 of file plugin_arena.c.
| MODULEAPI void* getPluginProperty | ( | int * | type, | |
| ... | ||||
| ) |
Called to ask various informations about the plugin.
| type | Integer pointer for va_start(). |
Definition at line 186 of file plugin_arena.c.
| MODULEAPI void initPlugin | ( | struct plugin_hooklist * | hooklist | ) |
Called when the plugin initialization process starts.
| hooklist | Plugin hooklist to register. |
Definition at line 173 of file plugin_arena.c.
| MODULEAPI void postinitPlugin | ( | ) |
Called by the server when the plugin loading is completed.
Definition at line 217 of file plugin_arena.c.
| MODULEAPI void* triggerEvent | ( | int * | type, | |
| ... | ||||
| ) |
Called whenever an event occurs.
| type | Integer pointer for va_start(). |
Definition at line 650 of file plugin_arena.c.
1.6.2