Base class implementation defining common features for node tags which modify how dialogue nodes are processed during gameplay.
More...
Inherited by EasyTalk.Nodes.Tags.DisplayTag, EasyTalk.Nodes.Tags.KeyTag, EasyTalk.Nodes.Tags.NameTag, EasyTalk.Nodes.Tags.SelectableTag, EasyTalk.Nodes.Tags.TargetTag, and EasyTalk.Nodes.Tags.TranslateTag.
|
| NodeTag (string tagName) |
| Creates a new NodeTag with the specified tag name.
|
|
|
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, string value) |
| Creates a new NodeTag of the specified type with the value provided.
|
|
|
string | tagName |
| The name of the tag.
|
|
Base class implementation defining common features for node tags which modify how dialogue nodes are processed during gameplay.
◆ NodeTag()
EasyTalk.Nodes.Tags.NodeTag.NodeTag |
( |
string | tagName | ) |
|
Creates a new NodeTag with the specified tag name.
- Parameters
-
◆ CreateTag()
static NodeTag EasyTalk.Nodes.Tags.NodeTag.CreateTag |
( |
string | tagName, |
|
|
string | value ) |
|
static |
Creates a new NodeTag of the specified type with the value provided.
- Parameters
-
tagName | The name of the tag type to create. |
value | The value to set on the created node tag. |
- Returns
- The created NodeTag.
◆ ExtractTag()
static string EasyTalk.Nodes.Tags.NodeTag.ExtractTag |
( |
string | text, |
|
|
string | tagName, |
|
|
out NodeTag | tag ) |
|
static |
Extracts the specified node tag type from the provided string and stores it in the NodeTag specified.
- Parameters
-
text | The string to extract a node tag from. |
tagName | The name of the tag type to extract. |
tag | The NodeTag to store the tag's value(s) in. |
- Returns
- A version of the original string with the specified node tag removed.
◆ ExtractTags()
static string EasyTalk.Nodes.Tags.NodeTag.ExtractTags |
( |
string | text, |
|
|
Dictionary< string, NodeTag > | tags ) |
|
static |
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.
- Parameters
-
text | The string to extract tags from. |
tags | A Dictionary to store extracted node tags in. |
- Returns
- A version of the original string with all node tags removed.
◆ RemoveTags()
static string EasyTalk.Nodes.Tags.NodeTag.RemoveTags |
( |
string | text | ) |
|
|
static |
Creates and returns a version of the provided string with all of the node tags removed.
- Parameters
-
text | The string to remove node tags from. |
- Returns
- A version of the original string with all node tags removed.
◆ tagName
string EasyTalk.Nodes.Tags.NodeTag.tagName |