Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
NodeDugEvent Class Reference
+ Inheritance diagram for NodeDugEvent:
+ Collaboration diagram for NodeDugEvent:

Public Member Functions

 NodeDugEvent (v3s16 p, MapNode n)
 
Type getType () const
 
- Public Member Functions inherited from MtEvent
virtual ~MtEvent ()=default
 

Public Attributes

v3s16 p
 
MapNode n
 

Additional Inherited Members

- Public Types inherited from MtEvent
enum  Type : u8 {
  VIEW_BOBBING_STEP = 0 , CAMERA_PUNCH_LEFT , CAMERA_PUNCH_RIGHT , PLAYER_FALLING_DAMAGE ,
  PLAYER_DAMAGE , NODE_DUG , PLAYER_JUMP , PLAYER_REGAIN_GROUND ,
  TYPE_MAX
}
 

Constructor & Destructor Documentation

◆ NodeDugEvent()

NodeDugEvent::NodeDugEvent ( v3s16 p,
MapNode n )
inline

Member Function Documentation

◆ getType()

Type NodeDugEvent::getType ( ) const
inlinevirtual

Implements MtEvent.

References MtEvent::NODE_DUG.

Member Data Documentation

◆ n

MapNode NodeDugEvent::n

Referenced by SoundMaker::nodeDug().

◆ p

v3s16 NodeDugEvent::p

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