![]() |
Crossfire Server, Trunk
1.75.0
|
#include <cfpython.h>
#include <fcntl.h>
#include <stdarg.h>
#include <node.h>
#include <svnversion.h>
Go to the source code of this file.
Data Structures | |
struct | pycode_cache_entry |
One compiled script, cached in memory. More... | |
Macros | |
#define | MAX_COMMANDS 1024 |
#define | PYTHON_CACHE_SIZE 256 |
Number of python scripts to store the bytecode of at a time. More... | |
Functions | |
static void | addConstants (PyObject *module, const char *name, const CFConstant *constants) |
Add constants and a reverse dictionary to get the name from the value. More... | |
static PyObject * | addReply (PyObject *self, PyObject *args) |
static void | addSimpleConstants (PyObject *module, const char *name, const CFConstant *constants) |
Do half the job of addConstants. More... | |
CF_PLUGIN int | cfpython_globalEventListener (int *type,...) |
static void | cfpython_init_types (PyObject *m) |
Set up the various types (map, object, archetype and so on) as well as some constants, and Crossfire.error. More... | |
static PyObject * | cfpython_openpyfile (char *filename) |
Open a file in the way we need it for compilePython() and postInitPlugin(). More... | |
static FILE * | cfpython_pyfile_asfile (PyObject *obj) |
Return a file object from a Python file (as needed for compilePython() and postInitPlugin()) More... | |
CF_PLUGIN int | closePlugin (void) |
Close the plugin. More... | |
static PyCodeObject * | compilePython (char *filename) |
Outputs the compiled bytecode for a given python file, using in-memory caching of bytecode. More... | |
static PyObject * | costStringFromValue (PyObject *self, PyObject *args) |
static PyObject * | createCFObject (PyObject *self, PyObject *args) |
static PyObject * | createCFObjectByName (PyObject *self, PyObject *args) |
static PyObject * | createMap (PyObject *self, PyObject *args) |
static PyObject * | destroyTimer (PyObject *self, PyObject *args) |
static int | do_script (CFPContext *context) |
CF_PLUGIN int | eventListener (int *type,...) |
Handles an object-related event. More... | |
static PyObject * | findAnimation (PyObject *self, PyObject *args) |
static PyObject * | findFace (PyObject *self, PyObject *args) |
static PyObject * | findPlayer (PyObject *self, PyObject *args) |
static void | freeContext (CFPContext *context) |
static void | freeEventFiles (char **eventFiles) |
Clear the list of event files. More... | |
static PyObject * | getArchetypes (PyObject *self, PyObject *args) |
static PyObject * | getCFPythonVersion (PyObject *self, PyObject *args) |
static PyObject * | getConfigDirectory (PyObject *self, PyObject *args) |
static PyObject * | getDataDirectory (PyObject *self, PyObject *args) |
static PyObject * | getEvent (PyObject *self, PyObject *args) |
static char ** | getEventFiles (CFPContext *context) |
Get the list of script files to run for the specified global event context. More... | |
static PyObject * | getFriendlyList (PyObject *self, PyObject *args) |
static const char * | getGlobalEventPath (int code) |
static PyObject * | getLocalDirectory (PyObject *self, PyObject *args) |
static PyObject * | getMapDirectory (PyObject *self, PyObject *args) |
static PyObject * | getMapHasBeenLoaded (PyObject *self, PyObject *args) |
static PyObject * | getMaps (PyObject *self, PyObject *args) |
static PyObject * | getMonthName (PyObject *self, PyObject *args) |
static PyObject * | getParties (PyObject *self, PyObject *args) |
static PyObject * | getPeriodofdayName (PyObject *self, PyObject *args) |
static PyObject * | getPlayerDirectory (PyObject *self, PyObject *args) |
static PyObject * | getPlayers (PyObject *self, PyObject *args) |
CF_PLUGIN void * | getPluginProperty (int *type,...) |
Gets a plugin property. More... | |
static PyObject * | getPrivateDictionary (PyObject *self, PyObject *args) |
static PyObject * | getRegions (PyObject *self, PyObject *args) |
static PyObject * | getReturnValue (PyObject *self, PyObject *args) |
static PyObject * | getScriptName (PyObject *self, PyObject *args) |
static PyObject * | getScriptParameters (PyObject *self, PyObject *args) |
static PyObject * | getSeasonName (PyObject *self, PyObject *args) |
static PyObject * | getSharedDictionary (PyObject *self, PyObject *args) |
static PyObject * | getTempDirectory (PyObject *self, PyObject *args) |
static PyObject * | getTime (PyObject *self, PyObject *args) |
static PyObject * | getUniqueDirectory (PyObject *self, PyObject *args) |
static PyObject * | getWeekdayName (PyObject *self, PyObject *args) |
static PyObject * | getWhatIsMessage (PyObject *self, PyObject *args) |
static PyObject * | getWhoAmI (PyObject *self, PyObject *args) |
static PyObject * | getWhoIsActivator (PyObject *self, PyObject *args) |
static PyObject * | getWhoIsThird (PyObject *self, PyObject *args) |
static void | initConstants (PyObject *module) |
static void | initContextStack (void) |
int | initPlugin (const char *iversion, f_plug_api gethooksptr) |
Plugin initialisation function. More... | |
static PyObject * | log_message (PyObject *self, PyObject *args) |
static void | log_python_error (void) |
Trace a Python error to the Crossfire log. More... | |
static PyObject * | matchString (PyObject *self, PyObject *args) |
static PyObject * | npcSay (PyObject *self, PyObject *args) |
static CFPContext * | popContext (void) |
CF_PLUGIN int | postInitPlugin (void) |
Plugin was initialized, now to finish. More... | |
static void | pushContext (CFPContext *context) |
PyObject * | PyInit_cjson (void) |
static PyObject * | PyInit_Crossfire (void) |
static void | python_command_function (object *op, const char *params, const char *script) |
static PyObject * | readyMap (PyObject *self, PyObject *args) |
static PyObject * | registerCommand (PyObject *self, PyObject *args) |
static PyObject * | registerGEvent (PyObject *self, PyObject *args) |
static void | set_exception (const char *fmt,...) |
Set up an Python exception object. More... | |
static PyObject * | setPlayerMessage (PyObject *self, PyObject *args) |
static PyObject * | setReturnValue (PyObject *self, PyObject *args) |
static PyObject * | unregisterGEvent (PyObject *self, PyObject *args) |
Variables | |
static PyObject * | catcher = NULL |
A Python object receiving the contents of Python's stderr, and used to output to the Crossfire log instead of stderr. More... | |
static PyObject * | CFPythonError |
PyMethodDef | CFPythonMethods [] |
CFPContext * | context_stack |
static PyModuleDef | CrossfireModule |
const CFConstant | cstAttackMovement [] |
const CFConstant | cstAttackType [] |
const CFConstant | cstAttackTypeNumber [] |
const CFConstant | cstDirection [] |
const CFConstant | cstEventType [] |
const CFConstant | cstMessageFlag [] |
const CFConstant | cstMove [] |
const CFConstant | cstReplyTypes [] |
const CFConstant | cstTime [] |
const CFConstant | cstType [] |
CFPContext * | current_context |
static int | GECodes [] |
static const char * | GEPaths [] |
static PyObject * | private_data = NULL |
static pycode_cache_entry | pycode_cache [PYTHON_CACHE_SIZE] |
Cached compiled scripts. More... | |
static command_registration | registered_commands [MAX_COMMANDS] |
static PyObject * | shared_data = NULL |
CF_PLUGIN char | SvnRevPlugin [] = SVN_REV |
#define MAX_COMMANDS 1024 |
Definition at line 84 of file cfpython.cpp.
#define PYTHON_CACHE_SIZE 256 |
Number of python scripts to store the bytecode of at a time.
Definition at line 72 of file cfpython.cpp.
|
static |
Add constants and a reverse dictionary to get the name from the value.
The reverse dictionary will be named '{name}Name'.
module | where to add the constants to. |
name | enum name containing the constants. |
constants | constants to add, the last item must have its values all NULL. |
Definition at line 1064 of file cfpython.cpp.
References name.
Referenced by initConstants().
|
static |
Definition at line 671 of file cfpython.cpp.
References cf_add_string(), current_context, MAX_REPLIES, talk_info::replies, talk_info::replies_count, talk_info::replies_words, set_exception(), and CFPContext::talk.
|
static |
Do half the job of addConstants.
It only sets constants, but not a hashtable to get constant names from values. To be used for collections of constants which are not unique but still are useful for scripts.
module | where to add the constants to. |
name | enum name containing the constants. |
constants | constants to add, the last item must have its values all NULL. |
Definition at line 1096 of file cfpython.cpp.
References name.
Referenced by initConstants().
CF_PLUGIN int cfpython_globalEventListener | ( | int * | type, |
... | |||
) |
Definition at line 1706 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().
|
static |
Set up the various types (map, object, archetype and so on) as well as some constants, and Crossfire.error.
Definition at line 1434 of file cfpython.cpp.
References CFPythonError, Crossfire_ArchetypeType, Crossfire_MapType, Crossfire_ObjectType, Crossfire_PartyType, Crossfire_PlayerType, Crossfire_RegionType, d, llevDebug, llevError, llevInfo, llevMonster, and m.
Referenced by initPlugin().
|
static |
Open a file in the way we need it for compilePython() and postInitPlugin().
Definition at line 855 of file cfpython.cpp.
Referenced by compilePython(), and postInitPlugin().
|
static |
Return a file object from a Python file (as needed for compilePython() and postInitPlugin())
Definition at line 869 of file cfpython.cpp.
Referenced by compilePython(), and postInitPlugin().
CF_PLUGIN int closePlugin | ( | void | ) |
Close the plugin.
Closes the sqlite database.
Definition at line 1922 of file cfpython.cpp.
References c, cf_free_string(), cf_log(), cf_system_unregister_command(), code, llevDebug, MAX_COMMANDS, pycode_cache, PYTHON_CACHE_SIZE, and registered_commands.
|
static |
Outputs the compiled bytecode for a given python file, using in-memory caching of bytecode.
Definition at line 913 of file cfpython.cpp.
References cf_add_string(), cf_free_string(), cf_log(), cfpython_openpyfile(), cfpython_pyfile_asfile(), code, llevDebug, llevError, log_python_error(), pycode_cache, PYTHON_CACHE_SIZE, replace(), sstring, and time.
Referenced by do_script().
|
static |
Definition at line 752 of file cfpython.cpp.
References buf, and cf_cost_string_from_value().
|
static |
Definition at line 142 of file cfpython.cpp.
References cf_create_object(), and Crossfire_Object_wrap().
|
static |
Definition at line 152 of file cfpython.cpp.
References cf_create_object_by_name(), and Crossfire_Object_wrap().
|
static |
Definition at line 238 of file cfpython.cpp.
References cf_get_empty_map(), and Crossfire_Map_wrap().
|
static |
Definition at line 562 of file cfpython.cpp.
References cf_timer_destroy().
|
static |
Definition at line 1032 of file cfpython.cpp.
References cf_log(), compilePython(), llevDebug, log_python_error(), pushContext(), and CFPContext::script.
Referenced by cfpython_globalEventListener(), eventListener(), and python_command_function().
CF_PLUGIN int eventListener | ( | int * | type, |
... | |||
) |
Handles an object-related event.
Doesn't do anything.
type | ignored. |
Definition at line 1881 of file cfpython.cpp.
References CFPContext::activator, buf, cf_get_maps_directory(), Crossfire_Object_wrap(), do_script(), CFPContext::event, CFPContext::event_code, freeContext(), CFPContext::message, object::name, CFPContext::options, popContext(), CFPContext::returnvalue, CFPContext::script, object::slaying, CFPContext::talk, CFPContext::third, is_valid_types_gen::type, and CFPContext::who.
|
static |
Definition at line 626 of file cfpython.cpp.
References cf_find_animation(), and name.
|
static |
Definition at line 580 of file cfpython.cpp.
References cf_find_face(), and name.
|
static |
Definition at line 206 of file cfpython.cpp.
References cf_player_find(), Crossfire_Object_wrap(), and player::ob.
|
static |
Definition at line 844 of file cfpython.cpp.
References CFPContext::activator, CFPContext::event, CFPContext::third, and CFPContext::who.
Referenced by cfpython_globalEventListener(), eventListener(), and python_command_function().
|
static |
Clear the list of event files.
eventFiles | list as returned by getEventFiles(), will be invalid after this function call. |
Definition at line 1615 of file cfpython.cpp.
Referenced by cfpython_globalEventListener().
|
static |
Definition at line 384 of file cfpython.cpp.
References cf_system_get_archetype_vector(), CFAPI_SYSTEM_ARCHETYPES, Crossfire_Archetype_wrap(), and list.
|
static |
Definition at line 165 of file cfpython.cpp.
|
static |
Definition at line 269 of file cfpython.cpp.
References cf_get_directory().
|
static |
Definition at line 287 of file cfpython.cpp.
References cf_get_directory().
|
static |
Definition at line 351 of file cfpython.cpp.
References current_context, and CFPContext::event.
|
static |
Get the list of script files to run for the specified global event context.
context | event context, must have its options field correctly filled. |
Definition at line 1628 of file cfpython.cpp.
References cf_get_maps_directory(), closedir(), d, HUGE_BUF, name, NAME_MAX, opendir(), CFPContext::options, path(), and readdir().
Referenced by cfpython_globalEventListener().
|
static |
Definition at line 456 of file cfpython.cpp.
References cf_system_get_object_vector(), CFAPI_SYSTEM_FRIENDLY_LIST, Crossfire_Object_wrap(), friends, and list.
|
static |
Definition at line 1698 of file cfpython.cpp.
References code, GECodes, and GEPaths.
Referenced by cfpython_globalEventListener().
|
static |
Definition at line 275 of file cfpython.cpp.
References cf_get_directory().
|
static |
Definition at line 251 of file cfpython.cpp.
References cf_get_directory().
|
static |
Definition at line 571 of file cfpython.cpp.
References cf_map_has_been_loaded(), Crossfire_Map_wrap(), and name.
|
static |
Definition at line 413 of file cfpython.cpp.
References cf_system_get_map_vector(), CFAPI_SYSTEM_MAPS, Crossfire_Map_wrap(), list, and maps.
|
static |
Definition at line 644 of file cfpython.cpp.
References cf_get_month_name().
|
static |
Definition at line 428 of file cfpython.cpp.
References cf_system_get_party_vector(), CFAPI_SYSTEM_PARTIES, Crossfire_Party_wrap(), and list.
|
static |
Definition at line 662 of file cfpython.cpp.
References cf_get_periodofday_name().
|
static |
Definition at line 281 of file cfpython.cpp.
References cf_get_directory().
|
static |
Definition at line 398 of file cfpython.cpp.
References cf_system_get_object_vector(), CFAPI_SYSTEM_PLAYERS, Crossfire_Object_wrap(), list, and players.
CF_PLUGIN void* getPluginProperty | ( | int * | type, |
... | |||
) |
Gets a plugin property.
type | ignored. |
Definition at line 1539 of file cfpython.cpp.
References buf, PLUGIN_NAME, PLUGIN_VERSION, and is_valid_types_gen::type.
|
static |
Definition at line 362 of file cfpython.cpp.
References current_context, private_data, and CFPContext::script.
|
static |
Definition at line 442 of file cfpython.cpp.
References cf_system_get_region_vector(), CFAPI_SYSTEM_REGIONS, Crossfire_Region_wrap(), list, and regions.
|
static |
Definition at line 173 of file cfpython.cpp.
References current_context, and CFPContext::returnvalue.
|
static |
Definition at line 335 of file cfpython.cpp.
References current_context, and CFPContext::script.
|
static |
Definition at line 341 of file cfpython.cpp.
References current_context, and CFPContext::options.
|
static |
Definition at line 635 of file cfpython.cpp.
References cf_get_season_name().
|
static |
Definition at line 377 of file cfpython.cpp.
References shared_data.
|
static |
Definition at line 263 of file cfpython.cpp.
References cf_get_directory().
|
static |
Definition at line 540 of file cfpython.cpp.
References cf_get_time(), timeofday_t::day, timeofday_t::dayofweek, timeofday_t::hour, list, timeofday_t::minute, timeofday_t::month, timeofday_t::periodofday, timeofday_t::season, timeofday_t::weekofmonth, and timeofday_t::year.
|
static |
Definition at line 257 of file cfpython.cpp.
References cf_get_directory().
|
static |
Definition at line 653 of file cfpython.cpp.
References cf_get_weekday_name().
|
static |
Definition at line 326 of file cfpython.cpp.
References current_context, and CFPContext::message.
|
static |
Definition at line 293 of file cfpython.cpp.
References current_context, and CFPContext::who.
|
static |
Definition at line 304 of file cfpython.cpp.
References CFPContext::activator, and current_context.
|
static |
Definition at line 315 of file cfpython.cpp.
References current_context, and CFPContext::third.
|
static |
Definition at line 1413 of file cfpython.cpp.
References addConstants(), addSimpleConstants(), cstAttackMovement, cstAttackType, cstAttackTypeNumber, cstDirection, cstEventType, cstMessageFlag, cstMove, cstReplyTypes, cstTime, and cstType.
Referenced by initPlugin().
|
static |
Definition at line 817 of file cfpython.cpp.
References context_stack, and current_context.
Referenced by postInitPlugin().
int initPlugin | ( | const char * | iversion, |
f_plug_api | gethooksptr | ||
) |
Plugin initialisation function.
iversion | server version. |
gethooksptr | function to get the hooks. |
Plugin initialisation function.
iversion | server version. |
gethooksptr | function to get hooks from. |
Definition at line 1495 of file cfpython.cpp.
References c, catcher, cf_init_plugin(), cf_log(), cfpython_init_types(), initConstants(), llevDebug, m, MAX_COMMANDS, private_data, PyInit_cjson(), PyInit_Crossfire(), registered_commands, and shared_data.
|
static |
Definition at line 589 of file cfpython.cpp.
References cf_log(), level, llevDebug, llevError, llevInfo, llevMonster, and message.
|
static |
Trace a Python error to the Crossfire log.
This uses code from: http://stackoverflow.com/questions/4307187/how-to-catch-python-stdout-in-c-code See also in initPlugin() the parts about stdOutErr.
Definition at line 893 of file cfpython.cpp.
References catcher, cf_log_plain(), llevError, and output.
Referenced by compilePython(), and do_script().
|
static |
Definition at line 190 of file cfpython.cpp.
References cf_re_cmp().
|
static |
Definition at line 722 of file cfpython.cpp.
References buf, cf_add_string(), cf_log(), Crossfire_ObjectType, current_context, llevError, MAX_NPC, message, object::name, talk_info::npc_msg_count, talk_info::npc_msgs, Crossfire_Object::obj, set_exception(), and CFPContext::talk.
|
static |
Definition at line 832 of file cfpython.cpp.
References current_context, and CFPContext::down.
Referenced by cfpython_globalEventListener(), eventListener(), and python_command_function().
CF_PLUGIN int postInitPlugin | ( | void | ) |
Plugin was initialized, now to finish.
Registers events, initializes the database.
Definition at line 1671 of file cfpython.cpp.
References pycode_cache_entry::cached_time, cf_get_maps_directory(), cf_log(), cf_system_register_global_event(), cfpython_globalEventListener(), cfpython_openpyfile(), cfpython_pyfile_asfile(), pycode_cache_entry::code, pycode_cache_entry::file, GECodes, initContextStack(), llevDebug, path(), PLUGIN_NAME, pycode_cache, PYTHON_CACHE_SIZE, and pycode_cache_entry::used_time.
|
static |
Definition at line 822 of file cfpython.cpp.
References context_stack, current_context, and CFPContext::down.
Referenced by do_script().
PyObject* PyInit_cjson | ( | void | ) |
Definition at line 1165 of file cjson.cpp.
References cjsonModule, initcjson_shared(), and m.
Referenced by initPlugin().
|
static |
Definition at line 1487 of file cfpython.cpp.
References CrossfireModule, and m.
Referenced by initPlugin().
|
static |
Definition at line 470 of file cfpython.cpp.
References CFPContext::activator, buf, cf_get_maps_directory(), Crossfire_Object_wrap(), do_script(), CFPContext::event, freeContext(), CFPContext::message, CFPContext::options, path(), popContext(), CFPContext::returnvalue, CFPContext::script, CFPContext::third, and CFPContext::who.
Referenced by registerCommand().
|
static |
Definition at line 224 of file cfpython.cpp.
References cf_map_get_map(), Crossfire_Map_wrap(), and flags.
|
static |
Definition at line 500 of file cfpython.cpp.
References cf_system_register_command_extra(), COMMAND_TYPE_NORMAL, COMMAND_TYPE_WIZARD, MAX_COMMANDS, python_command_function(), registered_commands, set_exception(), and is_valid_types_gen::type.
|
static |
Definition at line 116 of file cfpython.cpp.
References cf_system_register_global_event(), cfpython_globalEventListener(), and PLUGIN_NAME.
|
static |
Set up an Python exception object.
Definition at line 93 of file cfpython.cpp.
References buf.
Referenced by addReply(), npcSay(), registerCommand(), and setPlayerMessage().
|
static |
Definition at line 699 of file cfpython.cpp.
References cf_add_string(), cf_free_string(), current_context, message, talk_info::message, talk_info::message_type, rt_reply, set_exception(), CFPContext::talk, and is_valid_types_gen::type.
|
static |
Definition at line 179 of file cfpython.cpp.
References current_context, and CFPContext::returnvalue.
|
static |
Definition at line 129 of file cfpython.cpp.
References cf_system_unregister_global_event(), EVENT_TELL, and PLUGIN_NAME.
|
static |
A Python object receiving the contents of Python's stderr, and used to output to the Crossfire log instead of stderr.
Definition at line 877 of file cfpython.cpp.
Referenced by initPlugin(), and log_python_error().
|
static |
Definition at line 90 of file cfpython.cpp.
Referenced by cfpython_init_types().
PyMethodDef CFPythonMethods[] |
Definition at line 765 of file cfpython.cpp.
Referenced by main().
CFPContext* context_stack |
Definition at line 104 of file cfpython.cpp.
Referenced by initContextStack(), and pushContext().
|
static |
Definition at line 1475 of file cfpython.cpp.
Referenced by PyInit_Crossfire().
const CFConstant cstAttackMovement[] |
Definition at line 1392 of file cfpython.cpp.
Referenced by initConstants(), and main().
const CFConstant cstAttackType[] |
Definition at line 1271 of file cfpython.cpp.
Referenced by initConstants(), and main().
const CFConstant cstAttackTypeNumber[] |
Definition at line 1301 of file cfpython.cpp.
Referenced by initConstants(), and main().
const CFConstant cstDirection[] |
Definition at line 1112 of file cfpython.cpp.
Referenced by initConstants(), and main().
const CFConstant cstEventType[] |
Definition at line 1331 of file cfpython.cpp.
Referenced by initConstants(), and main().
const CFConstant cstMessageFlag[] |
Definition at line 1251 of file cfpython.cpp.
Referenced by initConstants(), and main().
const CFConstant cstMove[] |
Definition at line 1240 of file cfpython.cpp.
Referenced by initConstants(), and main().
const CFConstant cstReplyTypes[] |
Definition at line 1385 of file cfpython.cpp.
Referenced by initConstants(), and main().
const CFConstant cstTime[] |
Definition at line 1375 of file cfpython.cpp.
Referenced by initConstants(), and main().
const CFConstant cstType[] |
Definition at line 1124 of file cfpython.cpp.
Referenced by initConstants(), and main().
CFPContext* current_context |
Definition at line 106 of file cfpython.cpp.
Referenced by addReply(), Crossfire_Object_Remove(), Crossfire_Object_Say(), getEvent(), getPrivateDictionary(), getReturnValue(), getScriptName(), getScriptParameters(), getWhatIsMessage(), getWhoAmI(), getWhoIsActivator(), getWhoIsThird(), initContextStack(), npcSay(), popContext(), pushContext(), setPlayerMessage(), and setReturnValue().
|
static |
Definition at line 1564 of file cfpython.cpp.
Referenced by getGlobalEventPath(), and postInitPlugin().
|
static |
Definition at line 1587 of file cfpython.cpp.
Referenced by getGlobalEventPath().
|
static |
Definition at line 110 of file cfpython.cpp.
Referenced by getPrivateDictionary(), and initPlugin().
|
static |
Cached compiled scripts.
Definition at line 88 of file cfpython.cpp.
Referenced by closePlugin(), compilePython(), and postInitPlugin().
|
static |
Definition at line 85 of file cfpython.cpp.
Referenced by closePlugin(), initPlugin(), and registerCommand().
|
static |
Definition at line 108 of file cfpython.cpp.
Referenced by getSharedDictionary(), and initPlugin().
Definition at line 69 of file cfpython.cpp.