Crossfire Server, Trunk  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);
postInitPlugin
int postInitPlugin(void)
The server calls this function to actually initialize the plugin here, after object handlers are regi...
Definition: cfanim.cpp:1246
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
cfnewspaper_globalEventListener
int cfnewspaper_globalEventListener(int *type,...)
Definition: cfnewspaper.cpp:137
cfnewspaper_runPluginCommand
int cfnewspaper_runPluginCommand(object *op, char *params)
Definition: cfnewspaper.cpp:133
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