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

Base class for the window owning. More...

#include <WindowOwner.h>

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

Public Member Functions

void CloseWindow (void)
 
 cWindowOwner ()
 
virtual Vector3i GetBlockPos (void)=0
 Returns the block position at which the element owning the window is. More...
 
cWindowGetWindow (void) const
 
void OpenWindow (cWindow *a_Window)
 
virtual ~cWindowOwner ()
 

Private Attributes

cWindowm_Window
 

Detailed Description

Base class for the window owning.

Definition at line 17 of file WindowOwner.h.

Constructor & Destructor Documentation

◆ cWindowOwner()

cWindowOwner::cWindowOwner ( )
inline

Definition at line 20 of file WindowOwner.h.

◆ ~cWindowOwner()

virtual cWindowOwner::~cWindowOwner ( )
inlinevirtual

Definition at line 25 of file WindowOwner.h.

Member Function Documentation

◆ CloseWindow()

void cWindowOwner::CloseWindow ( void  )
inline

Definition at line 29 of file WindowOwner.h.

◆ GetBlockPos()

virtual Vector3i cWindowOwner::GetBlockPos ( void  )
pure virtual

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

Implemented in cEntityWindowOwner, and cBlockEntityWindowOwner.

◆ GetWindow()

cWindow* cWindowOwner::GetWindow ( void  ) const
inline

Definition at line 40 of file WindowOwner.h.

◆ OpenWindow()

void cWindowOwner::OpenWindow ( cWindow a_Window)
inline

Definition at line 34 of file WindowOwner.h.

Member Data Documentation

◆ m_Window

cWindow* cWindowOwner::m_Window
private

Definition at line 49 of file WindowOwner.h.


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