Crossfire Server, Trunk  1.75.0
cfanim_proto.h
Go to the documentation of this file.
1 /* cfanim.c */
2 extern "C"
3 CF_PLUGIN int initPlugin(const char *iversion, f_plug_api gethooksptr);
4 extern "C"
5 CF_PLUGIN void *getPluginProperty(int *type, ...);
6 extern "C"
7 CF_PLUGIN anim_move_result cfanim_runPluginCommand(object *op, char *params);
8 extern "C"
9 CF_PLUGIN int postInitPlugin(void);
10 extern "C"
12 extern "C"
13 CF_PLUGIN int eventListener(int *type, ...);
14 extern "C"
15 CF_PLUGIN int closePlugin(void);
postInitPlugin
CF_PLUGIN int postInitPlugin(void)
The server calls this function to actually initialize the plugin here, after object handlers are regi...
Definition: cfanim.cpp:1246
initPlugin
CF_PLUGIN int initPlugin(const char *iversion, f_plug_api gethooksptr)
The server calls this function after loading the plugin.
Definition: cfanim.cpp:1202
CF_PLUGIN
#define CF_PLUGIN
Definition: plugin_common.h:38
f_plug_api
void(* f_plug_api)(int *type,...)
General API function.
Definition: plugin.h:79
anim_move_result
anim_move_result
Result of one animation move.
Definition: cfanim.h:45
getPluginProperty
CF_PLUGIN 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
CF_PLUGIN int eventListener(int *type,...)
Handles an object-related event.
Definition: cfanim.cpp:1271
cfanim_runPluginCommand
CF_PLUGIN anim_move_result cfanim_runPluginCommand(object *op, char *params)
Definition: cfanim.cpp:1239
closePlugin
CF_PLUGIN int closePlugin(void)
called before the plugin gets unloaded from memory.
Definition: cfanim.cpp:1318
cfanim_globalEventListener
CF_PLUGIN int cfanim_globalEventListener(int *type,...)
Definition: cfanim.cpp:1254
is_valid_types_gen.type
list type
Definition: is_valid_types_gen.py:25