Crossfire Server  1.75.0
cflogger_proto.h
Go to the documentation of this file.
1 /* cflogger.c */
2 extern "C" int initPlugin(const char *iversion, f_plug_api gethooksptr);
3 extern "C" void *getPluginProperty(int *type, ...);
4 extern "C" int cflogger_runPluginCommand(object *op, char *params);
5 extern "C" int eventListener(int *type, ...);
6 extern "C" int cflogger_globalEventListener(int *type, ...);
7 extern "C" int postInitPlugin(void);
8 extern "C" int closePlugin(void);
int cflogger_runPluginCommand(object *op, char *params)
Runs a plugin command.
Definition: cflogger.cpp:582
int initPlugin(const char *iversion, f_plug_api gethooksptr)
The server calls this function after loading the plugin.
Definition: cfanim.cpp:1202
int postInitPlugin(void)
The server calls this function to actually initialize the plugin here, after object handlers are regi...
Definition: cfanim.cpp:1246
int eventListener(int *type,...)
Handles an object-related event.
Definition: cfanim.cpp:1271
int closePlugin(void)
called before the plugin gets unloaded from memory.
Definition: cfanim.cpp:1318
void * getPluginProperty(int *type,...)
The server calls this function to get information about the plugin, notably the name and version...
Definition: cfanim.cpp:1212
int cflogger_globalEventListener(int *type,...)
Handles a global event.
Definition: cflogger.cpp:598
void(* f_plug_api)(int *type,...)
General API function.
Definition: plugin.h:79