Crossfire Server, Trunk  1.75.0
cfpython_proto.h File Reference
+ This graph shows which files directly or indirectly include this file:

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()

PyObject* Crossfire_Archetype_wrap ( archetype what)

◆ Crossfire_Map_wrap()

PyObject* Crossfire_Map_wrap ( mapstruct what)

Definition at line 435 of file cfpython_map.cpp.

References add_map_assoc(), Crossfire_MapType, find_assoc_pymap(), Crossfire_Map::map, and Crossfire_Map::valid.

Referenced by cfpython_globalEventListener(), createMap(), getMapHasBeenLoaded(), getMaps(), Map_Next(), Object_GetMap(), and readyMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Crossfire_Object_wrap()

◆ Crossfire_Party_wrap()

PyObject* Crossfire_Party_wrap ( partylist what)

Definition at line 61 of file cfpython_party.cpp.

References Crossfire_PartyType, and Crossfire_Party::party.

Referenced by Crossfire_Party_GetNext(), getParties(), and Player_GetParty().

+ Here is the caller graph for this function:

◆ 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)

Definition at line 430 of file cfpython_map.cpp.

References free_map_assoc(), Crossfire_Map::map, and Crossfire_Map::valid.

Referenced by cfpython_globalEventListener().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: