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

#include <BlockStairs.h>

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

Static Public Member Functions

static bool IsAnyStairType (BLOCKTYPE a_Block)
 
- 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...
 

Private Types

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

Private Member Functions

virtual ColourID GetMapBaseColourID (NIBBLETYPE a_Meta) const override
 
virtual NIBBLETYPE MetaMirrorXZ (NIBBLETYPE a_Meta) const override
 

Additional Inherited Members

- Public Member Functions inherited from cClearMetaOnDrop< cYawRotator< cBlockHandler, 0x03, 0x03, 0x00, 0x02, 0x01, true > >
constexpr cClearMetaOnDrop (BLOCKTYPE a_BlockType)
 
- Public Member Functions inherited from cMetaRotator< Base, 0x07, 0x02, 0x05, 0x03, 0x04, false >
constexpr cMetaRotator (BLOCKTYPE a_BlockType)
 
- Protected Member Functions inherited from cClearMetaOnDrop< cYawRotator< cBlockHandler, 0x03, 0x03, 0x00, 0x02, 0x01, true > >
 ~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 10 of file BlockStairs.h.

Member Typedef Documentation

◆ Super

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

Definition at line 13 of file BlockStairs.h.

Member Function Documentation

◆ GetMapBaseColourID()

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

Definition at line 54 of file BlockStairs.h.

◆ IsAnyStairType()

static bool cBlockStairsHandler::IsAnyStairType ( BLOCKTYPE  a_Block)
inlinestatic

Definition at line 19 of file BlockStairs.h.

◆ MetaMirrorXZ()

virtual NIBBLETYPE cBlockStairsHandler::MetaMirrorXZ ( NIBBLETYPE  a_Meta) const
inlineoverrideprivatevirtual

Definition at line 47 of file BlockStairs.h.


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