Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.ConversationSystem.SimpleConversationSnippet Class Reference

Simple conversation snippet. More...

Inheritance diagram for Dragengine.ConversationSystem.SimpleConversationSnippet:

Public Member Functions

void addAction (SimpleConversationAction action)
 Add action.
void forEachAction (Block ablock)
 Visit actions with block.
SimpleConversationAction getActionAt (int index)
 Action at index.
int getActionCount ()
 Count of actions.
SimpleConversationSnippet new (SimpleConversationSnippet snippet)
 Create deep copy of simple conversation snippet.
SimpleConversationSnippet new (StringID id)
 Create simple conversation snippet.

Public Attributes

Array pActions
StringID pId

Detailed Description

Simple conversation snippet.

Version
1.25

Member Function Documentation

◆ addAction()

void Dragengine.ConversationSystem.SimpleConversationSnippet.addAction ( SimpleConversationAction action)

Add action.

References addAction(), forEachAction(), getActionAt(), getActionCount(), and pActions.

Referenced by addAction().

◆ forEachAction()

void Dragengine.ConversationSystem.SimpleConversationSnippet.forEachAction ( Block ablock)

Visit actions with block.

Block is required to have signature void(SimpleConversationAction action) or void(int index, SimpleConversationAction action).

References pId.

Referenced by addAction().

◆ getActionAt()

SimpleConversationAction Dragengine.ConversationSystem.SimpleConversationSnippet.getActionAt ( int index)

Action at index.

References pActions, and pId.

Referenced by addAction().

◆ getActionCount()

int Dragengine.ConversationSystem.SimpleConversationSnippet.getActionCount ( )

Count of actions.

Referenced by addAction().

◆ new() [1/2]

SimpleConversationSnippet Dragengine.ConversationSystem.SimpleConversationSnippet.new ( SimpleConversationSnippet snippet)

Create deep copy of simple conversation snippet.

References pActions, and pId.

◆ new() [2/2]

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

Create simple conversation snippet.

References new().

Referenced by new().

Member Data Documentation

◆ pActions

Array Dragengine.ConversationSystem.SimpleConversationSnippet.pActions

Referenced by addAction(), getActionAt(), and new().

◆ pId

StringID Dragengine.ConversationSystem.SimpleConversationSnippet.pId

Referenced by forEachAction(), getActionAt(), and new().


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