Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Private Attributes | List of all members
cBlockEntityWindowOwner Class Reference

Window owner that is associated with a block entity (chest, furnace, ...) More...

#include <WindowOwner.h>

Inheritance diagram for cBlockEntityWindowOwner:
Inheritance graph
[legend]
Collaboration diagram for cBlockEntityWindowOwner:
Collaboration graph
[legend]

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 ()
 
cWindowGetWindow (void) const
 
void OpenWindow (cWindow *a_Window)
 
virtual ~cWindowOwner ()
 

Private Attributes

cBlockEntitym_BlockEntity
 

Detailed Description

Window owner that is associated with a block entity (chest, furnace, ...)

Definition at line 57 of file WindowOwner.h.

Constructor & Destructor Documentation

◆ cBlockEntityWindowOwner()

cBlockEntityWindowOwner::cBlockEntityWindowOwner ( cBlockEntity a_BlockEntity)
inline

Definition at line 61 of file WindowOwner.h.

Member Function Documentation

◆ GetBlockPos()

virtual Vector3i cBlockEntityWindowOwner::GetBlockPos ( void  )
inlineoverridevirtual

Returns the block position at which the element owning the window is.

Implements cWindowOwner.

Definition at line 66 of file WindowOwner.h.

Member Data Documentation

◆ m_BlockEntity

cBlockEntity* cBlockEntityWindowOwner::m_BlockEntity
private

Definition at line 72 of file WindowOwner.h.


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