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

#include <BlockInServerPluginInterface.h>

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

Public Member Functions

virtual bool CallHookBlockSpread (int a_BlockX, int a_BlockY, int a_BlockZ, eSpreadSource a_Source) override
 
virtual bool CallHookPlayerBreakingBlock (cPlayer &a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override
 
virtual bool CallHookPlayerBrokenBlock (cPlayer &a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override
 
 cBlockInServerPluginInterface (cWorld &a_World)
 
- Public Member Functions inherited from cBlockPluginInterface
virtual ~cBlockPluginInterface ()
 

Private Attributes

cWorldm_World
 

Detailed Description

Definition at line 19 of file BlockInServerPluginInterface.h.

Constructor & Destructor Documentation

cBlockInServerPluginInterface::cBlockInServerPluginInterface ( cWorld a_World)
inline

Definition at line 23 of file BlockInServerPluginInterface.h.

Member Function Documentation

virtual bool cBlockInServerPluginInterface::CallHookBlockSpread ( int  a_BlockX,
int  a_BlockY,
int  a_BlockZ,
eSpreadSource  a_Source 
)
inlineoverridevirtual

Implements cBlockPluginInterface.

Definition at line 25 of file BlockInServerPluginInterface.h.

virtual bool cBlockInServerPluginInterface::CallHookPlayerBreakingBlock ( cPlayer a_Player,
int  a_BlockX,
int  a_BlockY,
int  a_BlockZ,
eBlockFace  a_BlockFace,
BLOCKTYPE  a_BlockType,
NIBBLETYPE  a_BlockMeta 
)
inlineoverridevirtual

Implements cBlockPluginInterface.

Definition at line 30 of file BlockInServerPluginInterface.h.

virtual bool cBlockInServerPluginInterface::CallHookPlayerBrokenBlock ( cPlayer a_Player,
int  a_BlockX,
int  a_BlockY,
int  a_BlockZ,
eBlockFace  a_BlockFace,
BLOCKTYPE  a_BlockType,
NIBBLETYPE  a_BlockMeta 
)
inlineoverridevirtual

Implements cBlockPluginInterface.

Definition at line 35 of file BlockInServerPluginInterface.h.

Member Data Documentation

cWorld& cBlockInServerPluginInterface::m_World
private

Definition at line 41 of file BlockInServerPluginInterface.h.


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