|
Pol
Rev 533
|
#include <multi.h>
Inheritance diagram for UMulti:
Collaboration diagram for UMulti:Public Member Functions | |
| virtual class UBoat * | as_boat () |
| virtual class UHouse * | as_house () |
| virtual void | double_click (Client *client) |
| BStruct * | footprint () const |
| virtual class BObjectImp * | get_script_member (const char *membername) const |
| virtual class BObjectImp * | get_script_member_id (const int id) const |
| id test | |
| virtual BObjectImp * | make_ref () |
| const MultiDef & | multidef () const |
| virtual bool | readobjects (StaticList &vec, s16 rx, s16 ry, s16 zbase) |
| virtual bool | readshapes (MapShapeList &vec, s16 rx, s16 ry, s16 zbase) |
| virtual void | register_object (UObject *obj) |
| virtual bool | script_isa (unsigned isatype) const |
| virtual void | unregister_object (UObject *obj) |
Static Public Member Functions | |
| static UMulti * | create (const ItemDesc &descriptor, u32 serial=0) |
| static BObjectImp * | scripted_create (const ItemDesc &descriptor, u16 x, u16 y, s8 z, Realm *realm, int flags) |
Public Attributes | |
| u16 | multiid |
Protected Member Functions | |
| UMulti (const ItemDesc &itemdesc) | |
| virtual | ~UMulti () |
| virtual const char * | classname () const |
Private Types | |
| typedef Item | base |
Friends | |
| class | ref_ptr< UMulti > |
typedef Item UMulti::base [private] |
| UMulti::UMulti | ( | const ItemDesc & | itemdesc | ) | [explicit, protected] |
Definition at line 36 of file multis.cpp.
References hexint(), MultiDefByMultiIDExists(), multiid, ItemDesc::multiid, ItemDesc::objtype, and umulti_count.
Here is the call graph for this function:| UMulti::~UMulti | ( | ) | [protected, virtual] |
Definition at line 49 of file multis.cpp.
References umulti_count.
| UBoat * UMulti::as_boat | ( | ) | [virtual] |
Reimplemented in UBoat.
Definition at line 61 of file multis.cpp.
Referenced by getUBoatParam(), UBoatExecutorModule::mf_BoatFromItem(), and UOExecutorModule::mf_DestroyMulti().
Here is the caller graph for this function:| UHouse * UMulti::as_house | ( | ) | [virtual] |
Reimplemented in UHouse.
Definition at line 65 of file multis.cpp.
Referenced by ClientGameData::clear(), Character::CustomHousingMove(), NPC::destroy(), Character::destroy(), UHouse::FindWorkingHouse(), handle_msg_BF(), UOExecutorModule::mf_CreateNpcFromTemplate(), UOExecutorModule::mf_DestroyMulti(), UOExecutorModule::mf_SendHousingTool(), Character::move(), move_character_to(), Realm::readmultis(), send_multi_if_newly_inrange(), start_client_char(), Realm::walkheight(), and write_multis().
Here is the caller graph for this function:| const char * UMulti::classname | ( | ) | const [protected, virtual] |
Reimplemented from Item.
Definition at line 78 of file multis.cpp.
| UMulti * UMulti::create | ( | const ItemDesc & | descriptor, |
| u32 | serial = 0 |
||
| ) | [static] |
Reimplemented from Item.
Definition at line 40 of file multicr.cpp.
References ItemDesc::BOATDESC, ctBEu32, GetNewItemSerialNumber(), hexint(), ItemDesc::HOUSEDESC, ObjectHash::Insert(), objecthash, ItemDesc::objtype, UObject::serial, UObject::serial_ext, ItemDesc::type, and UseItemSerialNumber().
Referenced by add_multi(), UHouse::create_components(), UBoat::create_components(), and read_multi().
Here is the call graph for this function:
Here is the caller graph for this function:| void UMulti::double_click | ( | Client * | client | ) | [virtual] |
| BStruct * UMulti::footprint | ( | ) | const |
Definition at line 90 of file multis.cpp.
References BStruct::addMember(), MultiDef::maxrx, MultiDef::maxry, MultiDef::minrx, MultiDef::minry, multidef(), UObject::x, and UObject::y.
Here is the call graph for this function:| BObjectImp * UMulti::get_script_member | ( | const char * | membername | ) | const [virtual] |
Reimplemented from Item.
Reimplemented in UBoat, and UHouse.
Definition at line 114 of file multis.cpp.
References get_script_member_id(), getKnownObjMember(), and ObjMember::id.
Here is the call graph for this function:| BObjectImp * UMulti::get_script_member_id | ( | const int | id | ) | const [virtual] |
id test
Reimplemented from Item.
Reimplemented in UBoat, and UHouse.
Definition at line 101 of file multis.cpp.
References MBR_FOOTPRINT.
Referenced by EMultiRefObjImp::get_member_id(), get_script_member(), and UBoat::get_script_member_id().
Here is the caller graph for this function:| BObjectImp * UMulti::make_ref | ( | ) | [virtual] |
Reimplemented from Item.
Reimplemented in UBoat.
Definition at line 2692 of file uoscrobj.cpp.
Referenced by UObject::get_script_member_id(), handle_coord_cursor(), UOExecutorModule::mf_ListMultisInBox(), and UHouse::scripted_create().
Here is the caller graph for this function:| const MultiDef & UMulti::multidef | ( | ) | const |
Definition at line 83 of file multis.cpp.
References MultiDefByMultiID(), MultiDefByMultiIDExists(), multiid, and passert.
Referenced by UHouse::create_components(), CustomHousesAdd(), UHouse::CustomHouseSetInitialState(), CustomHouseStopEditing(), Character::CustomHousingMove(), footprint(), UOExecutorModule::internal_MoveBoat(), UHouse::list_contents(), UOExecutorModule::mf_ListMultisInBox(), UOExecutorModule::mf_SendHousingTool(), UBoat::move(), UBoat::move_xy(), multis_exist_in(), Realm::readmultis(), readmultis(), UHouse::readProperties(), UBoat::readProperties(), UBoat::regself(), send_boat_to_inrange(), send_multi(), and UBoat::unregself().
Here is the call graph for this function:
Here is the caller graph for this function:| virtual bool UMulti::readobjects | ( | StaticList & | vec, |
| s16 | rx, | ||
| s16 | ry, | ||
| s16 | zbase | ||
| ) | [inline, virtual] |
Definition at line 68 of file multi.h.
Referenced by Realm::readmultis().
Here is the caller graph for this function:| virtual bool UMulti::readshapes | ( | MapShapeList & | vec, |
| s16 | rx, | ||
| s16 | ry, | ||
| s16 | zbase | ||
| ) | [inline, virtual] |
Definition at line 67 of file multi.h.
Referenced by Realm::readmultis().
Here is the caller graph for this function:| void UMulti::register_object | ( | UObject * | obj | ) | [virtual] |
Reimplemented in UHouse, and UBoat.
Definition at line 70 of file multis.cpp.
Referenced by drop_item_on_ground(), UOExecutorModule::internal_MoveItem(), UOExecutorModule::mf_CreateNpcFromTemplate(), Character::move(), move_character_to(), register_with_supporting_multi(), UContainer::spill_contents(), and start_client_char().
Here is the caller graph for this function:| bool UMulti::script_isa | ( | unsigned | isatype | ) | const [virtual] |
Reimplemented from Item.
Reimplemented in UBoat, and UHouse.
Definition at line 3705 of file uoscrobj.cpp.
References POLCLASS_MULTI, and Item::script_isa().
Referenced by UHouse::script_isa(), and UBoat::script_isa().
Here is the call graph for this function:
Here is the caller graph for this function:| BObjectImp * UMulti::scripted_create | ( | const ItemDesc & | descriptor, |
| u16 | x, | ||
| u16 | y, | ||
| s8 | z, | ||
| Realm * | realm, | ||
| int | flags | ||
| ) | [static] |
Reimplemented in UBoat, and UHouse.
Definition at line 73 of file multicr.cpp.
References ItemDesc::BOATDESC, ItemDesc::HOUSEDESC, and ItemDesc::type.
Referenced by add_multi(), and UOExecutorModule::mf_CreateMultiAtLocation().
Here is the caller graph for this function:| void UMulti::unregister_object | ( | UObject * | obj | ) | [virtual] |
Reimplemented in UHouse.
Definition at line 74 of file multis.cpp.
Definition at line 48 of file multi.h.
Referenced by UBoat::boat_facing(), UBoat::boatshape(), CustomHousesClear(), UHouse::CustomHouseSetInitialState(), UBoat::get_script_member_id(), UBoat::multi_ifturn(), multidef(), UBoat::multiid_ifturn(), UHouse::printProperties(), UBoat::printProperties(), UHouse::readProperties(), UBoat::readProperties(), UBoat::scripted_create(), UBoat::turn(), UBoat::UBoat(), and UMulti().