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