Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
SimpleTriggerEvent Class Reference

#include <mtevent.h>

+ Inheritance diagram for SimpleTriggerEvent:
+ Collaboration diagram for SimpleTriggerEvent:

Public Member Functions

 SimpleTriggerEvent (Type type)
 
Type getType () const override
 
- Public Member Functions inherited from MtEvent
virtual ~MtEvent ()=default
 

Private Attributes

Type type
 

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

◆ SimpleTriggerEvent()

SimpleTriggerEvent::SimpleTriggerEvent ( Type type)
inline

Member Function Documentation

◆ getType()

Type SimpleTriggerEvent::getType ( ) const
inlineoverridevirtual

Implements MtEvent.

References type.

Member Data Documentation

◆ type

Type SimpleTriggerEvent::type
private

Referenced by getType().


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