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
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
selfPapyrusScript<ArmorAddon>slotMaskint
Returns
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
slotint
Returns
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
selfPapyrusScript<ArmorAddon>nintfirstboolfemalebool
Returns
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
selfPapyrusScript<ArmorAddon>firstboolfemalebool
Returns
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
selfPapyrusScript<ArmorAddon>firstPersonboolfemalebool
Returns
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
selfPapyrusScript<ArmorAddon>nint
Returns
GetNumAdditionalRaces(PapyrusScript<ArmorAddon>)
returns the number of races this armor addon applies to
public static Task<int> GetNumAdditionalRaces(this PapyrusScript<ArmorAddon> self)
Parameters
selfPapyrusScript<ArmorAddon>
Returns
GetSlotMask(PapyrusScript<ArmorAddon>)
returns the slot mask for the armor addon.
public static Task<int> GetSlotMask(this PapyrusScript<ArmorAddon> self)
Parameters
selfPapyrusScript<ArmorAddon>
Returns
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
selfPapyrusScript<ArmorAddon>slotMaskint
Returns
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
selfPapyrusScript<ArmorAddon>textureTextureSetnintfirstboolfemalebool
Returns
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
selfPapyrusScript<ArmorAddon>pathstringfirstPersonboolfemalebool
Returns
SetSlotMask(PapyrusScript<ArmorAddon>, int)
sets the slot mask for the armor addon
public static Task SetSlotMask(this PapyrusScript<ArmorAddon> self, int slotMask)
Parameters
selfPapyrusScript<ArmorAddon>slotMaskint