PixelCrushers.DialogueSystem.Articy.ArticyTools Class Reference

This static utility class contains tools for working with Articy data. More...

Static Public Member Functions

static bool DataContainsSchemaId (string xmlData, string schemaId)
 Checks the first few lines of a string in articy:draft XML format for a schema identifier. More...
 
static string RemoveHtml (string s)
 Removes HTML tags from a string. More...
 
static bool IsQuestStateArticyPropertyName (string propertyName)
 
static string EnumValueToQuestState (int enumValue, string stringValue)
 
static void InitializeLuaSubtables ()
 Articy strips are saved in a string field. More...
 
static Asset FindAssetByArticyId (string articyId)
 Returns the item in the master database with the specified Articy Id field. More...
 

Static Public Attributes

const string SubtableFieldPrefix = "SUBTABLE__"
 InitializeLuaSubtables() converts fields whose titles start with this string into subtables. More...
 

Detailed Description

This static utility class contains tools for working with Articy data.

Member Function Documentation

◆ DataContainsSchemaId()

static bool PixelCrushers.DialogueSystem.Articy.ArticyTools.DataContainsSchemaId ( string  xmlData,
string  schemaId 
)
static

Checks the first few lines of a string in articy:draft XML format for a schema identifier.

Returns
true if it contains the schema identifier.
Parameters
xmlFilenameXML data to check.
schemaIdSchema identifier to check for.

◆ EnumValueToQuestState()

static string PixelCrushers.DialogueSystem.Articy.ArticyTools.EnumValueToQuestState ( int  enumValue,
string  stringValue 
)
static

◆ FindAssetByArticyId()

static Asset PixelCrushers.DialogueSystem.Articy.ArticyTools.FindAssetByArticyId ( string  articyId)
static

Returns the item in the master database with the specified Articy Id field.

◆ InitializeLuaSubtables()

static void PixelCrushers.DialogueSystem.Articy.ArticyTools.InitializeLuaSubtables ( )
static

Articy strips are saved in a string field.

This method converts them into subtables that reference the strip contents.

◆ IsQuestStateArticyPropertyName()

static bool PixelCrushers.DialogueSystem.Articy.ArticyTools.IsQuestStateArticyPropertyName ( string  propertyName)
static

◆ RemoveHtml()

static string PixelCrushers.DialogueSystem.Articy.ArticyTools.RemoveHtml ( string  s)
static

Removes HTML tags from a string.

Returns
The string without HTML.
Parameters
sThe HTML-filled string.

Member Data Documentation

◆ SubtableFieldPrefix

const string PixelCrushers.DialogueSystem.Articy.ArticyTools.SubtableFieldPrefix = "SUBTABLE__"
static

InitializeLuaSubtables() converts fields whose titles start with this string into subtables.


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