![]() |
Crossfire Server, Trunk
1.75.0
|
Go to the source code of this file.
Macros | |
#define | EXISTCHECK(ob) |
#define | EXISTCHECK_INT(ob) |
#define | TYPEEXISTCHECK(ob) |
This is meant to be used for parameters where you don't know if the type of the object is correct. More... | |
Functions | |
static void | add_object_assoc (object *key, PyObject *value) |
CF_PYTHON_NUMBER_METHODS (Object, Crossfire_Object_Long) | |
CF_PYTHON_OBJECT (Object, Crossfire_Object_dealloc, &ObjectConvert, PyObject_HashNotImplemented, Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, "Crossfire objects",(richcmpfunc) Crossfire_Object_RichCompare, ObjectMethods, Object_getseters, NULL, Crossfire_Object_new) | |
CF_PYTHON_OBJECT (Player, Crossfire_Player_dealloc, NULL, NULL, Py_TPFLAGS_DEFAULT, "Crossfire player", NULL, PlayerMethods, Player_getseters, &Crossfire_ObjectType, Crossfire_Player_new) | |
static PyObject * | Crossfire_Object_ActivateRune (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_AddExp (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Apply (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Arrest (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Cast (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_CastAbility (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_ChangeAbil (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_CheckArchInventory (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_CheckInventory (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_CheckTrigger (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Clone (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_CreateInside (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_CreateTimer (Crossfire_Object *who, PyObject *args) |
static void | Crossfire_Object_dealloc (PyObject *obj) |
static PyObject * | Crossfire_Object_Drop (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Event (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Fix (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_ForgetSpell (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_GetOutOfMap (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_GetResist (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_InsertInto (Crossfire_Object *who, PyObject *args) |
static int | Crossfire_Object_InternalCompare (Crossfire_Object *left, Crossfire_Object *right) |
static PyObject * | Crossfire_Object_KnowSpell (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_LearnSpell (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Long (PyObject *obj) |
static PyObject * | Crossfire_Object_Move (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_MoveTo (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_new (PyTypeObject *type, PyObject *args, PyObject *kwds) |
static PyObject * | Crossfire_Object_Pay (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_PayAmount (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_PermExp (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_QueryName (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_ReadKey (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Remove (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_RemoveDepletion (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Reposition (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_RichCompare (Crossfire_Object *left, Crossfire_Object *right, int op) |
static PyObject * | Crossfire_Object_Say (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_SetResist (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Split (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Take (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Object_Teleport (Crossfire_Object *who, PyObject *args) |
PyObject * | Crossfire_Object_wrap (object *what) |
Python initialized. More... | |
static PyObject * | Crossfire_Object_WriteKey (Crossfire_Object *who, PyObject *args) |
static PyObject * | Crossfire_Player_CanPay (Crossfire_Player *who, PyObject *args) |
static void | Crossfire_Player_dealloc (PyObject *obj) |
static PyObject * | Crossfire_Player_Message (Crossfire_Player *who, PyObject *args) |
static PyObject * | Crossfire_Player_new (PyTypeObject *type, PyObject *args, PyObject *kwds) |
static PyObject * | find_assoc_pyobject (object *key) |
static void | free_object_assoc (object *key) |
static PyObject * | Object_GetArchetype (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetExists (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetExp (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetExpMul (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetFlagProperty (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetFloatProperty (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetIntProperty (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetMap (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetMaterial (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetMoney (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetMoveAllow (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetMoveBlock (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetMoveOff (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetMoveOn (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetMoveSlow (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetMoveType (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetName (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetNamePl (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetObjectProperty (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetOtherArchetype (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetPickable (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetSStringProperty (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetTotalExp (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Object_GetValue (Crossfire_Object *whoptr, void *closure) |
static int | Object_SetAnim (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetEnemy (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetExp (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetFace (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetFlagProperty (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetFloatProperty (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetIntProperty (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetMap (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetMoveAllow (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetMoveBlock (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetMoveOff (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetMoveOn (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetMoveSlow (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetMoveType (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetName (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetNamePl (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetOwner (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetPickable (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetQuantity (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static int | Object_SetStringProperty (Crossfire_Object *whoptr, PyObject *value, void *closure) |
Setters. More... | |
static int | Object_SetValue (Crossfire_Object *whoptr, PyObject *value, void *closure) |
static PyObject * | Player_GetBedMap (Crossfire_Player *whoptr, void *closure) |
static PyObject * | Player_GetBedX (Crossfire_Player *whoptr, void *closure) |
static PyObject * | Player_GetBedY (Crossfire_Player *whoptr, void *closure) |
static PyObject * | Player_GetClient (Crossfire_Player *whoptr, void *closure) |
static PyObject * | Player_GetIntProperty (Crossfire_Player *whoptr, void *closure) |
static PyObject * | Player_GetIP (Crossfire_Player *whoptr, void *closure) |
static PyObject * | Player_GetMarkedItem (Crossfire_Player *whoptr, void *closure) |
static PyObject * | Player_GetObjectProperty (Crossfire_Player *whoptr, void *closure) |
static PyObject * | Player_GetParty (Crossfire_Player *whoptr, void *closure) |
static PyObject * | Player_GetTitle (Crossfire_Object *whoptr, void *closure) |
static PyObject * | Player_GiveKnowledge (Crossfire_Player *who, PyObject *args) |
static PyObject * | Player_KnowledgeKnown (Crossfire_Player *who, PyObject *args) |
static PyObject * | Player_QuestGetState (Crossfire_Player *whoptr, PyObject *args) |
static PyObject * | Player_QuestSetState (Crossfire_Player *whoptr, PyObject *args) |
static PyObject * | Player_QuestStart (Crossfire_Player *whoptr, PyObject *args) |
static PyObject * | Player_QuestWasCompleted (Crossfire_Player *whoptr, PyObject *args) |
static int | Player_SetBedMap (Crossfire_Player *whoptr, PyObject *value, void *closure) |
static int | Player_SetBedX (Crossfire_Player *whoptr, PyObject *value, void *closure) |
static int | Player_SetBedY (Crossfire_Player *whoptr, PyObject *value, void *closure) |
static int | Player_SetMarkedItem (Crossfire_Player *whoptr, PyObject *value, void *closure) |
static int | Player_SetParty (Crossfire_Player *whoptr, PyObject *value, void *closure) |
static int | Player_SetTitle (Crossfire_Object *whoptr, PyObject *value, void *closure) |
Variables | |
static std::map< object *, PyObject * > | object_assoc_table |
static PyGetSetDef | Object_getseters [] |
static PyMethodDef | ObjectMethods [] |
static PyGetSetDef | Player_getseters [] |
static PyMethodDef | PlayerMethods [] |
#define EXISTCHECK | ( | ob | ) |
Definition at line 33 of file cfpython_object.cpp.
#define EXISTCHECK_INT | ( | ob | ) |
Definition at line 50 of file cfpython_object.cpp.
#define TYPEEXISTCHECK | ( | ob | ) |
This is meant to be used for parameters where you don't know if the type of the object is correct.
It should NOT be used for the self pointer, since that will always be a compatible type.
Definition at line 44 of file cfpython_object.cpp.
|
static |
Definition at line 59 of file cfpython_object.cpp.
References object_assoc_table.
Referenced by Crossfire_Object_wrap().
CF_PYTHON_NUMBER_METHODS | ( | Object | , |
Crossfire_Object_Long | |||
) |
CF_PYTHON_OBJECT | ( | Object | , |
Crossfire_Object_dealloc | , | ||
& | ObjectConvert, | ||
PyObject_HashNotImplemented | , | ||
Py_TPFLAGS_DEFAULT| | Py_TPFLAGS_BASETYPE, | ||
"Crossfire objects" | , | ||
(richcmpfunc) | Crossfire_Object_RichCompare, | ||
ObjectMethods | , | ||
Object_getseters | , | ||
NULL | , | ||
Crossfire_Object_new | |||
) |
CF_PYTHON_OBJECT | ( | Player | , |
Crossfire_Player_dealloc | , | ||
NULL | , | ||
NULL | , | ||
Py_TPFLAGS_DEFAULT | , | ||
"Crossfire player" | , | ||
NULL | , | ||
PlayerMethods | , | ||
Player_getseters | , | ||
& | Crossfire_ObjectType, | ||
Crossfire_Player_new | |||
) |
|
static |
Definition at line 866 of file cfpython_object.cpp.
References cf_spring_trap(), EXISTCHECK, Crossfire_Object::obj, and TYPEEXISTCHECK.
|
static |
Definition at line 1195 of file cfpython_object.cpp.
References cf_object_change_exp(), EXISTCHECK, Crossfire_Object::obj, and skill.
|
static |
Definition at line 763 of file cfpython_object.cpp.
References cf_object_apply(), Crossfire_ObjectType, EXISTCHECK, flags, and Crossfire_Object::obj.
|
static |
Definition at line 1262 of file cfpython_object.cpp.
References cf_player_arrest(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 973 of file cfpython_object.cpp.
References cf_object_cast_spell(), Crossfire_ObjectType, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 1027 of file cfpython_object.cpp.
References cf_log_plain(), cf_object_cast_spell(), Crossfire_ObjectType, EXISTCHECK, llevError, and Crossfire_Object::obj.
|
static |
Definition at line 1185 of file cfpython_object.cpp.
References cf_object_change_abil(), EXISTCHECK, Crossfire_Object::obj, and TYPEEXISTCHECK.
|
static |
Definition at line 1129 of file cfpython_object.cpp.
References cf_object_find_by_arch_name(), Crossfire_Object_wrap(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 1106 of file cfpython_object.cpp.
References cf_object_present_archname_inside(), Crossfire_Object_wrap(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 881 of file cfpython_object.cpp.
References cf_object_check_trigger(), EXISTCHECK, Crossfire_Object::obj, and TYPEEXISTCHECK.
|
static |
Definition at line 787 of file cfpython_object.cpp.
References cf_object_clone(), Crossfire_Object_wrap(), and Crossfire_Object::obj.
|
static |
Definition at line 1151 of file cfpython_object.cpp.
References cf_create_object_by_name(), cf_object_insert_object(), Crossfire_Object_wrap(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 1095 of file cfpython_object.cpp.
References cf_timer_create(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 1513 of file cfpython_object.cpp.
References free_object_assoc().
|
static |
Definition at line 775 of file cfpython_object.cpp.
References cf_object_drop(), EXISTCHECK, Crossfire_Object::obj, and TYPEEXISTCHECK.
|
static |
Definition at line 1232 of file cfpython_object.cpp.
References cf_object_user_event(), Crossfire_ObjectType, EXISTCHECK, message, and Crossfire_Object::obj.
|
static |
Definition at line 832 of file cfpython_object.cpp.
References cf_fix_object(), and Crossfire_Object::obj.
|
static |
Definition at line 1002 of file cfpython_object.cpp.
References cf_object_forget_spell(), EXISTCHECK, Crossfire_Object::obj, and TYPEEXISTCHECK.
|
static |
Definition at line 1141 of file cfpython_object.cpp.
References cf_object_out_of_map(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 949 of file cfpython_object.cpp.
References cf_object_get_resistance(), EXISTCHECK, NROFATTACKS, and Crossfire_Object::obj.
|
static |
Definition at line 1166 of file cfpython_object.cpp.
References cf_object_get_flag(), cf_object_insert_in_ob(), cf_object_remove(), Crossfire_Object_wrap(), EXISTCHECK, FLAG_REMOVED, Crossfire_Object::obj, and TYPEEXISTCHECK.
|
static |
Definition at line 1268 of file cfpython_object.cpp.
References EXISTCHECK_INT, and Crossfire_Object::obj.
Referenced by Crossfire_Object_RichCompare().
|
static |
Definition at line 1014 of file cfpython_object.cpp.
References cf_object_check_for_spell(), Crossfire_Object_wrap(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 989 of file cfpython_object.cpp.
References cf_object_learn_spell(), EXISTCHECK, Crossfire_Object::obj, and TYPEEXISTCHECK.
|
static |
Definition at line 1312 of file cfpython_object.cpp.
|
static |
Definition at line 1214 of file cfpython_object.cpp.
References cf_object_move(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 1223 of file cfpython_object.cpp.
References cf_object_move_to(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 1499 of file cfpython_object.cpp.
References is_valid_types_gen::type.
|
static |
Definition at line 1057 of file cfpython_object.cpp.
References cf_object_pay_item(), EXISTCHECK, Crossfire_Object::obj, and TYPEEXISTCHECK.
|
static |
Definition at line 1044 of file cfpython_object.cpp.
References cf_object_pay_amount(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 1208 of file cfpython_object.cpp.
References cf_object_perm_exp(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 941 of file cfpython_object.cpp.
References cf_query_name(), EXISTCHECK, name, and Crossfire_Object::obj.
|
static |
Definition at line 1070 of file cfpython_object.cpp.
References cf_object_get_key(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 747 of file cfpython_object.cpp.
References cf_object_free_drop_inventory(), cf_object_get_flag(), cf_object_remove(), current_context, EXISTCHECK, FLAG_REMOVED, Crossfire_Object::obj, and CFPContext::who.
|
static |
Definition at line 1252 of file cfpython_object.cpp.
References cf_object_remove_depletion(), EXISTCHECK, level, and Crossfire_Object::obj.
|
static |
Definition at line 929 of file cfpython_object.cpp.
References cf_object_transfer(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 1274 of file cfpython_object.cpp.
References Crossfire_Object_InternalCompare(), and Crossfire_ObjectType.
|
static |
Definition at line 897 of file cfpython_object.cpp.
References buf, cf_add_string(), cf_log(), cf_object_say(), current_context, EXISTCHECK, llevError, MAX_NPC, message, object::name, talk_info::npc_msg_count, talk_info::npc_msgs, Crossfire_Object::obj, and CFPContext::talk.
|
static |
Definition at line 961 of file cfpython_object.cpp.
References cf_object_set_resistance(), EXISTCHECK, NROFATTACKS, and Crossfire_Object::obj.
|
static |
Definition at line 811 of file cfpython_object.cpp.
References cf_object_split(), Crossfire_Object_wrap(), Crossfire_Object::obj, and split().
|
static |
Definition at line 839 of file cfpython_object.cpp.
References cf_object_pickup(), EXISTCHECK, Crossfire_Object::obj, and TYPEEXISTCHECK.
|
static |
Definition at line 852 of file cfpython_object.cpp.
References cf_object_teleport(), Crossfire_MapType, EXISTCHECK, Crossfire_Map::map, and Crossfire_Object::obj.
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().
|
static |
Definition at line 1083 of file cfpython_object.cpp.
References cf_object_set_key(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 184 of file cfpython_object.cpp.
References cf_player_can_pay(), EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 1539 of file cfpython_object.cpp.
References free_object_assoc().
|
static |
Definition at line 131 of file cfpython_object.cpp.
References cf_player_message(), EXISTCHECK, message, NDI_ORANGE, NDI_UNIQUE, and Crossfire_Player::obj.
|
static |
Definition at line 1525 of file cfpython_object.cpp.
References is_valid_types_gen::type.
|
static |
Definition at line 63 of file cfpython_object.cpp.
References object_assoc_table.
Referenced by Crossfire_Object_wrap().
|
static |
Definition at line 68 of file cfpython_object.cpp.
References object_assoc_table.
Referenced by Crossfire_Object_dealloc(), and Crossfire_Player_dealloc().
|
static |
Definition at line 402 of file cfpython_object.cpp.
References cf_object_get_archetype_property(), CFAPI_OBJECT_PROP_ARCHETYPE, Crossfire_Archetype_wrap(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 414 of file cfpython_object.cpp.
References object::count, Crossfire_Object::obj, and object_was_destroyed.
|
static |
Definition at line 366 of file cfpython_object.cpp.
References cf_object_get_int64_property(), CFAPI_OBJECT_PROP_EXP, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 378 of file cfpython_object.cpp.
References cf_object_get_double_property(), CFAPI_OBJECT_PROP_EXP_MULTIPLIER, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 328 of file cfpython_object.cpp.
References cf_object_get_flag(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 322 of file cfpython_object.cpp.
References cf_object_get_float_property(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 316 of file cfpython_object.cpp.
References cf_object_get_int_property(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 357 of file cfpython_object.cpp.
References cf_object_get_map_property(), CFAPI_OBJECT_PROP_MAP, Crossfire_Map_wrap(), EXISTCHECK, m, and Crossfire_Object::obj.
|
static |
Definition at line 461 of file cfpython_object.cpp.
References cf_object_get_int_property(), cf_object_get_sstring_property(), CFAPI_OBJECT_PROP_MATERIAL, CFAPI_OBJECT_PROP_MATERIAL_NAME, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 390 of file cfpython_object.cpp.
References cf_object_query_money(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 437 of file cfpython_object.cpp.
References cf_object_get_movetype_property(), CFAPI_OBJECT_PROP_MOVE_ALLOW, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 431 of file cfpython_object.cpp.
References cf_object_get_movetype_property(), CFAPI_OBJECT_PROP_MOVE_BLOCK, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 449 of file cfpython_object.cpp.
References cf_object_get_movetype_property(), CFAPI_OBJECT_PROP_MOVE_OFF, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 443 of file cfpython_object.cpp.
References cf_object_get_movetype_property(), CFAPI_OBJECT_PROP_MOVE_ON, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 455 of file cfpython_object.cpp.
References cf_object_get_movetype_property(), CFAPI_OBJECT_PROP_MOVE_SLOW, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 425 of file cfpython_object.cpp.
References cf_object_get_movetype_property(), CFAPI_OBJECT_PROP_MOVE_TYPE, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 343 of file cfpython_object.cpp.
References cf_query_name(), EXISTCHECK, name, and Crossfire_Object::obj.
|
static |
Definition at line 351 of file cfpython_object.cpp.
References cf_query_name_pl(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 334 of file cfpython_object.cpp.
References cf_object_get_object_property(), Crossfire_Object_wrap(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 408 of file cfpython_object.cpp.
References cf_object_get_archetype_property(), CFAPI_OBJECT_PROP_OTHER_ARCH, Crossfire_Archetype_wrap(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 384 of file cfpython_object.cpp.
References cf_object_get_flag(), EXISTCHECK, FLAG_NO_PICK, and Crossfire_Object::obj.
|
static |
Definition at line 310 of file cfpython_object.cpp.
References cf_object_get_sstring_property(), EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 372 of file cfpython_object.cpp.
References cf_object_get_int64_property(), CFAPI_OBJECT_PROP_TOTAL_EXP, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 396 of file cfpython_object.cpp.
References cf_object_get_long_property(), CFAPI_OBJECT_PROP_VALUE, EXISTCHECK, and Crossfire_Object::obj.
|
static |
Definition at line 617 of file cfpython_object.cpp.
References cf_object_set_animation(), EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 656 of file cfpython_object.cpp.
References cf_object_set_object_property(), CFAPI_OBJECT_PROP_ENEMY, Crossfire_ObjectType, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 667 of file cfpython_object.cpp.
References cf_object_set_int64_property(), CFAPI_OBJECT_PROP_EXP, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 602 of file cfpython_object.cpp.
References cf_object_set_face(), EXISTCHECK_INT, face(), and Crossfire_Object::obj.
|
static |
Definition at line 509 of file cfpython_object.cpp.
References cf_object_set_flag(), EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 498 of file cfpython_object.cpp.
References cf_object_set_float_property(), EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 487 of file cfpython_object.cpp.
References cf_object_set_int_property(), EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 573 of file cfpython_object.cpp.
References cf_object_change_map(), Crossfire_MapType, EXISTCHECK_INT, Crossfire_Map::map, and Crossfire_Object::obj.
|
static |
Definition at line 701 of file cfpython_object.cpp.
References cf_object_set_movetype_property(), CFAPI_OBJECT_PROP_MOVE_ALLOW, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 690 of file cfpython_object.cpp.
References cf_object_set_movetype_property(), CFAPI_OBJECT_PROP_MOVE_BLOCK, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 723 of file cfpython_object.cpp.
References cf_object_set_movetype_property(), CFAPI_OBJECT_PROP_MOVE_OFF, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 712 of file cfpython_object.cpp.
References cf_object_set_movetype_property(), CFAPI_OBJECT_PROP_MOVE_ON, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 734 of file cfpython_object.cpp.
References cf_object_set_movetype_property(), CFAPI_OBJECT_PROP_MOVE_SLOW, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 679 of file cfpython_object.cpp.
References cf_object_set_movetype_property(), CFAPI_OBJECT_PROP_MOVE_TYPE, EXISTCHECK_INT, MOVE_ALL, and Crossfire_Object::obj.
|
static |
Definition at line 520 of file cfpython_object.cpp.
References CF_IS_PYSTR, cf_object_set_string_property(), CFAPI_OBJECT_PROP_NAME, CFAPI_OBJECT_PROP_NAME_PLURAL, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 541 of file cfpython_object.cpp.
References CF_IS_PYSTR, cf_object_set_string_property(), CFAPI_OBJECT_PROP_NAME_PLURAL, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 645 of file cfpython_object.cpp.
References cf_object_set_object_property(), CFAPI_OBJECT_PROP_OWNER, Crossfire_ObjectType, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 561 of file cfpython_object.cpp.
References cf_object_set_flag(), EXISTCHECK_INT, FLAG_NO_PICK, and Crossfire_Object::obj.
|
static |
Definition at line 585 of file cfpython_object.cpp.
References cf_object_set_nrof(), EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Setters.
Definition at line 468 of file cfpython_object.cpp.
References CF_IS_PYSTR, cf_object_set_string_property(), EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 633 of file cfpython_object.cpp.
References cf_object_set_long_property(), CFAPI_OBJECT_PROP_VALUE, EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 190 of file cfpython_object.cpp.
References cf_object_get_string_property(), CFAPI_PLAYER_PROP_BED_MAP, EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 209 of file cfpython_object.cpp.
References cf_object_get_int_property(), CFAPI_PLAYER_PROP_BED_X, EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 226 of file cfpython_object.cpp.
References cf_object_get_int_property(), CFAPI_PLAYER_PROP_BED_Y, EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 105 of file cfpython_object.cpp.
References cf_player_get_client(), EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 1551 of file cfpython_object.cpp.
References cf_object_get_int_property(), EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 99 of file cfpython_object.cpp.
References cf_player_get_ip(), EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 111 of file cfpython_object.cpp.
References cf_player_get_marked_item(), Crossfire_Object_wrap(), EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 1557 of file cfpython_object.cpp.
References cf_object_get_object_property(), Crossfire_Object_wrap(), EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 167 of file cfpython_object.cpp.
References cf_player_get_party(), Crossfire_Party_wrap(), EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 72 of file cfpython_object.cpp.
References cf_player_get_title(), EXISTCHECK, MAX_NAME, and Crossfire_Object::obj.
|
static |
Definition at line 154 of file cfpython_object.cpp.
References cf_player_knowledge_give(), EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 144 of file cfpython_object.cpp.
References cf_player_knowledge_has(), EXISTCHECK, and Crossfire_Player::obj.
|
static |
Definition at line 260 of file cfpython_object.cpp.
References cf_add_string(), cf_free_string(), cf_quest_get_player_state(), code, EXISTCHECK, Crossfire_Player::obj, and sstring.
|
static |
Definition at line 276 of file cfpython_object.cpp.
References cf_add_string(), cf_free_string(), cf_quest_set_player_state(), code, EXISTCHECK, Crossfire_Player::obj, and sstring.
|
static |
Definition at line 243 of file cfpython_object.cpp.
References cf_add_string(), cf_free_string(), cf_quest_start(), code, EXISTCHECK, Crossfire_Player::obj, and sstring.
|
static |
Definition at line 293 of file cfpython_object.cpp.
References cf_add_string(), cf_free_string(), cf_quest_was_completed(), code, EXISTCHECK, Crossfire_Player::obj, and sstring.
|
static |
Definition at line 198 of file cfpython_object.cpp.
References cf_object_set_string_property(), CFAPI_PLAYER_PROP_BED_MAP, EXISTCHECK_INT, and Crossfire_Player::obj.
|
static |
Definition at line 215 of file cfpython_object.cpp.
References cf_object_set_int_property(), CFAPI_PLAYER_PROP_BED_X, EXISTCHECK_INT, and Crossfire_Player::obj.
|
static |
Definition at line 232 of file cfpython_object.cpp.
References cf_object_set_int_property(), CFAPI_PLAYER_PROP_BED_Y, EXISTCHECK_INT, and Crossfire_Player::obj.
|
static |
Definition at line 117 of file cfpython_object.cpp.
References cf_player_set_marked_item(), Crossfire_ObjectType, EXISTCHECK_INT, Crossfire_Object::obj, and Crossfire_Player::obj.
|
static |
Definition at line 173 of file cfpython_object.cpp.
References cf_player_set_party(), Crossfire_PartyType, EXISTCHECK_INT, Crossfire_Player::obj, and Crossfire_Party::party.
|
static |
Definition at line 79 of file cfpython_object.cpp.
References CF_IS_PYSTR, cf_player_set_title(), EXISTCHECK_INT, and Crossfire_Object::obj.
|
static |
Definition at line 57 of file cfpython_object.cpp.
Referenced by add_object_assoc(), find_assoc_pyobject(), and free_object_assoc().
|
static |
Definition at line 1317 of file cfpython_object.cpp.
|
static |
Definition at line 1454 of file cfpython_object.cpp.
|
static |
Definition at line 1577 of file cfpython_object.cpp.
|
static |
Definition at line 1591 of file cfpython_object.cpp.