Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Window owner that is associated with a block entity (chest, furnace, ...) More...
#include <WindowOwner.h>
Public Member Functions | |
cBlockEntityWindowOwner (cBlockEntity *a_BlockEntity) | |
virtual Vector3i | GetBlockPos (void) override |
Returns the block position at which the element owning the window is. More... | |
Public Member Functions inherited from cWindowOwner | |
void | CloseWindow (void) |
cWindowOwner () | |
cWindow * | GetWindow (void) const |
void | OpenWindow (cWindow *a_Window) |
virtual | ~cWindowOwner () |
Private Attributes | |
cBlockEntity * | m_BlockEntity |
Window owner that is associated with a block entity (chest, furnace, ...)
Definition at line 57 of file WindowOwner.h.
|
inline |
Definition at line 61 of file WindowOwner.h.
|
inlineoverridevirtual |
Returns the block position at which the element owning the window is.
Implements cWindowOwner.
Definition at line 66 of file WindowOwner.h.
|
private |
Definition at line 72 of file WindowOwner.h.