Class PotionScript
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Functions and comments from Potion.psc.
public static class PotionScript
- Inheritance
-
PotionScript
- 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
GetCostliestEffectIndex(PapyrusScript<Potion>)
return the index of the costliest effect
public static Task<int> GetCostliestEffectIndex(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
GetEffectAreas(PapyrusScript<Potion>)
Returns all the areas of this object in order
public static Task<int[]> GetEffectAreas(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
GetEffectDurations(PapyrusScript<Potion>)
Returns all the durations of this object in order
public static Task<int[]> GetEffectDurations(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
GetEffectMagnitudes(PapyrusScript<Potion>)
Returns all the magnitudes of this object in order
public static Task<float[]> GetEffectMagnitudes(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
GetMagicEffects(PapyrusScript<Potion>)
Returns all the magic effects of this object in order
public static Task<MagicEffect[]> GetMagicEffects(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
- Task<MagicEffect[]>
GetNthEffectArea(PapyrusScript<Potion>, int)
return the area of the specified effect
public static Task<int> GetNthEffectArea(this PapyrusScript<Potion> self, int index)
Parameters
selfPapyrusScript<Potion>indexint
Returns
GetNthEffectDuration(PapyrusScript<Potion>, int)
return the duration of the specified effect
public static Task<int> GetNthEffectDuration(this PapyrusScript<Potion> self, int index)
Parameters
selfPapyrusScript<Potion>indexint
Returns
GetNthEffectMagicEffect(PapyrusScript<Potion>, int)
return the magic effect of the specified effect
public static Task<MagicEffect?> GetNthEffectMagicEffect(this PapyrusScript<Potion> self, int index)
Parameters
selfPapyrusScript<Potion>indexint
Returns
GetNthEffectMagnitude(PapyrusScript<Potion>, int)
return the magnitude of the specified effect
public static Task<float> GetNthEffectMagnitude(this PapyrusScript<Potion> self, int index)
Parameters
selfPapyrusScript<Potion>indexint
Returns
GetNumEffects(PapyrusScript<Potion>)
return the number of the effects
public static Task<int> GetNumEffects(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
GetUseSound(PapyrusScript<Potion>)
gets the use sound of this potion
public static Task<SoundDescriptor?> GetUseSound(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
IsFood(PapyrusScript<Potion>)
SKSE64 additions built 2024-01-17 20:01:40.731000 UTC Is this potion classified as Food?
public static Task<bool> IsFood(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
IsHostile(PapyrusScript<Potion>)
Is this postion classified as hostile?
public static Task<bool> IsHostile(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
IsPoison(PapyrusScript<Potion>)
Is this potion classified as Poison?
public static Task<bool> IsPoison(this PapyrusScript<Potion> self)
Parameters
selfPapyrusScript<Potion>
Returns
SetNthEffectArea(PapyrusScript<Potion>, int, int)
sets the area of the specified effect
public static Task SetNthEffectArea(this PapyrusScript<Potion> self, int index, int value)
Parameters
selfPapyrusScript<Potion>indexintvalueint
Returns
SetNthEffectDuration(PapyrusScript<Potion>, int, int)
sets the duration of the specified effect
public static Task SetNthEffectDuration(this PapyrusScript<Potion> self, int index, int value)
Parameters
selfPapyrusScript<Potion>indexintvalueint
Returns
SetNthEffectMagnitude(PapyrusScript<Potion>, int, float)
sets the magnitude of the specified effect
public static Task SetNthEffectMagnitude(this PapyrusScript<Potion> self, int index, float value)
Parameters
selfPapyrusScript<Potion>indexintvaluefloat