Show / Hide Table of Contents

Class QuestMacroHelper

Resolves in-place text replacement macros like %var, =var_, __var, etc. for various objects. More information: http://www.dfworkshop.net/static_files/questing-source-docs.html#qrcsymbols Caller will need to supply related objects (e.g. quest) as needed. NOTE: This class will expand over time.

Inheritance
Object
QuestMacroHelper
Namespace: DaggerfallWorkshop.Utility
Assembly: Assembly-CSharp.dll
Syntax
public class QuestMacroHelper

Methods

| Improve this Doc View Source

ExpandQuestMessage(Quest, ref TextFile.Token[], Boolean)

Expands any macros found inside quest message tokens.

Declaration
public void ExpandQuestMessage(Quest parentQuest, ref TextFile.Token[] tokens, bool revealDialogLinks = false)
Parameters
Type Name Description
Quest parentQuest

Parent quest of message.

TextFile.Token[] tokens

Array of message tokens to expand macros inside of.

Boolean revealDialogLinks
| Improve this Doc View Source

ExpandQuestString(Quest, ref String)

Declaration
public void ExpandQuestString(Quest parentQuest, ref string questString)
Parameters
Type Name Description
Quest parentQuest
String questString
| Improve this Doc View Source

GetMessageResources(Message)

Gets reference to all QuestResource objects referenced by message macros

Declaration
public QuestResource[] GetMessageResources(Message message)
Parameters
Type Name Description
Message message

Message to extract resources from.

Returns
Type Description
QuestResource[]

QuestResource array or null.

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