Drag[en]gine Script Module DragonScript
1.23
|
Option for a player choice conversation action. More...
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 |
Option for a player choice conversation action.
void Dragengine.ConversationSystem.CActionPlayerChoiceOption.addAction | ( | ConversationAction | action | ) |
Adds an action.
void Dragengine.ConversationSystem.CActionPlayerChoiceOption.forEachAction | ( | Block | aBlock | ) |
Visits all actions.
Array Dragengine.ConversationSystem.CActionPlayerChoiceOption.getActions | ( | ) |
Actions.
ConversationCondition Dragengine.ConversationSystem.CActionPlayerChoiceOption.getCondition | ( | ) |
Condition or null if not set.
ConversationActionIterator Dragengine.ConversationSystem.CActionPlayerChoiceOption.getIteratorActions | ( | ) |
Iterator for actions.
UnicodeString Dragengine.ConversationSystem.CActionPlayerChoiceOption.getText | ( | ) |
Text.
CActionPlayerChoiceOption Dragengine.ConversationSystem.CActionPlayerChoiceOption.new | ( | ) |
Create conversation action.
|
static |
Read from file.
void Dragengine.ConversationSystem.CActionPlayerChoiceOption.setCondition | ( | ConversationCondition | condition | ) |
Set condition or null if not set.
void Dragengine.ConversationSystem.CActionPlayerChoiceOption.setText | ( | UnicodeString | text | ) |
Set text.
void Dragengine.ConversationSystem.CActionPlayerChoiceOption.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write to file writer.
Array Dragengine.ConversationSystem.CActionPlayerChoiceOption.pActions |
ConversationCondition Dragengine.ConversationSystem.CActionPlayerChoiceOption.pCondition |
UnicodeString Dragengine.ConversationSystem.CActionPlayerChoiceOption.pText |