Drag[en]gine Script Module DragonScript
1.21
|
Topic group in conversation script. More...
Public Member Functions | |
void | addTopic (ConversationTopic topic) |
Add topic replacing existing one if present. More... | |
void | forEachTopic (Block aBlock) |
Visits topics with block with parameter ConversationTopic. More... | |
StringID | getID () |
ID. More... | |
ConversationTopic | getTopicWithID (StringID id) |
Topic with ID or null if absent. More... | |
bool | hasTopicWithID (StringID id) |
Topic with ID is present. More... | |
void | importTopics (ConversationTopicGroup group) |
Import topics. More... | |
bool | isLocked () |
Topic group is locked. More... | |
void | lock () |
Lock topic group. More... | |
ConversationTopicGroup | new (ConversationTopicGroup group) |
Create shallow copy of topic group. More... | |
ConversationTopicGroup | new (StringID id) |
Create topic group. More... | |
Public Attributes | |
StringID | pID |
bool | pLocked |
Dictionary | pTopics |
Topic group in conversation script.
void Dragengine.ConversationSystem.ConversationTopicGroup.addTopic | ( | ConversationTopic | topic | ) |
Add topic replacing existing one if present.
void Dragengine.ConversationSystem.ConversationTopicGroup.forEachTopic | ( | Block | aBlock | ) |
Visits topics with block with parameter ConversationTopic.
StringID Dragengine.ConversationSystem.ConversationTopicGroup.getID | ( | ) |
ID.
ConversationTopic Dragengine.ConversationSystem.ConversationTopicGroup.getTopicWithID | ( | StringID | id | ) |
Topic with ID or null if absent.
bool Dragengine.ConversationSystem.ConversationTopicGroup.hasTopicWithID | ( | StringID | id | ) |
Topic with ID is present.
void Dragengine.ConversationSystem.ConversationTopicGroup.importTopics | ( | ConversationTopicGroup | group | ) |
Import topics.
bool Dragengine.ConversationSystem.ConversationTopicGroup.isLocked | ( | ) |
Topic group is locked.
void Dragengine.ConversationSystem.ConversationTopicGroup.lock | ( | ) |
Lock topic group.
ConversationTopicGroup Dragengine.ConversationSystem.ConversationTopicGroup.new | ( | ConversationTopicGroup | group | ) |
Create shallow copy of topic group.
Copy is not locked.
ConversationTopicGroup Dragengine.ConversationSystem.ConversationTopicGroup.new | ( | StringID | id | ) |
Create topic group.
StringID Dragengine.ConversationSystem.ConversationTopicGroup.pID |
bool Dragengine.ConversationSystem.ConversationTopicGroup.pLocked |
Dictionary Dragengine.ConversationSystem.ConversationTopicGroup.pTopics |