Crossfire Server  1.75.0
cfpython_proto.h File Reference

Go to the source code of this file.

Functions

int cfpython_globalEventListener (int *type,...)
 
void cfpython_runPluginCommand (object *op, const char *params)
 
int closePlugin (void)
 called before the plugin gets unloaded from memory. More...
 
PyObject * Crossfire_Archetype_wrap (archetype *what)
 
PyObject * Crossfire_Map_wrap (mapstruct *what)
 
PyObject * Crossfire_Object_wrap (object *what)
 Python initialized. More...
 
PyObject * Crossfire_Party_wrap (partylist *what)
 
PyObject * Crossfire_Region_wrap (region *what)
 
int eventListener (int *type,...)
 Handles an object-related event. More...
 
void * getPluginProperty (int *type,...)
 The server calls this function to get information about the plugin, notably the name and version. More...
 
void Handle_Map_Unload_Hook (Crossfire_Map *map)
 
int initPlugin (const char *iversion, f_plug_api gethooksptr)
 The server calls this function after loading the plugin. More...
 
int postInitPlugin (void)
 The server calls this function to actually initialize the plugin here, after object handlers are registered. More...
 

Function Documentation

◆ cfpython_globalEventListener()

◆ cfpython_runPluginCommand()

void cfpython_runPluginCommand ( object op,
const char *  params 
)

◆ Crossfire_Archetype_wrap()

◆ Crossfire_Map_wrap()

◆ Crossfire_Object_wrap()

◆ Crossfire_Party_wrap()

PyObject* Crossfire_Party_wrap ( partylist what)

◆ Crossfire_Region_wrap()

PyObject* Crossfire_Region_wrap ( region what)

Definition at line 72 of file cfpython_region.cpp.

◆ Handle_Map_Unload_Hook()

void Handle_Map_Unload_Hook ( Crossfire_Map map)