Show / Hide Table of Contents

Class DaggerfallStringTableImporter

Helper to import classic text data into StringTables.

Inheritance
Object
DaggerfallStringTableImporter
Namespace: DaggerfallWorkshop.Localization
Assembly: Assembly-CSharp.dll
Syntax
public static class DaggerfallStringTableImporter

Methods

| Improve this Doc View Source

ConvertRSCTokensToString(Int32, TextFile.Token[])

Converts RSC tokens into a string. Tokens will be converted into simple markup. This string can be converted back into the original RSC token stream.

Declaration
public static string ConvertRSCTokensToString(int id, TextFile.Token[] tokens)
Parameters
Type Name Description
Int32 id
TextFile.Token[] tokens

RSC token input.

Returns
Type Description
String

String with markup converted from RSC tokens.

| Improve this Doc View Source

ConvertStringToRSCTokens(String)

Converts string back into RSC tokens.

Declaration
public static TextFile.Token[] ConvertStringToRSCTokens(string input)
Parameters
Type Name Description
String input

Input string formatted with RSC markup.

Returns
Type Description
TextFile.Token[]

Array of RSC tokens converted from TextElements.

| Improve this Doc View Source

ExcludeFromStartTrim(Int32)

Declaration
public static bool ExcludeFromStartTrim(int id)
Parameters
Type Name Description
Int32 id
Returns
Type Description
Boolean
| Improve this Doc View Source

MakeTextRSCKey(Int32)

Create TEXT.RSC key in format "text.nnnn" where "nnnn" is numeric ID from TEXT.RSC entry.

Declaration
public static string MakeTextRSCKey(int id)
Parameters
Type Name Description
Int32 id
Returns
Type Description
String

Key for TEXT.RSC ID.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX