Leviathan  0.8.0.0
Leviathan game engine
ScriptModule.h File Reference
#include "Define.h"
#include "AccessMask.h"
#include "Common/ThreadSafe.h"
#include "ScriptArgumentsProvider.h"
#include "add_on/scriptbuilder/scriptbuilder.h"
#include "angelscript.h"
#include "boost/thread/mutex.hpp"

Go to the source code of this file.

Classes

struct  Leviathan::ValidListenerData
 some data that is stored when a listener is found More...
 
struct  Leviathan::ScriptSourceFileData
 Represents a section of script source file. More...
 
class  Leviathan::ScriptModule
 

Namespaces

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

Macros

#define SCRIPTMODULE_LISTENFORFILECHANGES
 
#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::SCRIPTBUILDSTATE {
  Leviathan::SCRIPTBUILDSTATE_EMPTY, Leviathan::SCRIPTBUILDSTATE_READYTOBUILD, Leviathan::SCRIPTBUILDSTATE_BUILT, Leviathan::SCRIPTBUILDSTATE_FAILED,
  Leviathan::SCRIPTBUILDSTATE_DISCARDED
}
 

Macro Definition Documentation

◆ LISTENERNAME_LISTSELECTIONACCEPTED

#define LISTENERNAME_LISTSELECTIONACCEPTED   "OnListSelectionAccepted"

Definition at line 42 of file ScriptModule.h.

◆ LISTENERNAME_ONCLICK

#define LISTENERNAME_ONCLICK   "OnClick"

Definition at line 35 of file ScriptModule.h.

◆ LISTENERNAME_ONCLOSECLICKED

#define LISTENERNAME_ONCLOSECLICKED   "OnCloseClicked"

Definition at line 41 of file ScriptModule.h.

◆ LISTENERNAME_ONHIDE

#define LISTENERNAME_ONHIDE   "OnHide"

Definition at line 33 of file ScriptModule.h.

◆ LISTENERNAME_ONINIT

#define LISTENERNAME_ONINIT   "OnInit"

Definition at line 36 of file ScriptModule.h.

◆ LISTENERNAME_ONLISTENUPDATE

#define LISTENERNAME_ONLISTENUPDATE   "OnListenUpdate"

Definition at line 34 of file ScriptModule.h.

◆ LISTENERNAME_ONRELEASE

#define LISTENERNAME_ONRELEASE   "OnRelease"

Definition at line 37 of file ScriptModule.h.

◆ LISTENERNAME_ONSHOW

#define LISTENERNAME_ONSHOW   "OnShow"

Definition at line 32 of file ScriptModule.h.

◆ LISTENERNAME_ONSUBMIT

#define LISTENERNAME_ONSUBMIT   "OnSubmit"

Definition at line 39 of file ScriptModule.h.

◆ LISTENERNAME_ONTICK

#define LISTENERNAME_ONTICK   "OnTick"

Definition at line 40 of file ScriptModule.h.

◆ LISTENERNAME_ONVALUECHANGE

#define LISTENERNAME_ONVALUECHANGE   "OnValueChange"

Definition at line 38 of file ScriptModule.h.

◆ LISTENERVALUE_LISTSELECTIONACCEPTED

#define LISTENERVALUE_LISTSELECTIONACCEPTED   110

Definition at line 54 of file ScriptModule.h.

◆ LISTENERVALUE_ONCLICK

#define LISTENERVALUE_ONCLICK   103

Definition at line 47 of file ScriptModule.h.

◆ LISTENERVALUE_ONCLOSECLICKED

#define LISTENERVALUE_ONCLOSECLICKED   109

Definition at line 53 of file ScriptModule.h.

◆ LISTENERVALUE_ONHIDE

#define LISTENERVALUE_ONHIDE   101

Definition at line 45 of file ScriptModule.h.

◆ LISTENERVALUE_ONINIT

#define LISTENERVALUE_ONINIT   104

Definition at line 48 of file ScriptModule.h.

◆ LISTENERVALUE_ONLISTENUPDATE

#define LISTENERVALUE_ONLISTENUPDATE   102

Definition at line 46 of file ScriptModule.h.

◆ LISTENERVALUE_ONRELEASE

#define LISTENERVALUE_ONRELEASE   105

Definition at line 49 of file ScriptModule.h.

◆ LISTENERVALUE_ONSHOW

#define LISTENERVALUE_ONSHOW   100

Definition at line 44 of file ScriptModule.h.

◆ LISTENERVALUE_ONSUBMIT

#define LISTENERVALUE_ONSUBMIT   107

Definition at line 51 of file ScriptModule.h.

◆ LISTENERVALUE_ONTICK

#define LISTENERVALUE_ONTICK   108

Definition at line 52 of file ScriptModule.h.

◆ LISTENERVALUE_ONVALUECHANGE

#define LISTENERVALUE_ONVALUECHANGE   106

Definition at line 50 of file ScriptModule.h.

◆ SCRIPTMODULE_LISTENFORFILECHANGES

#define SCRIPTMODULE_LISTENFORFILECHANGES

Definition at line 16 of file ScriptModule.h.