DUNILOG  1.7
 All Classes Functions Variables Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | Events | List of all members
DUGController Class Reference
Inheritance diagram for DUGController:

Public Member Functions

delegate void DUGControllerEventDelegate (DUGEventDataRunTime evtObj)
 

Static Public Member Functions

static void Init (DUGModel d)
 
static DUGModelNode Run (string startNodeId=null)
 
static DUGModelNode GetPreviousNode (bool onlyTextNode=true)
 
static bool CanGetPreviousNode (bool onlyTextNode=true)
 
static DUGModelNode GetNextNode (int next=0, bool onlyTextNode=true)
 
static DUGModelNode GetNodeById (string nodeId, bool onlyTextNode=true)
 
static bool IsEntryActive (DUGModelNodeEntry entry)
 
static bool IsEntryLinked (DUGModelNodeEntry entry)
 
static string GetRunTimeTextForEntry (DUGModelNodeEntry entry)
 
static bool ShouldVariableBeDisplayed (DUGModelVariable variable)
 

Static Public Attributes

static DUGModel model
 
static DUGStorage storage
 

Events

static DUGControllerEventDelegate OnEnterNode
 
static DUGControllerEventDelegate OnPreviousNode
 
static DUGControllerEventDelegate OnSelectEntry
 
static DUGControllerEventDelegate OnStartDisplayEntry
 
static DUGControllerEventDelegate OnMaxSelectCount
 

Detailed Description

The main object for building a player on top and interact with the data model

Member Function Documentation

static void DUGController.Init ( DUGModel  d)
static

Init the interpreter

Parameters
dis the current DUGModelInstance instance
startNodeIdcould be used if the dialog should start somewhere specific
static DUGModelNode DUGController.Run ( string  startNodeId = null)
static

Start up for the ui

Parameters
startNodeIdcould be used if the dialog should start somewhere specific