Class QuestLocationAlias
- Namespace
- SkyrimForge.Quests
- Assembly
- SkyrimForge.dll
A named placeholder for a location, equivalent to a Creation Kit location alias.
public sealed class QuestLocationAlias : QuestAlias
- Inheritance
-
QuestLocationAlias
- Inherited Members
Constructors
QuestLocationAlias(string)
A named placeholder for a location, equivalent to a Creation Kit location alias.
public QuestLocationAlias(string name)
Parameters
namestringThe alias's name, unique among the quest's aliases of both kinds and the same in every version of the plugin. The saved state stores the location under it.
Exceptions
- ArgumentNullException
nameisnull.
Properties
Events
The game's events about the player and the location the alias is filled with.
public IQuestLocationAliasEvents Events { get; }
Property Value
Exceptions
- InvalidOperationException
The alias belongs to no quest.
LocationId
Gets the location the alias is filled with in the loaded game. The result is null for an empty alias.
public FormId<Location>? LocationId { get; }
Property Value
Exceptions
- InvalidOperationException
The alias belongs to no quest.
Methods
Clear()
Empties the alias.
public void Clear()
Exceptions
- InvalidOperationException
The alias belongs to no quest.
Fill(FormId<Location>)
Fills the alias with the location locationId identifies.
public void Fill(FormId<Location> locationId)
Parameters
Remarks
Objectives and a ScenePackage destination use the location's world location marker. A location the game does not have, or one with no world location marker, shows no marker, and an open objective logs it.
Exceptions
- InvalidOperationException
The alias belongs to no quest.