Leviathan  0.8.0.0
Leviathan game engine
Event.h File Reference

Go to the source code of this file.

Classes

class  Leviathan::BaseEventData
 Base type for all event data types. More...
 
class  Leviathan::ClientInterpolationEventData
 Data for EVENT_TYPE_CLIENT_INTERPOLATION. More...
 
class  Leviathan::IntegerEventData
 Data for EVENT_TYPE_ENGINE_TICK and all others that have only int data. More...
 
class  Leviathan::Event
 Class that represents a statically defined event. More...
 
class  Leviathan::GenericEvent
 Class that represents a dynamically defined event. More...
 

Namespaces

 Leviathan
 The access mask controls which registered functions and classes a script sees.
 

Macros

#define LISTENERNAME_ONSHOW   "OnShow"
 
#define LISTENERNAME_ONHIDE   "OnHide"
 
#define LISTENERNAME_ONLISTENUPDATE   "OnListenUpdate"
 
#define LISTENERNAME_ONCLICK   "OnClick"
 
#define LISTENERNAME_ONINIT   "OnInit"
 
#define LISTENERNAME_ONRELEASE   "OnRelease"
 
#define LISTENERNAME_ONVALUECHANGE   "OnValueChange"
 
#define LISTENERNAME_ONSUBMIT   "OnSubmit"
 
#define LISTENERNAME_ONTICK   "OnTick"
 
#define LISTENERNAME_ONCLOSECLICKED   "OnCloseClicked"
 
#define LISTENERNAME_LISTSELECTIONACCEPTED   "OnListSelectionAccepted"
 
#define LISTENERVALUE_ONSHOW   100
 
#define LISTENERVALUE_ONHIDE   101
 
#define LISTENERVALUE_ONLISTENUPDATE   102
 
#define LISTENERVALUE_ONCLICK   103
 
#define LISTENERVALUE_ONINIT   104
 
#define LISTENERVALUE_ONRELEASE   105
 
#define LISTENERVALUE_ONVALUECHANGE   106
 
#define LISTENERVALUE_ONSUBMIT   107
 
#define LISTENERVALUE_ONTICK   108
 
#define LISTENERVALUE_ONCLOSECLICKED   109
 
#define LISTENERVALUE_LISTSELECTIONACCEPTED   110
 

Enumerations

enum  Leviathan::EVENT_TYPE {
  Leviathan::EVENT_TYPE_ERROR = 0, Leviathan::EVENT_TYPE_WAKEUP, Leviathan::EVENT_TYPE_GENERAL, Leviathan::EVENT_TYPE_KEYPRESS,
  Leviathan::EVENT_TYPE_KEYDOWN, Leviathan::EVENT_TYPE_SHOW, Leviathan::EVENT_TYPE_HIDE, Leviathan::EVENT_TYPE_TICK,
  Leviathan::EVENT_TYPE_REMOVE, Leviathan::EVENT_TYPE_EVENT_SEQUENCE_BEGIN, Leviathan::EVENT_TYPE_EVENT_SEQUENCE_END, Leviathan::EVENT_TYPE_MOUSEMOVED,
  Leviathan::EVENT_TYPE_MOUSEPOSITION, Leviathan::EVENT_TYPE_GUIDISABLE, Leviathan::EVENT_TYPE_GUIENABLE, Leviathan::EVENT_TYPE_RESIZE,
  Leviathan::EVENT_TYPE_WINDOW_RESIZE, Leviathan::EVENT_TYPE_ONCLICK, Leviathan::EVENT_TYPE_LISTENERVALUEUPDATED, Leviathan::EVENT_TYPE_FRAME_BEGIN,
  Leviathan::EVENT_TYPE_FRAME_END, Leviathan::EVENT_TYPE_INIT, Leviathan::EVENT_TYPE_RELEASE, Leviathan::EVENT_TYPE_TEST,
  Leviathan::EVENT_TYPE_CLIENT_INTERPOLATION, Leviathan::EVENT_TYPE_ALL
}
 Engine events that are triggered at certain times. More...
 

Variables

static const std::map< std::string, EVENT_TYPE > Leviathan::EventListenerNameToEventMap
 
static const std::map< std::string, EVENT_TYPE > Leviathan::EventListenerCommonNameToEventMap
 

Macro Definition Documentation

◆ LISTENERNAME_LISTSELECTIONACCEPTED

#define LISTENERNAME_LISTSELECTIONACCEPTED   "OnListSelectionAccepted"

Definition at line 54 of file Event.h.

◆ LISTENERNAME_ONCLICK

#define LISTENERNAME_ONCLICK   "OnClick"

Definition at line 47 of file Event.h.

◆ LISTENERNAME_ONCLOSECLICKED

#define LISTENERNAME_ONCLOSECLICKED   "OnCloseClicked"

Definition at line 53 of file Event.h.

◆ LISTENERNAME_ONHIDE

#define LISTENERNAME_ONHIDE   "OnHide"

Definition at line 45 of file Event.h.

◆ LISTENERNAME_ONINIT

#define LISTENERNAME_ONINIT   "OnInit"

Definition at line 48 of file Event.h.

◆ LISTENERNAME_ONLISTENUPDATE

#define LISTENERNAME_ONLISTENUPDATE   "OnListenUpdate"

Definition at line 46 of file Event.h.

◆ LISTENERNAME_ONRELEASE

#define LISTENERNAME_ONRELEASE   "OnRelease"

Definition at line 49 of file Event.h.

◆ LISTENERNAME_ONSHOW

#define LISTENERNAME_ONSHOW   "OnShow"

Definition at line 44 of file Event.h.

◆ LISTENERNAME_ONSUBMIT

#define LISTENERNAME_ONSUBMIT   "OnSubmit"

Definition at line 51 of file Event.h.

◆ LISTENERNAME_ONTICK

#define LISTENERNAME_ONTICK   "OnTick"

Definition at line 52 of file Event.h.

◆ LISTENERNAME_ONVALUECHANGE

#define LISTENERNAME_ONVALUECHANGE   "OnValueChange"

Definition at line 50 of file Event.h.

◆ LISTENERVALUE_LISTSELECTIONACCEPTED

#define LISTENERVALUE_LISTSELECTIONACCEPTED   110

Definition at line 66 of file Event.h.

◆ LISTENERVALUE_ONCLICK

#define LISTENERVALUE_ONCLICK   103

Definition at line 59 of file Event.h.

◆ LISTENERVALUE_ONCLOSECLICKED

#define LISTENERVALUE_ONCLOSECLICKED   109

Definition at line 65 of file Event.h.

◆ LISTENERVALUE_ONHIDE

#define LISTENERVALUE_ONHIDE   101

Definition at line 57 of file Event.h.

◆ LISTENERVALUE_ONINIT

#define LISTENERVALUE_ONINIT   104

Definition at line 60 of file Event.h.

◆ LISTENERVALUE_ONLISTENUPDATE

#define LISTENERVALUE_ONLISTENUPDATE   102

Definition at line 58 of file Event.h.

◆ LISTENERVALUE_ONRELEASE

#define LISTENERVALUE_ONRELEASE   105

Definition at line 61 of file Event.h.

◆ LISTENERVALUE_ONSHOW

#define LISTENERVALUE_ONSHOW   100

Definition at line 56 of file Event.h.

◆ LISTENERVALUE_ONSUBMIT

#define LISTENERVALUE_ONSUBMIT   107

Definition at line 63 of file Event.h.

◆ LISTENERVALUE_ONTICK

#define LISTENERVALUE_ONTICK   108

Definition at line 64 of file Event.h.

◆ LISTENERVALUE_ONVALUECHANGE

#define LISTENERVALUE_ONVALUECHANGE   106

Definition at line 62 of file Event.h.