EasyTalk API
Loading...
Searching...
No Matches
EasyTalk.Nodes.Tags.AutoplayTag Class Reference

A node tag used to mark a line of dialogue for automatic continuation. More...

Inheritance diagram for EasyTalk.Nodes.Tags.AutoplayTag:
EasyTalk.Nodes.Tags.NodeTag

Public Member Functions

 AutoplayTag ()
 Creates a new autoplay tag.
 
 AutoplayTag (float delay)
 Creates a new autoplay tag which overrides the automatically calculated delay.
 
- Public Member Functions inherited from EasyTalk.Nodes.Tags.NodeTag
 NodeTag (string tagName)
 Creates a new NodeTag with the specified tag name.
 

Public Attributes

bool overrideDelay = false
 Whether the line should use the delay set on this tag, rather than the automatically calcualted dialogue line delay.
 
float delay = -1.0f
 The delay, in seconds, to use when overriding the dialogue line delay.
 
- Public Attributes inherited from EasyTalk.Nodes.Tags.NodeTag
string tagName
 The name of the tag.
 

Additional Inherited Members

- Static Public Member Functions inherited from EasyTalk.Nodes.Tags.NodeTag
static string ExtractTags (string text, Dictionary< string, NodeTag > tags)
 Extracts all node tags from the provided string and stores them in a Dictionary, where the key is the tag name and the value is the node tag itself.
 
static string RemoveTags (string text)
 Creates and returns a version of the provided string with all of the node tags removed.
 
static string ExtractTag (string text, string tagName, out NodeTag tag)
 Extracts the specified node tag type from the provided string and stores it in the NodeTag specified.
 
static NodeTag CreateTag (string tagName)
 
static NodeTag CreateTag (string tagName, string value)
 Creates a new NodeTag of the specified type with the value provided.
 

Detailed Description

A node tag used to mark a line of dialogue for automatic continuation.

Constructor & Destructor Documentation

◆ AutoplayTag() [1/2]

EasyTalk.Nodes.Tags.AutoplayTag.AutoplayTag ( )

Creates a new autoplay tag.

◆ AutoplayTag() [2/2]

EasyTalk.Nodes.Tags.AutoplayTag.AutoplayTag ( float delay)

Creates a new autoplay tag which overrides the automatically calculated delay.

Parameters
delay

Member Data Documentation

◆ delay

float EasyTalk.Nodes.Tags.AutoplayTag.delay = -1.0f

The delay, in seconds, to use when overriding the dialogue line delay.

◆ overrideDelay

bool EasyTalk.Nodes.Tags.AutoplayTag.overrideDelay = false

Whether the line should use the delay set on this tag, rather than the automatically calcualted dialogue line delay.