Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Protected Attributes | List of all members
cMinecartCollisionCallback Class Reference
Collaboration diagram for cMinecartCollisionCallback:
Collaboration graph
[legend]

Public Member Functions

 cMinecartCollisionCallback (Vector3d a_Pos, double a_Height, double a_Width, UInt32 a_UniqueID, UInt32 a_AttacheeUniqueID)
 
bool FoundIntersection (void) const
 
Vector3d GetCollidedEntityPosition (void) const
 
bool operator() (cEntity &a_Entity)
 

Protected Attributes

UInt32 m_AttacheeUniqueID
 
Vector3d m_CollidedEntityPos
 
bool m_DoesIntersect
 
double m_Height
 
Vector3d m_Pos
 
UInt32 m_UniqueID
 
double m_Width
 

Detailed Description

Definition at line 59 of file Minecart.cpp.

Constructor & Destructor Documentation

◆ cMinecartCollisionCallback()

cMinecartCollisionCallback::cMinecartCollisionCallback ( Vector3d  a_Pos,
double  a_Height,
double  a_Width,
UInt32  a_UniqueID,
UInt32  a_AttacheeUniqueID 
)
inline

Definition at line 62 of file Minecart.cpp.

Member Function Documentation

◆ FoundIntersection()

bool cMinecartCollisionCallback::FoundIntersection ( void  ) const
inline

Definition at line 104 of file Minecart.cpp.

◆ GetCollidedEntityPosition()

Vector3d cMinecartCollisionCallback::GetCollidedEntityPosition ( void  ) const
inline

Definition at line 109 of file Minecart.cpp.

◆ operator()()

bool cMinecartCollisionCallback::operator() ( cEntity a_Entity)
inline

Definition at line 73 of file Minecart.cpp.

Member Data Documentation

◆ m_AttacheeUniqueID

UInt32 cMinecartCollisionCallback::m_AttacheeUniqueID
protected

Definition at line 122 of file Minecart.cpp.

◆ m_CollidedEntityPos

Vector3d cMinecartCollisionCallback::m_CollidedEntityPos
protected

Definition at line 117 of file Minecart.cpp.

◆ m_DoesIntersect

bool cMinecartCollisionCallback::m_DoesIntersect
protected

Definition at line 115 of file Minecart.cpp.

◆ m_Height

double cMinecartCollisionCallback::m_Height
protected

Definition at line 120 of file Minecart.cpp.

◆ m_Pos

Vector3d cMinecartCollisionCallback::m_Pos
protected

Definition at line 119 of file Minecart.cpp.

◆ m_UniqueID

UInt32 cMinecartCollisionCallback::m_UniqueID
protected

Definition at line 121 of file Minecart.cpp.

◆ m_Width

double cMinecartCollisionCallback::m_Width
protected

Definition at line 120 of file Minecart.cpp.


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