29 class cBlockTracer
abstract
34 class cCallbacks
abstract
38 virtual ~cCallbacks() {}
61 virtual bool OnOutOfWorld(
Vector3d a_BlockPos)
73 virtual bool OnIntoWorld(
Vector3d a_BlockPos)
82 virtual void OnNoMoreHits(
void) {}
87 virtual void OnNoChunk(
void) {}
92 cBlockTracer(
cWorld & a_World, cCallbacks & a_Callbacks) :
94 m_Callbacks(&a_Callbacks)
109 cCallbacks & SetCallbacks(cCallbacks & a_NewCallbacks)
111 cCallbacks & Old = *m_Callbacks;
112 m_Callbacks = &a_NewCallbacks;
121 cCallbacks * m_Callbacks;
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
unsigned char BLOCKTYPE
The datatype used by blockdata.
eBlockFace
Block face constants, used in PlayerDigging and PlayerBlockPlacement packets and bbox collision calc.