22 static const luaL_Reg
methods[];
27 const char *listname);
110 static void Initialize(lua_State *L,
int top);
Definition l_inventory.h:18
static int l_set_list(lua_State *L)
Definition l_inventory.cpp:218
static const char className[]
Definition l_inventory.h:98
static void reportInventoryChange(lua_State *L, InvRef *ref)
Definition l_inventory.cpp:33
InventoryLocation m_loc
Definition l_inventory.h:20
static int l_remove_item(lua_State *L)
Definition l_inventory.cpp:336
static int l_add_item(lua_State *L)
Definition l_inventory.cpp:279
static int l_room_for_item(lua_State *L)
Definition l_inventory.cpp:299
static int l_get_lists(lua_State *L)
Definition l_inventory.cpp:238
static const luaL_Reg methods[]
Definition l_inventory.h:422
static int l_set_size(lua_State *L)
Definition l_inventory.cpp:94
static int l_set_stack(lua_State *L)
Definition l_inventory.cpp:179
static int l_get_list(lua_State *L)
Definition l_inventory.cpp:198
static int gc_object(lua_State *L)
Definition l_inventory.cpp:42
static int l_get_width(lua_State *L)
Definition l_inventory.cpp:79
static int l_set_width(lua_State *L)
Definition l_inventory.cpp:134
static int l_get_stack(lua_State *L)
Definition l_inventory.cpp:164
InvRef(const InventoryLocation &loc)
Definition l_inventory.cpp:393
static Inventory * getinv(lua_State *L, InvRef *ref)
Definition l_inventory.cpp:18
static int l_is_empty(lua_State *L)
Definition l_inventory.cpp:49
static int l_get_location(lua_State *L)
Definition l_inventory.cpp:355
static void create(lua_State *L, const InventoryLocation &loc)
Definition l_inventory.cpp:400
static int l_contains_item(lua_State *L)
Definition l_inventory.cpp:316
static InventoryList * getlist(lua_State *L, InvRef *ref, const char *listname)
Definition l_inventory.cpp:23
static int l_set_lists(lua_State *L)
Definition l_inventory.cpp:251
static int l_get_size(lua_State *L)
Definition l_inventory.cpp:64
Definition inventory.h:194
Definition inventory.h:314
Definition l_inventory.h:101
static int l_remove_detached_inventory_raw(lua_State *L)
Definition l_inventory.cpp:501
static int l_create_detached_inventory_raw(lua_State *L)
Definition l_inventory.cpp:485
static void Initialize(lua_State *L, int top)
Definition l_inventory.cpp:509
static int l_get_inventory(lua_State *L)
Definition l_inventory.cpp:443
Definition remoteplayer.h:26
Definition inventorymanager.h:18