Drag[en]gine Script Module DragonScript  1.21
Dragengine.ConversationSystem.Conversation Class Reference

Conversation script. More...

Inheritance diagram for Dragengine.ConversationSystem.Conversation:

Public Member Functions

void addCameraShot (ConversationCameraShot cameraShot)
 Add camera shot replacing existing one if present. More...
 
void addFacePose (ConversationFacePose facePose)
 Add face pose replacing existing one if present. More...
 
void addGesture (ConversationGesture gesture)
 Add gesture replacing existing one if present. More...
 
void addTarget (ConversationTarget target)
 Add target replacing existing one if present. More...
 
void addTopicGroup (ConversationTopicGroup group)
 Add topic group replacing existing one if present. More...
 
ConversationTopic findTopic (StringID groupID, StringID topicID)
 Topic in group or null if absent. More...
 
void forEachCameraShot (Block ablock)
 Visit camera shots with block with parameter ConversationCameraShot. More...
 
void forEachFacePose (Block ablock)
 Visit face poses with block with parameter ConversationFacePose. More...
 
void forEachGesture (Block ablock)
 Visit gestures with block with parameter ConversationGesture. More...
 
void forEachTarget (Block ablock)
 Visit targets with block with parameter ConversationTarget. More...
 
void forEachTopicGroup (Block ablock)
 Visit topic groups with block with parameter ConversationTopicGroup. More...
 
ConversationCameraShot getCameraShotNamed (StringID name)
 Named camera shot or null if absent. More...
 
ConversationFacePose getFacePoseNamed (StringID name)
 Named face pose or null if absent. More...
 
ConversationGesture getGestureNamed (StringID name)
 Named gesture or null if absent. More...
 
String getPathFile ()
 Path conversation has been loaded from. More...
 
ConversationTarget getTargetNamed (StringID name)
 Named target or null if absent. More...
 
ConversationTopicGroup getTopicGroupWithID (StringID id)
 Topic group with ID or null if absent. More...
 
Conversation new (String pathFile)
 Create conversation. More...
 

Public Attributes

Dictionary pCameraShots
 
Dictionary pFacePoses
 
Dictionary pGestures
 
String pPathFile
 
Dictionary pTargets
 
Dictionary pTopicGroups
 

Detailed Description

Conversation script.

Member Function Documentation

◆ addCameraShot()

void Dragengine.ConversationSystem.Conversation.addCameraShot ( ConversationCameraShot  cameraShot)

Add camera shot replacing existing one if present.

◆ addFacePose()

void Dragengine.ConversationSystem.Conversation.addFacePose ( ConversationFacePose  facePose)

Add face pose replacing existing one if present.

◆ addGesture()

void Dragengine.ConversationSystem.Conversation.addGesture ( ConversationGesture  gesture)

Add gesture replacing existing one if present.

◆ addTarget()

void Dragengine.ConversationSystem.Conversation.addTarget ( ConversationTarget  target)

Add target replacing existing one if present.

◆ addTopicGroup()

void Dragengine.ConversationSystem.Conversation.addTopicGroup ( ConversationTopicGroup  group)

Add topic group replacing existing one if present.

◆ findTopic()

ConversationTopic Dragengine.ConversationSystem.Conversation.findTopic ( StringID  groupID,
StringID  topicID 
)

Topic in group or null if absent.

◆ forEachCameraShot()

void Dragengine.ConversationSystem.Conversation.forEachCameraShot ( Block  ablock)

Visit camera shots with block with parameter ConversationCameraShot.

◆ forEachFacePose()

void Dragengine.ConversationSystem.Conversation.forEachFacePose ( Block  ablock)

Visit face poses with block with parameter ConversationFacePose.

◆ forEachGesture()

void Dragengine.ConversationSystem.Conversation.forEachGesture ( Block  ablock)

Visit gestures with block with parameter ConversationGesture.

◆ forEachTarget()

void Dragengine.ConversationSystem.Conversation.forEachTarget ( Block  ablock)

Visit targets with block with parameter ConversationTarget.

◆ forEachTopicGroup()

void Dragengine.ConversationSystem.Conversation.forEachTopicGroup ( Block  ablock)

Visit topic groups with block with parameter ConversationTopicGroup.

◆ getCameraShotNamed()

ConversationCameraShot Dragengine.ConversationSystem.Conversation.getCameraShotNamed ( StringID  name)

Named camera shot or null if absent.

◆ getFacePoseNamed()

ConversationFacePose Dragengine.ConversationSystem.Conversation.getFacePoseNamed ( StringID  name)

Named face pose or null if absent.

◆ getGestureNamed()

ConversationGesture Dragengine.ConversationSystem.Conversation.getGestureNamed ( StringID  name)

Named gesture or null if absent.

◆ getPathFile()

String Dragengine.ConversationSystem.Conversation.getPathFile ( )

Path conversation has been loaded from.

◆ getTargetNamed()

ConversationTarget Dragengine.ConversationSystem.Conversation.getTargetNamed ( StringID  name)

Named target or null if absent.

◆ getTopicGroupWithID()

ConversationTopicGroup Dragengine.ConversationSystem.Conversation.getTopicGroupWithID ( StringID  id)

Topic group with ID or null if absent.

◆ new()

Conversation Dragengine.ConversationSystem.Conversation.new ( String  pathFile)

Create conversation.

Member Data Documentation

◆ pCameraShots

Dictionary Dragengine.ConversationSystem.Conversation.pCameraShots

◆ pFacePoses

Dictionary Dragengine.ConversationSystem.Conversation.pFacePoses

◆ pGestures

Dictionary Dragengine.ConversationSystem.Conversation.pGestures

◆ pPathFile

String Dragengine.ConversationSystem.Conversation.pPathFile

◆ pTargets

Dictionary Dragengine.ConversationSystem.Conversation.pTargets

◆ pTopicGroups

Dictionary Dragengine.ConversationSystem.Conversation.pTopicGroups

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