Table of Contents

Class ArmorAddonScript

Namespace
SkyrimForge.Papyrus
Assembly
SkyrimForge.Game.dll

Functions and comments from ArmorAddon.psc.

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

AddSlotToMask(PapyrusScript<ArmorAddon>, int)

adds the specified slotMask to the armor addon

public static Task<int> AddSlotToMask(this PapyrusScript<ArmorAddon> self, int slotMask)

Parameters

self PapyrusScript<ArmorAddon>
slotMask int

Returns

Task<int>

GetMaskForSlot(int)

calculates the equivalent mask value for the slot This is a global function, use it directly from Armor as it is faster

public static Task<int> GetMaskForSlot(int slot)

Parameters

slot int

Returns

Task<int>

GetModelNthTextureSet(PapyrusScript<ArmorAddon>, int, bool, bool)

returns the nth textureset for the particular model

public static Task<TextureSet?> GetModelNthTextureSet(this PapyrusScript<ArmorAddon> self, int n, bool first, bool female)

Parameters

self PapyrusScript<ArmorAddon>
n int
first bool
female bool

Returns

Task<TextureSet?>

GetModelNumTextureSets(PapyrusScript<ArmorAddon>, bool, bool)

returns the number of texturesets for the particular model

public static Task<int> GetModelNumTextureSets(this PapyrusScript<ArmorAddon> self, bool first, bool female)

Parameters

self PapyrusScript<ArmorAddon>
first bool
female bool

Returns

Task<int>

GetModelPath(PapyrusScript<ArmorAddon>, bool, bool)

returns the model path of the particular model

public static Task<string> GetModelPath(this PapyrusScript<ArmorAddon> self, bool firstPerson, bool female)

Parameters

self PapyrusScript<ArmorAddon>
firstPerson bool
female bool

Returns

Task<string>

GetNthAdditionalRace(PapyrusScript<ArmorAddon>, int)

returns the nth race this armor addon applies to

public static Task<Race?> GetNthAdditionalRace(this PapyrusScript<ArmorAddon> self, int n)

Parameters

self PapyrusScript<ArmorAddon>
n int

Returns

Task<Race?>

GetNumAdditionalRaces(PapyrusScript<ArmorAddon>)

returns the number of races this armor addon applies to

public static Task<int> GetNumAdditionalRaces(this PapyrusScript<ArmorAddon> self)

Parameters

self PapyrusScript<ArmorAddon>

Returns

Task<int>

GetSlotMask(PapyrusScript<ArmorAddon>)

returns the slot mask for the armor addon.

public static Task<int> GetSlotMask(this PapyrusScript<ArmorAddon> self)

Parameters

self PapyrusScript<ArmorAddon>

Returns

Task<int>

RemoveSlotFromMask(PapyrusScript<ArmorAddon>, int)

removes the specified slot masks from the armor addon

public static Task<int> RemoveSlotFromMask(this PapyrusScript<ArmorAddon> self, int slotMask)

Parameters

self PapyrusScript<ArmorAddon>
slotMask int

Returns

Task<int>

SetModelNthTextureSet(PapyrusScript<ArmorAddon>, TextureSet, int, bool, bool)

sets the nth textureset for the particular model

public static Task SetModelNthTextureSet(this PapyrusScript<ArmorAddon> self, TextureSet texture, int n, bool first, bool female)

Parameters

self PapyrusScript<ArmorAddon>
texture TextureSet
n int
first bool
female bool

Returns

Task

SetModelPath(PapyrusScript<ArmorAddon>, string, bool, bool)

sets the model path of the particular model

public static Task SetModelPath(this PapyrusScript<ArmorAddon> self, string path, bool firstPerson, bool female)

Parameters

self PapyrusScript<ArmorAddon>
path string
firstPerson bool
female bool

Returns

Task

SetSlotMask(PapyrusScript<ArmorAddon>, int)

sets the slot mask for the armor addon

public static Task SetSlotMask(this PapyrusScript<ArmorAddon> self, int slotMask)

Parameters

self PapyrusScript<ArmorAddon>
slotMask int

Returns

Task