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

Window owner that is associated with an entity (chest minecart etc.) More...

#include <WindowOwner.h>

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

Public Member Functions

 cEntityWindowOwner (cEntity *a_Entity)
 
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

cEntitym_Entity
 

Detailed Description

Window owner that is associated with an entity (chest minecart etc.)

Definition at line 80 of file WindowOwner.h.

Constructor & Destructor Documentation

◆ cEntityWindowOwner()

cEntityWindowOwner::cEntityWindowOwner ( cEntity a_Entity)
inline

Definition at line 84 of file WindowOwner.h.

Member Function Documentation

◆ GetBlockPos()

virtual Vector3i cEntityWindowOwner::GetBlockPos ( void  )
inlineoverridevirtual

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

Implements cWindowOwner.

Definition at line 89 of file WindowOwner.h.

Member Data Documentation

◆ m_Entity

cEntity* cEntityWindowOwner::m_Entity
private

Definition at line 95 of file WindowOwner.h.


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