Crossfire Server  1.75.0
cfnewspaper_proto.h
Go to the documentation of this file.
1 /* cfnewspaper.c */
2 extern "C" int initPlugin(const char *iversion, f_plug_api gethooksptr);
3 extern "C" void *getPluginProperty(int *type, ...);
4 extern "C" int cfnewspaper_runPluginCommand(object *op, char *params);
5 extern "C" int cfnewspaper_globalEventListener(int *type, ...);
6 extern "C" int postInitPlugin(void);
7 extern "C" int eventListener(int *type, ...);
8 extern "C" int closePlugin(void);
int cfnewspaper_globalEventListener(int *type,...)
int initPlugin(const char *iversion, f_plug_api gethooksptr)
The server calls this function after loading the plugin.
Definition: cfanim.cpp:1202
int cfnewspaper_runPluginCommand(object *op, char *params)
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
void(* f_plug_api)(int *type,...)
General API function.
Definition: plugin.h:79