Dry
Classes | Enumerations | Functions
ScriptInstance.h File Reference
#include "../AngelScript/ScriptEventListener.h"
#include "../Scene/Component.h"

Classes

class  Dry::ScriptInstance
 Script object component. More...
 

Enumerations

enum  Dry::ScriptInstanceMethod {
  METHOD_START = 0, METHOD_STOP, METHOD_DELAYEDSTART, METHOD_UPDATE,
  METHOD_POSTUPDATE, METHOD_FIXEDUPDATE, METHOD_FIXEDPOSTUPDATE, METHOD_LOAD,
  METHOD_SAVE, METHOD_READNETWORKUPDATE, METHOD_WRITENETWORKUPDATE, METHOD_APPLYATTRIBUTES,
  METHOD_TRANSFORMCHANGED, MAX_SCRIPT_METHODS
}
 Inbuilt scripted component methods.
 

Functions

asIScriptContext * Dry::GetActiveASContext ()
 Return the active AngelScript context. Provided as a wrapper to the AngelScript API function to avoid undefined symbol error in shared library Dry builds.
 
Context * Dry::GetScriptContext ()
 Return the Dry context of the active AngelScript context.
 
ScriptInstance * Dry::GetScriptContextInstance ()
 Return the ScriptInstance of the active AngelScript context.
 
Node * Dry::GetScriptContextNode ()
 Return the scene node of the active AngelScript context.
 
Scene * Dry::GetScriptContextScene ()
 Return the scene of the active AngelScript context.
 
ScriptEventListener * Dry::GetScriptContextEventListener ()
 Return the event listener of the active AngelScript context.
 
Object * Dry::GetScriptContextEventListenerObject ()
 Return the event listener of the active AngelScript context as an Object pointer.