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

Topic group in conversation script. More...

Inheritance diagram for Dragengine.ConversationSystem.ConversationTopicGroup:

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
 

Detailed Description

Topic group in conversation script.

Member Function Documentation

◆ addTopic()

void Dragengine.ConversationSystem.ConversationTopicGroup.addTopic ( ConversationTopic  topic)

Add topic replacing existing one if present.

◆ forEachTopic()

void Dragengine.ConversationSystem.ConversationTopicGroup.forEachTopic ( Block  aBlock)

Visits topics with block with parameter ConversationTopic.

◆ getID()

StringID Dragengine.ConversationSystem.ConversationTopicGroup.getID ( )

ID.

◆ getTopicWithID()

ConversationTopic Dragengine.ConversationSystem.ConversationTopicGroup.getTopicWithID ( StringID  id)

Topic with ID or null if absent.

◆ hasTopicWithID()

bool Dragengine.ConversationSystem.ConversationTopicGroup.hasTopicWithID ( StringID  id)

Topic with ID is present.

◆ importTopics()

void Dragengine.ConversationSystem.ConversationTopicGroup.importTopics ( ConversationTopicGroup  group)

Import topics.

Version
1.19

◆ isLocked()

bool Dragengine.ConversationSystem.ConversationTopicGroup.isLocked ( )

Topic group is locked.

Version
1.19

◆ lock()

void Dragengine.ConversationSystem.ConversationTopicGroup.lock ( )

Lock topic group.

Version
1.19

◆ new() [1/2]

ConversationTopicGroup Dragengine.ConversationSystem.ConversationTopicGroup.new ( ConversationTopicGroup  group)

Create shallow copy of topic group.

Version
1.19

Copy is not locked.

◆ new() [2/2]

ConversationTopicGroup Dragengine.ConversationSystem.ConversationTopicGroup.new ( StringID  id)

Create topic group.

Member Data Documentation

◆ pID

StringID Dragengine.ConversationSystem.ConversationTopicGroup.pID

◆ pLocked

bool Dragengine.ConversationSystem.ConversationTopicGroup.pLocked

◆ pTopics

Dictionary Dragengine.ConversationSystem.ConversationTopicGroup.pTopics

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