Crossfire Server  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"
11 CF_PLUGIN int cfanim_globalEventListener(int *type, ...);
12 extern "C"
13 CF_PLUGIN int eventListener(int *type, ...);
14 extern "C"
15 CF_PLUGIN int closePlugin(void);
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 int postInitPlugin(void)
The server calls this function to actually initialize the plugin here, after object handlers are regi...
Definition: cfanim.cpp:1246
CF_PLUGIN int cfanim_globalEventListener(int *type,...)
Definition: cfanim.cpp:1254
CF_PLUGIN int eventListener(int *type,...)
Handles an object-related event.
Definition: cfanim.cpp:1271
CF_PLUGIN int closePlugin(void)
called before the plugin gets unloaded from memory.
Definition: cfanim.cpp:1318
anim_move_result
Result of one animation move.
Definition: cfanim.h:45
#define CF_PLUGIN
Definition: plugin_common.h:38
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
CF_PLUGIN anim_move_result cfanim_runPluginCommand(object *op, char *params)
Definition: cfanim.cpp:1239
void(* f_plug_api)(int *type,...)
General API function.
Definition: plugin.h:79