Drag[en]gine Script Module DragonScript  1.23
Dragengine.ConversationSystem.CActionIfElseCase Class Reference

If-case for a if-else conversation action. More...

Inheritance diagram for Dragengine.ConversationSystem.CActionIfElseCase:

Public Member Functions

void addAction (ConversationAction action)
 Adds an action. More...
 
void forEachAction (Block aBlock)
 Visits all actions. More...
 
Array getActions ()
 Actions. More...
 
ConversationCondition getCondition ()
 Condition or null if not set. More...
 
ConversationActionIterator getIteratorActions ()
 Actions iterator. More...
 
CActionIfElseCase new ()
 Create conversation action. More...
 
void setCondition (ConversationCondition condition)
 Set condition or null if not set. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write object to file writer. More...
 

Static Public Member Functions

static CActionIfElseCase readFromFile (PersistencyEnvironment env, FileReader reader)
 Read from file. More...
 

Public Attributes

Array pActions
 
ConversationCondition pCondition
 

Detailed Description

If-case for a if-else conversation action.

Member Function Documentation

◆ addAction()

void Dragengine.ConversationSystem.CActionIfElseCase.addAction ( ConversationAction  action)

Adds an action.

◆ forEachAction()

void Dragengine.ConversationSystem.CActionIfElseCase.forEachAction ( Block  aBlock)

Visits all actions.

◆ getActions()

Array Dragengine.ConversationSystem.CActionIfElseCase.getActions ( )

Actions.

◆ getCondition()

ConversationCondition Dragengine.ConversationSystem.CActionIfElseCase.getCondition ( )

Condition or null if not set.

◆ getIteratorActions()

ConversationActionIterator Dragengine.ConversationSystem.CActionIfElseCase.getIteratorActions ( )

Actions iterator.

◆ new()

CActionIfElseCase Dragengine.ConversationSystem.CActionIfElseCase.new ( )

Create conversation action.

◆ readFromFile()

static CActionIfElseCase Dragengine.ConversationSystem.CActionIfElseCase.readFromFile ( PersistencyEnvironment  env,
FileReader  reader 
)
static

Read from file.

◆ setCondition()

void Dragengine.ConversationSystem.CActionIfElseCase.setCondition ( ConversationCondition  condition)

Set condition or null if not set.

◆ writeToFile()

void Dragengine.ConversationSystem.CActionIfElseCase.writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Write object to file writer.

Member Data Documentation

◆ pActions

Array Dragengine.ConversationSystem.CActionIfElseCase.pActions

◆ pCondition

ConversationCondition Dragengine.ConversationSystem.CActionIfElseCase.pCondition

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