Functions and classes available in the Lua API
Public Member Functions | List of all members
cBlockEntityWithItems Class Reference

#include <0019.h>

Inheritance diagram for cBlockEntityWithItems:
Inheritance graph

Public Member Functions

cItemGridGetContents (void)
 Returns the ItemGrid used for storing the contents.
const cItemGetSlot (int a_SlotNum) const
const cItemGetSlot (int a_X, int a_Y) const
void SetSlot (int a_SlotNum, const cItem &a_Item)
void SetSlot (int a_X, int a_Y, const cItem &a_Item)
- Public Member Functions inherited from cBlockEntity
BLOCKTYPE GetBlockType (void) const
int GetChunkX (void) const
int GetChunkZ (void) const
int GetPosX (void) const
int GetPosY (void) const
int GetPosZ (void) const
int GetRelX (void) const
int GetRelZ (void) const
cWorldGetWorld (void) const

Additional Inherited Members

- Protected Member Functions inherited from cBlockEntity
 cBlockEntity (BLOCKTYPE a_BlockType, int a_BlockX, int a_BlockY, int a_BlockZ, cWorld *a_World)

Member Function Documentation

cItemGrid& cBlockEntityWithItems::GetContents ( void  )

Returns the ItemGrid used for storing the contents.

const cItem& cBlockEntityWithItems::GetSlot ( int  a_SlotNum) const
const cItem& cBlockEntityWithItems::GetSlot ( int  a_X,
int  a_Y 
) const
void cBlockEntityWithItems::SetSlot ( int  a_SlotNum,
const cItem a_Item 
void cBlockEntityWithItems::SetSlot ( int  a_X,
int  a_Y,
const cItem a_Item