![]() |
Crossfire Server, Trunk
1.75.0
|
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... | |
| int cfpython_globalEventListener | ( | int * | type, |
| ... | |||
| ) |
Definition at line 1705 of file cfpython.cpp.
References CFPContext::activator, buf, cf_log(), Crossfire_Map_wrap(), Crossfire_Object_wrap(), do_script(), CFPContext::event, EVENT_BORN, EVENT_CLOCK, CFPContext::event_code, EVENT_CRASH, EVENT_GBOUGHT, EVENT_GKILL, EVENT_GSOLD, EVENT_KICK, EVENT_LOGIN, EVENT_LOGOUT, EVENT_MAPENTER, EVENT_MAPLEAVE, EVENT_MAPLOAD, EVENT_MAPRESET, EVENT_MAPUNLOAD, EVENT_MUZZLE, EVENT_PLAYER_DEATH, EVENT_REMOVE, EVENT_SHOUT, EVENT_TELL, files, freeContext(), freeEventFiles(), getEventFiles(), getGlobalEventPath(), Handle_Map_Unload_Hook(), llevDebug, CFPContext::message, player::ob, CFPContext::options, popContext(), CFPContext::returnvalue, CFPContext::script, CFPContext::third, is_valid_types_gen::type, and CFPContext::who.
Referenced by postInitPlugin(), and registerGEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| void cfpython_runPluginCommand | ( | object * | op, |
| const char * | params | ||
| ) |
| PyObject* Crossfire_Archetype_wrap | ( | archetype * | what | ) |
Definition at line 62 of file cfpython_archetype.cpp.
References Crossfire_Archetype::arch, and Crossfire_ArchetypeType.
Referenced by Crossfire_Archetype_GetHead(), Crossfire_Archetype_GetMore(), Crossfire_Archetype_GetNext(), getArchetypes(), Object_GetArchetype(), and Object_GetOtherArchetype().
Here is the caller graph for this function:| PyObject* Crossfire_Map_wrap | ( | mapstruct * | what | ) |
Definition at line 446 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:| PyObject* Crossfire_Object_wrap | ( | object * | what | ) |
Python initialized.
Definition at line 1621 of file cfpython_object.cpp.
References add_object_assoc(), Crossfire_Object::count, Crossfire_Player::count, object::count, Crossfire_ObjectType, Crossfire_PlayerType, find_assoc_pyobject(), Crossfire_Object::obj, Crossfire_Player::obj, object_was_destroyed, PLAYER, and object::type.
Referenced by cfpython_globalEventListener(), createCFObject(), createCFObjectByName(), Crossfire_Archetype_GetClone(), Crossfire_Archetype_GetNewObject(), Crossfire_Object_CheckArchInventory(), Crossfire_Object_CheckInventory(), Crossfire_Object_Clone(), Crossfire_Object_CreateInside(), Crossfire_Object_InsertInto(), Crossfire_Object_KnowSpell(), Crossfire_Object_Split(), Crossfire_Party_GetPlayers(), eventListener(), findPlayer(), getFriendlyList(), getPlayers(), Map_Check(), Map_CreateObject(), Map_GetFirstObjectAt(), Map_Insert(), Map_InsertAround(), Object_GetObjectProperty(), Player_GetMarkedItem(), Player_GetObjectProperty(), and python_command_function().
Here is the call graph for this function:
Here is the caller graph for this function:| 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:| PyObject* Crossfire_Region_wrap | ( | region * | what | ) |
Definition at line 72 of file cfpython_region.cpp.
| void Handle_Map_Unload_Hook | ( | Crossfire_Map * | map | ) |
Definition at line 441 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: