Static Public Member Functions | |
| static mixed | GetContainer (mixed container_or_serial) |
| static mixed | HandleEquipItem (mixed dynamicdata) |
| static mixed | IsContainerAlreadyOpen (mixed container_or_serial) |
| called from kPacket_Open_Container | |
| static mixed | RefreshContainerItemWidgets (mixed container) |
| destroys old widgets and creates new ones from contents | |
| static mixed | HandleOpenContainer (mixed containerdata) |
| called from kPacket_Open_Container | |
| static mixed | CloseContainer (mixed serial) |
| static mixed | GetOrCreateContainer (mixed serial) |
| creates if necessary | |
| static mixed | OpenContainer (mixed serial, mixed x, mixed y) |
| static mixed | ScanItemPropBoolean (mixed props, mixed line, mixed pattern, mixed field) |
| [[ | |
| static mixed | ScanItemPropNumber (mixed props, mixed line, mixed pattern, mixed field) |
Definition at line 855 of file lua_pseudo_code.cpp.
| static mixed obj_container::GetContainer | ( | mixed | container_or_serial | ) | [inline, static] |
Definition at line 857 of file lua_pseudo_code.cpp.
| static mixed obj_container::HandleEquipItem | ( | mixed | dynamicdata | ) | [inline, static] |
----------------------------------------------- End of local functions ----------------------------- called from kPacket_Equip_Item
Definition at line 861 of file lua_pseudo_code.cpp.
| static mixed obj_container::IsContainerAlreadyOpen | ( | mixed | container_or_serial | ) | [inline, static] |
| static mixed obj_container::RefreshContainerItemWidgets | ( | mixed | container | ) | [inline, static] |
destroys old widgets and creates new ones from contents
Definition at line 867 of file lua_pseudo_code.cpp.
| static mixed obj_container::HandleOpenContainer | ( | mixed | containerdata | ) | [inline, static] |
| static mixed obj_container::CloseContainer | ( | mixed | serial | ) | [inline, static] |
packet handlers for containers (chests, drawers, inventory..) see also lib.packet.lua and lib.protocol.lua pols sends kPacket_Open_Container first and then kPacket_Container_Contents , runuo the other way around every container (data structure) can have zero-or-one associated dialog (graphical representation) dialog is only created when it is displayed, on kPacket_Open_Container TODO : check if iContainerSerial is secure trade serial TODO : check if spellbook destroys old widgets if neccessary
Definition at line 880 of file lua_pseudo_code.cpp.
| static mixed obj_container::GetOrCreateContainer | ( | mixed | serial | ) | [inline, static] |
| static mixed obj_container::OpenContainer | ( | mixed | serial, | |
| mixed | x, | |||
| mixed | y | |||
| ) | [inline, static] |
Definition at line 885 of file lua_pseudo_code.cpp.
| static mixed obj_container::ScanItemPropBoolean | ( | mixed | props, | |
| mixed | line, | |||
| mixed | pattern, | |||
| mixed | field | |||
| ) | [inline, static] |
| static mixed obj_container::ScanItemPropNumber | ( | mixed | props, | |
| mixed | line, | |||
| mixed | pattern, | |||
| mixed | field | |||
| ) | [inline, static] |
Definition at line 890 of file lua_pseudo_code.cpp.
1.5.6