Table of Contents

Class PackageScript

Namespace
SkyrimForge.Papyrus
Assembly
SkyrimForge.Game.dll

Functions and comments from Package.psc.

public static class PackageScript
Inheritance
PackageScript
Inherited Members

Properties

Dispatcher

The dispatcher that binds this script to a form and calls the functions and properties that have no generated member.

public static PapyrusScriptDispatcher Dispatcher { get; }

Property Value

PapyrusScriptDispatcher

Methods

GetOwningQuest<T>(PapyrusScript<T>)

Returns the quest that owns this package

public static Task<Quest?> GetOwningQuest<T>(this PapyrusScript<T> self) where T : notnull, IPackage

Parameters

self PapyrusScript<T>

Returns

Task<Quest?>

Type Parameters

T

GetTemplate<T>(PapyrusScript<T>)

Obtains the package that is the parent template of this one (if any)

public static Task<Package?> GetTemplate<T>(this PapyrusScript<T> self) where T : notnull, IPackage

Parameters

self PapyrusScript<T>

Returns

Task<Package?>

Type Parameters

T