Cuberite
A lightweight, fast and extensible game server for Minecraft
Private Types | Private Member Functions | List of all members
cBlockFenceGateHandler Class Referencefinal

#include <BlockFenceGate.h>

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

Private Types

using Super = cClearMetaOnDrop< cYawRotator< cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01 > >
 

Private Member Functions

virtual ColourID GetMapBaseColourID (NIBBLETYPE a_Meta) const override
 
virtual bool IsUseable (void) const override
 
virtual void OnCancelRightClick (cChunkInterface &a_ChunkInterface, cWorldInterface &a_WorldInterface, cPlayer &a_Player, const Vector3i a_BlockPos, eBlockFace a_BlockFace) const override
 
virtual bool OnUse (cChunkInterface &a_ChunkInterface, cWorldInterface &a_WorldInterface, cPlayer &a_Player, const Vector3i a_BlockPos, eBlockFace a_BlockFace, const Vector3i a_CursorPos) const override
 

Additional Inherited Members

- Public Member Functions inherited from cClearMetaOnDrop< cYawRotator< cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01 > >
constexpr cClearMetaOnDrop (BLOCKTYPE a_BlockType)
 
- Public Member Functions inherited from cMetaRotator< Base, 0x07, 0x02, 0x05, 0x03, 0x04, false >
constexpr cMetaRotator (BLOCKTYPE a_BlockType)
 
- Static Public Member Functions inherited from cYawRotator< Base, BitMask, North, East, South, West, AssertIfNotMatched >
static NIBBLETYPE YawToMetaData (double a_Rotation)
 Converts the rotation value as returned by cPlayer::GetYaw() to the appropriate metadata value for a block placed by a player facing that way. More...
 
- Protected Member Functions inherited from cClearMetaOnDrop< cYawRotator< cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01 > >
 ~cClearMetaOnDrop ()=default
 
- Protected Member Functions inherited from cYawRotator< Base, BitMask, North, East, South, West, AssertIfNotMatched >
 ~cYawRotator ()=default
 
- Protected Member Functions inherited from cMetaRotator< Base, 0x07, 0x02, 0x05, 0x03, 0x04, false >
virtual NIBBLETYPE MetaMirrorXY (NIBBLETYPE a_Meta) const override
 
virtual NIBBLETYPE MetaMirrorYZ (NIBBLETYPE a_Meta) const override
 
virtual NIBBLETYPE MetaRotateCCW (NIBBLETYPE a_Meta) const override
 
virtual NIBBLETYPE MetaRotateCW (NIBBLETYPE a_Meta) const override
 
 ~cMetaRotator ()=default
 

Detailed Description

Definition at line 11 of file BlockFenceGate.h.

Member Typedef Documentation

◆ Super

using cBlockFenceGateHandler::Super = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01> >
private

Definition at line 14 of file BlockFenceGate.h.

Member Function Documentation

◆ GetMapBaseColourID()

virtual ColourID cBlockFenceGateHandler::GetMapBaseColourID ( NIBBLETYPE  a_Meta) const
inlineoverrideprivatevirtual

Definition at line 77 of file BlockFenceGate.h.

◆ IsUseable()

virtual bool cBlockFenceGateHandler::IsUseable ( void  ) const
inlineoverrideprivatevirtual

Definition at line 68 of file BlockFenceGate.h.

◆ OnCancelRightClick()

virtual void cBlockFenceGateHandler::OnCancelRightClick ( cChunkInterface a_ChunkInterface,
cWorldInterface a_WorldInterface,
cPlayer a_Player,
const Vector3i  a_BlockPos,
eBlockFace  a_BlockFace 
) const
inlineoverrideprivatevirtual

Definition at line 53 of file BlockFenceGate.h.

◆ OnUse()

virtual bool cBlockFenceGateHandler::OnUse ( cChunkInterface a_ChunkInterface,
cWorldInterface a_WorldInterface,
cPlayer a_Player,
const Vector3i  a_BlockPos,
eBlockFace  a_BlockFace,
const Vector3i  a_CursorPos 
) const
inlineoverrideprivatevirtual

Definition at line 22 of file BlockFenceGate.h.


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