Drag[en]gine Script Module DragonScript Script API  1.0
CActionIfElse Class Reference

Conversation action processing the first if-case with a condition evaluationg to true or else instead. More...

Inheritance diagram for CActionIfElse:
ConversationAction

Public Member Functions

void addCase (CActionIfElseCase ifcase)
 Add if-case. More...
 
void addElseAction (ConversationAction action)
 Add else action. More...
 
void dispose ()
 Dispose of action. More...
 
void execute (ConversationPlayback playback)
 Execute action. More...
 
void forEachCase (Block aBlock)
 Visits all if-cases. More...
 
void forEachElseAction (Block aBlock)
 Visit all else actions. More...
 
Array getActionsForSaveID (int saveID)
 For loading retrieves the actions array matching a given unique number or null if not found. More...
 
ConversationActionIterator getIteratorElseActions ()
 Else actions iterator. More...
 
int getSaveIDForActions (Array actions)
 For saving determines a unique number to identify the given actions array with or -1 if not found. More...
 
CActionIfElse new ()
 Create conversation action. More...
 
- Public Member Functions inherited from ConversationAction
void dispose ()
 
void execute (ConversationPlayback playback)
 
Array getActionsForSaveID (int saveID)
 
float getDelay ()
 
int getSaveIDForActions (Array actions)
 
int getWaitForActorSpeak ()
 
ConversationAction new ()
 
void setDelay (float delay)
 
void setWaitForActorSpeak (int actor)
 

Detailed Description

Conversation action processing the first if-case with a condition evaluationg to true or else instead.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ addCase()

void addCase ( CActionIfElseCase  ifcase)

Add if-case.

§ addElseAction()

void addElseAction ( ConversationAction  action)

Add else action.

§ dispose()

void dispose ( )

Dispose of action.

§ execute()

void execute ( ConversationPlayback  playback)

Execute action.

§ forEachCase()

void forEachCase ( Block  aBlock)

Visits all if-cases.

§ forEachElseAction()

void forEachElseAction ( Block  aBlock)

Visit all else actions.

§ getActionsForSaveID()

Array getActionsForSaveID ( int  saveID)

For loading retrieves the actions array matching a given unique number or null if not found.

§ getIteratorElseActions()

ConversationActionIterator getIteratorElseActions ( )

Else actions iterator.

§ getSaveIDForActions()

int getSaveIDForActions ( Array  actions)

For saving determines a unique number to identify the given actions array with or -1 if not found.

§ new()

CActionIfElse new ( )

Create conversation action.


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