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 (Vector3i a_BlockPos, eSpreadSource a_Source) override
 
virtual bool CallHookPlayerBreakingBlock (cPlayer &a_Player, Vector3i a_BlockPos, eBlockFace a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override
 
virtual bool CallHookPlayerBrokenBlock (cPlayer &a_Player, Vector3i a_BlockPos, 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::cBlockInServerPluginInterface ( cWorld a_World)
inline

Definition at line 23 of file BlockInServerPluginInterface.h.

Member Function Documentation

◆ CallHookBlockSpread()

virtual bool cBlockInServerPluginInterface::CallHookBlockSpread ( Vector3i  a_BlockPos,
eSpreadSource  a_Source 
)
inlineoverridevirtual

Implements cBlockPluginInterface.

Definition at line 25 of file BlockInServerPluginInterface.h.

◆ CallHookPlayerBreakingBlock()

virtual bool cBlockInServerPluginInterface::CallHookPlayerBreakingBlock ( cPlayer a_Player,
Vector3i  a_BlockPos,
eBlockFace  a_BlockFace,
BLOCKTYPE  a_BlockType,
NIBBLETYPE  a_BlockMeta 
)
inlineoverridevirtual

Implements cBlockPluginInterface.

Definition at line 30 of file BlockInServerPluginInterface.h.

◆ CallHookPlayerBrokenBlock()

virtual bool cBlockInServerPluginInterface::CallHookPlayerBrokenBlock ( cPlayer a_Player,
Vector3i  a_BlockPos,
eBlockFace  a_BlockFace,
BLOCKTYPE  a_BlockType,
NIBBLETYPE  a_BlockMeta 
)
inlineoverridevirtual

Implements cBlockPluginInterface.

Definition at line 35 of file BlockInServerPluginInterface.h.

Member Data Documentation

◆ m_World

cWorld& cBlockInServerPluginInterface::m_World
private

Definition at line 41 of file BlockInServerPluginInterface.h.


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