Crossfire Server, Trunk  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);
postInitPlugin
int postInitPlugin(void)
The server calls this function to actually initialize the plugin here, after object handlers are regi...
Definition: cfanim.cpp:1246
cflogger_globalEventListener
int cflogger_globalEventListener(int *type,...)
Handles a global event.
Definition: cflogger.cpp:598
cflogger_runPluginCommand
int cflogger_runPluginCommand(object *op, char *params)
Runs a plugin command.
Definition: cflogger.cpp:582
initPlugin
int initPlugin(const char *iversion, f_plug_api gethooksptr)
The server calls this function after loading the plugin.
Definition: cfanim.cpp:1202
f_plug_api
void(* f_plug_api)(int *type,...)
General API function.
Definition: plugin.h:79
getPluginProperty
void * getPluginProperty(int *type,...)
The server calls this function to get information about the plugin, notably the name and version.
Definition: cfanim.cpp:1212
eventListener
int eventListener(int *type,...)
Handles an object-related event.
Definition: cfanim.cpp:1271
closePlugin
int closePlugin(void)
called before the plugin gets unloaded from memory.
Definition: cfanim.cpp:1318
is_valid_types_gen.type
list type
Definition: is_valid_types_gen.py:25