Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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.
void addFacePose (ConversationFacePose facePose)
 Add face pose replacing existing one if present.
void addGesture (ConversationGesture gesture)
 Add gesture replacing existing one if present.
void addTarget (ConversationTarget target)
 Add target replacing existing one if present.
void addTopicGroup (ConversationTopicGroup group)
 Add topic group replacing existing one if present.
ConversationTopic findTopic (StringID groupID, StringID topicID)
 Topic in group or null if absent.
void forEachCameraShot (Block ablock)
 Visit camera shots with block with parameter ConversationCameraShot.
void forEachFacePose (Block ablock)
 Visit face poses with block with parameter ConversationFacePose.
void forEachGesture (Block ablock)
 Visit gestures with block with parameter ConversationGesture.
void forEachTarget (Block ablock)
 Visit targets with block with parameter ConversationTarget.
void forEachTopicGroup (Block ablock)
 Visit topic groups with block with parameter ConversationTopicGroup.
ConversationCameraShot getCameraShotNamed (StringID name)
 Named camera shot or null if absent.
ConversationFacePose getFacePoseNamed (StringID name)
 Named face pose or null if absent.
ConversationGesture getGestureNamed (StringID name)
 Named gesture or null if absent.
String getPathFile ()
 Path conversation has been loaded from.
ConversationTarget getTargetNamed (StringID name)
 Named target or null if absent.
ConversationTopicGroup getTopicGroupWithID (StringID id)
 Topic group with ID or null if absent.
Conversation new (String pathFile)
 Create conversation.

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.

References addTarget(), and pTargets.

Referenced by forEachGesture().

◆ addFacePose()

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

Add face pose replacing existing one if present.

References forEachCameraShot(), and pCameraShots.

Referenced by findTopic().

◆ addGesture()

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

Add gesture replacing existing one if present.

References getCameraShotNamed(), and pCameraShots.

Referenced by addTopicGroup().

◆ addTarget()

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

Add target replacing existing one if present.

References pPathFile.

Referenced by addCameraShot().

◆ addTopicGroup()

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

Add topic group replacing existing one if present.

References addGesture(), and pGestures.

Referenced by findTopic().

◆ findTopic()

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

◆ forEachCameraShot()

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

Visit camera shots with block with parameter ConversationCameraShot.

References forEachTarget(), and pTargets.

Referenced by addFacePose().

◆ forEachFacePose()

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

Visit face poses with block with parameter ConversationFacePose.

References getGestureNamed().

Referenced by findTopic().

◆ forEachGesture()

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

Visit gestures with block with parameter ConversationGesture.

References addCameraShot(), and pCameraShots.

Referenced by findTopic().

◆ forEachTarget()

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

Visit targets with block with parameter ConversationTarget.

References getTargetNamed(), and pTargets.

Referenced by forEachCameraShot().

◆ forEachTopicGroup()

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

Visit topic groups with block with parameter ConversationTopicGroup.

Referenced by findTopic().

◆ getCameraShotNamed()

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

Named camera shot or null if absent.

Referenced by addGesture().

◆ getFacePoseNamed()

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

Named face pose or null if absent.

Referenced by findTopic().

◆ getGestureNamed()

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

Named gesture or null if absent.

Referenced by forEachFacePose().

◆ getPathFile()

String Dragengine.ConversationSystem.Conversation.getPathFile ( )

Path conversation has been loaded from.

References pFacePoses, and pTopicGroups.

Referenced by getTargetNamed().

◆ getTargetNamed()

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

Named target or null if absent.

References getPathFile().

Referenced by forEachTarget().

◆ getTopicGroupWithID()

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

Topic group with ID or null if absent.

References pGestures.

Referenced by findTopic().

◆ new()

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

Create conversation.

References new(), pCameraShots, pGestures, pPathFile, and pTargets.

Referenced by new().

Member Data Documentation

◆ pCameraShots

Dictionary Dragengine.ConversationSystem.Conversation.pCameraShots

◆ pFacePoses

Dictionary Dragengine.ConversationSystem.Conversation.pFacePoses

Referenced by findTopic(), and getPathFile().

◆ pGestures

Dictionary Dragengine.ConversationSystem.Conversation.pGestures

◆ pPathFile

String Dragengine.ConversationSystem.Conversation.pPathFile

Referenced by addTarget(), and new().

◆ pTargets

Dictionary Dragengine.ConversationSystem.Conversation.pTargets

◆ pTopicGroups

Dictionary Dragengine.ConversationSystem.Conversation.pTopicGroups

Referenced by findTopic(), and getPathFile().


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