Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
MtEventManager Class Referenceabstract

#include <mtevent.h>

+ Inheritance diagram for MtEventManager:

Public Member Functions

virtual ~MtEventManager ()=default
 
virtual void put (MtEvent *e)=0
 
virtual void reg (MtEvent::Type type, event_receive_func f, void *data)=0
 
virtual void dereg (MtEvent::Type type, event_receive_func f, void *data)=0
 

Constructor & Destructor Documentation

◆ ~MtEventManager()

virtual MtEventManager::~MtEventManager ( )
virtualdefault

Member Function Documentation

◆ dereg()

virtual void MtEventManager::dereg ( MtEvent::Type type,
event_receive_func f,
void * data )
pure virtual

Implemented in EventManager.

◆ put()

virtual void MtEventManager::put ( MtEvent * e)
pure virtual

Implemented in EventManager.

Referenced by LocalPlayer::applyControl(), LocalPlayer::move(), LocalPlayer::old_move(), Camera::step(), and ClientEnvironment::step().

+ Here is the caller graph for this function:

◆ reg()

virtual void MtEventManager::reg ( MtEvent::Type type,
event_receive_func f,
void * data )
pure virtual

Implemented in EventManager.

Referenced by SoundMaker::registerReceiver().

+ Here is the caller graph for this function:

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