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

Option for a player choice conversation action. More...

Inheritance diagram for Dragengine.ConversationSystem.CActionPlayerChoiceOption:

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 ()
 Iterator for actions. More...
 
UnicodeString getText ()
 Text. More...
 
CActionPlayerChoiceOption new ()
 Create conversation action. More...
 
void setCondition (ConversationCondition condition)
 Set condition or null if not set. More...
 
void setText (UnicodeString text)
 Set text. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write to file writer. More...
 

Static Public Member Functions

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

Public Attributes

Array pActions
 
ConversationCondition pCondition
 
UnicodeString pText
 

Detailed Description

Option for a player choice conversation action.

Member Function Documentation

◆ addAction()

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

Adds an action.

◆ forEachAction()

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

Visits all actions.

◆ getActions()

Array Dragengine.ConversationSystem.CActionPlayerChoiceOption.getActions ( )

Actions.

◆ getCondition()

ConversationCondition Dragengine.ConversationSystem.CActionPlayerChoiceOption.getCondition ( )

Condition or null if not set.

◆ getIteratorActions()

ConversationActionIterator Dragengine.ConversationSystem.CActionPlayerChoiceOption.getIteratorActions ( )

Iterator for actions.

◆ getText()

UnicodeString Dragengine.ConversationSystem.CActionPlayerChoiceOption.getText ( )

Text.

◆ new()

CActionPlayerChoiceOption Dragengine.ConversationSystem.CActionPlayerChoiceOption.new ( )

Create conversation action.

◆ readFromFile()

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

Read from file.

◆ setCondition()

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

Set condition or null if not set.

◆ setText()

void Dragengine.ConversationSystem.CActionPlayerChoiceOption.setText ( UnicodeString  text)

Set text.

◆ writeToFile()

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

Write to file writer.

Member Data Documentation

◆ pActions

Array Dragengine.ConversationSystem.CActionPlayerChoiceOption.pActions

◆ pCondition

ConversationCondition Dragengine.ConversationSystem.CActionPlayerChoiceOption.pCondition

◆ pText

UnicodeString Dragengine.ConversationSystem.CActionPlayerChoiceOption.pText

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