obj_container Class Reference

file : ../lua/obj/obj.container.lua (this is just a pseudo class used for grouping global functions) More...

List of all members.

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)


Detailed Description

file : ../lua/obj/obj.container.lua (this is just a pseudo class used for grouping global functions)

Definition at line 855 of file lua_pseudo_code.cpp.


Member Function Documentation

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]

called from kPacket_Open_Container

Definition at line 864 of file lua_pseudo_code.cpp.

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]

called from kPacket_Open_Container

Definition at line 870 of file lua_pseudo_code.cpp.

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]

creates if necessary

Definition at line 883 of file lua_pseudo_code.cpp.

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]

[[

Definition at line 888 of file lua_pseudo_code.cpp.

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.


The documentation for this class was generated from the following file:

Generated on Fri Mar 29 05:41:10 2013 for lua by  doxygen 1.5.6