Table of Contents

Class LeveledItemScript

Namespace
SkyrimForge.Papyrus
Assembly
SkyrimForge.Game.dll

Functions and comments from LeveledItem.psc.

public static class LeveledItemScript
Inheritance
LeveledItemScript
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

AddForm(PapyrusScript<LeveledItem>, IForm, int, int)

Adds the given count of the given form to the under the given level in this leveled list

public static Task AddForm(this PapyrusScript<LeveledItem> self, IForm apForm, int aiLevel, int aiCount)

Parameters

self PapyrusScript<LeveledItem>
apForm IForm
aiLevel int
aiCount int

Returns

Task

GetChanceGlobal(PapyrusScript<LeveledItem>)

public static Task<GlobalVariable?> GetChanceGlobal(this PapyrusScript<LeveledItem> self)

Parameters

self PapyrusScript<LeveledItem>

Returns

Task<GlobalVariable?>

GetChanceNone(PapyrusScript<LeveledItem>)

public static Task<int> GetChanceNone(this PapyrusScript<LeveledItem> self)

Parameters

self PapyrusScript<LeveledItem>

Returns

Task<int>

GetNthCount(PapyrusScript<LeveledItem>, int)

public static Task<int> GetNthCount(this PapyrusScript<LeveledItem> self, int n)

Parameters

self PapyrusScript<LeveledItem>
n int

Returns

Task<int>

GetNthForm(PapyrusScript<LeveledItem>, int)

public static Task<Form?> GetNthForm(this PapyrusScript<LeveledItem> self, int n)

Parameters

self PapyrusScript<LeveledItem>
n int

Returns

Task<Form?>

GetNthLevel(PapyrusScript<LeveledItem>, int)

public static Task<int> GetNthLevel(this PapyrusScript<LeveledItem> self, int n)

Parameters

self PapyrusScript<LeveledItem>
n int

Returns

Task<int>

GetNumForms(PapyrusScript<LeveledItem>)

public static Task<int> GetNumForms(this PapyrusScript<LeveledItem> self)

Parameters

self PapyrusScript<LeveledItem>

Returns

Task<int>

Revert(PapyrusScript<LeveledItem>)

Removes all script added forms from this leveled list

public static Task Revert(this PapyrusScript<LeveledItem> self)

Parameters

self PapyrusScript<LeveledItem>

Returns

Task

SetChanceGlobal(PapyrusScript<LeveledItem>, GlobalVariable)

public static Task SetChanceGlobal(this PapyrusScript<LeveledItem> self, GlobalVariable glob)

Parameters

self PapyrusScript<LeveledItem>
glob GlobalVariable

Returns

Task

SetChanceNone(PapyrusScript<LeveledItem>, int)

public static Task SetChanceNone(this PapyrusScript<LeveledItem> self, int chance)

Parameters

self PapyrusScript<LeveledItem>
chance int

Returns

Task

SetNthCount(PapyrusScript<LeveledItem>, int, int)

public static Task SetNthCount(this PapyrusScript<LeveledItem> self, int n, int count)

Parameters

self PapyrusScript<LeveledItem>
n int
count int

Returns

Task

SetNthLevel(PapyrusScript<LeveledItem>, int, int)

public static Task SetNthLevel(this PapyrusScript<LeveledItem> self, int n, int level)

Parameters

self PapyrusScript<LeveledItem>
n int
level int

Returns

Task