![]() |
Crossfire Server, Trunk
1.75.0
|
Go to the source code of this file.
Functions | |
int | cflogger_globalEventListener (int *type,...) |
Handles a global event. More... | |
int | cflogger_runPluginCommand (object *op, char *params) |
Runs a plugin command. More... | |
int | closePlugin (void) |
called before the plugin gets unloaded from memory. More... | |
int | eventListener (int *type,...) |
Handles an object-related event. More... | |
void * | getPluginProperty (int *type,...) |
The server calls this function to get information about the plugin, notably the name and version. More... | |
int | initPlugin (const char *iversion, f_plug_api gethooksptr) |
The server calls this function after loading the plugin. More... | |
int | postInitPlugin (void) |
The server calls this function to actually initialize the plugin here, after object handlers are registered. More... | |
int cflogger_globalEventListener | ( | int * | type, |
... | |||
) |
Handles a global event.
type | ignored. |
Definition at line 598 of file cflogger.cpp.
References add_death(), add_map_event(), add_player_event(), EVENT_BORN, EVENT_CLOCK, EVENT_GKILL, EVENT_KICK, EVENT_LOGIN, EVENT_LOGOUT, EVENT_MAPENTER, EVENT_MAPLEAVE, EVENT_MAPLOAD, EVENT_MAPRESET, EVENT_MAPUNLOAD, EVENT_MUZZLE, EVENT_PLAYER_DEATH, EVENT_REMOVE, player::ob, store_time(), and is_valid_types_gen::type.
Referenced by postInitPlugin().
int cflogger_runPluginCommand | ( | object * | op, |
char * | params | ||
) |
Runs a plugin command.
Doesn't do anything.
op | ignored. |
params | ignored. |
Definition at line 582 of file cflogger.cpp.