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

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

Inheritance diagram for CActionPlayerChoiceOption:

Public Member Functions

void addAction (ConversationAction action)
 Adds an action. More...
void dispose ()
 Dispose of the action. More...
void forEachAction (Block aBlock)
 Visits all actions. More...
Array getActions ()
 Actions. More...
ConversationActionIterator getIteratorActions ()
 Iterator for actions. More...
UnicodeString getText ()
 Text. More...
CActionPlayerChoiceOption new ()
 Create conversation action. 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...

Detailed Description

Option for a player choice conversation action.

Member Function Documentation

◆ addAction()

void addAction ( ConversationAction  action)

Adds an action.

◆ dispose()

void dispose ( )

Dispose of the action.

◆ forEachAction()

void forEachAction ( Block  aBlock)

Visits all actions.

◆ getActions()

Array getActions ( )


◆ getIteratorActions()

ConversationActionIterator getIteratorActions ( )

Iterator for actions.

◆ getText()

UnicodeString getText ( )


◆ new()

Create conversation action.

◆ readFromFile()

static CActionPlayerChoiceOption readFromFile ( PersistencyEnvironment  env,
FileReader  reader 

Read from file.

◆ setText()

void setText ( UnicodeString  text)

Set text.

◆ writeToFile()

void writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 

Write to file writer.

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