Class QuestAlias
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
A named placeholder of a quest, the base of QuestReferenceAlias and QuestLocationAlias.
public abstract class QuestAlias
- Inheritance
-
QuestAlias
- Derived
- Inherited Members
Remarks
An alias belongs to the one quest that declares it, from that quest's creation. A quest declares the aliases its objectives target and its scene actions use,
and those passed in aliases to Create(string, string, IEnumerable<QuestStage>?, Type, IEnumerable<QuestScene>?, IEnumerable<QuestAlias>?, bool).
Call its members on the game's thread. Filling, clearing, and reading what fills an alias need a game loaded.
Subscribing to its events and adding a package to it do not.
Properties
Name
The alias's name.
public string Name { get; }
Property Value
Quest
The quest the alias belongs to.
public IRuntimeQuest Quest { get; }
Property Value
Exceptions
- InvalidOperationException
No quest that declares the alias has been created, or the alias is Player.
Methods
ToString()
Returns the token <Alias=Name>,
which the quest replaces in an objective's text or a stage's log entry with the name of the reference or location that fills the alias.
public override string ToString()