Table of Contents

Class GameDataScript

Namespace
SkyrimForge.Papyrus
Assembly
SkyrimForge.Game.dll

Functions and comments from GameData.psc.

public static class GameDataScript
Inheritance
GameDataScript
Inherited Members

Fields

WeaponTypeBow

public const int WeaponTypeBow = 128

Field Value

int

WeaponTypeCrossbow

public const int WeaponTypeCrossbow = 512

Field Value

int

WeaponTypeHandToHand

public const int WeaponTypeHandToHand = 1

Field Value

int

WeaponTypeOneHandAxe

public const int WeaponTypeOneHandAxe = 8

Field Value

int

WeaponTypeOneHandDagger

public const int WeaponTypeOneHandDagger = 4

Field Value

int

WeaponTypeOneHandMace

public const int WeaponTypeOneHandMace = 16

Field Value

int

WeaponTypeOneHandSword

public const int WeaponTypeOneHandSword = 2

Field Value

int

WeaponTypeStaff

public const int WeaponTypeStaff = 256

Field Value

int

WeaponTypeTwoHandAxe

public const int WeaponTypeTwoHandAxe = 64

Field Value

int

WeaponTypeTwoHandSword

public const int WeaponTypeTwoHandSword = 32

Field Value

int

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

GetAllAmmo(string, IReadOnlyCollection<IPapyrusKeyword>?, bool)

public static Task<Form[]> GetAllAmmo(string modName, IReadOnlyCollection<IPapyrusKeyword>? keywords = null, bool playable = true)

Parameters

modName string
keywords IReadOnlyCollection<IPapyrusKeyword>
playable bool

Returns

Task<Form[]>

GetAllArmor(string, IReadOnlyCollection<IPapyrusKeyword>?, bool, bool, bool, bool, bool)

public static Task<Form[]> GetAllArmor(string modName, IReadOnlyCollection<IPapyrusKeyword>? keywords = null, bool playable = true, bool ignoreTemplates = true, bool ignoreEnchantments = true, bool onlyEnchanted = false, bool ignoreSkin = true)

Parameters

modName string
keywords IReadOnlyCollection<IPapyrusKeyword>
playable bool
ignoreTemplates bool
ignoreEnchantments bool
onlyEnchanted bool
ignoreSkin bool

Returns

Task<Form[]>

GetAllBooks(string, IReadOnlyCollection<IPapyrusKeyword>?, bool, bool, bool)

public static Task<Form[]> GetAllBooks(string modName, IReadOnlyCollection<IPapyrusKeyword>? keywords = null, bool regular = true, bool spell = false, bool skill = false)

Parameters

modName string
keywords IReadOnlyCollection<IPapyrusKeyword>
regular bool
spell bool
skill bool

Returns

Task<Form[]>

GetAllIngredients(string, IReadOnlyCollection<IPapyrusKeyword>?)

public static Task<Form[]> GetAllIngredients(string modName, IReadOnlyCollection<IPapyrusKeyword>? keywords = null)

Parameters

modName string
keywords IReadOnlyCollection<IPapyrusKeyword>

Returns

Task<Form[]>

GetAllKeys(string, IReadOnlyCollection<IPapyrusKeyword>?)

public static Task<Form[]> GetAllKeys(string modName, IReadOnlyCollection<IPapyrusKeyword>? keywords = null)

Parameters

modName string
keywords IReadOnlyCollection<IPapyrusKeyword>

Returns

Task<Form[]>

GetAllMiscItems(string, IReadOnlyCollection<IPapyrusKeyword>?)

public static Task<Form[]> GetAllMiscItems(string modName, IReadOnlyCollection<IPapyrusKeyword>? keywords = null)

Parameters

modName string
keywords IReadOnlyCollection<IPapyrusKeyword>

Returns

Task<Form[]>

GetAllPotions(string, IReadOnlyCollection<IPapyrusKeyword>?, bool, bool, bool)

public static Task<Form[]> GetAllPotions(string modName, IReadOnlyCollection<IPapyrusKeyword>? keywords = null, bool potions = true, bool food = false, bool poison = false)

Parameters

modName string
keywords IReadOnlyCollection<IPapyrusKeyword>
potions bool
food bool
poison bool

Returns

Task<Form[]>

GetAllScrolls(string, IReadOnlyCollection<IPapyrusKeyword>?)

public static Task<Form[]> GetAllScrolls(string modName, IReadOnlyCollection<IPapyrusKeyword>? keywords = null)

Parameters

modName string
keywords IReadOnlyCollection<IPapyrusKeyword>

Returns

Task<Form[]>

GetAllWeapons(string, IReadOnlyCollection<IPapyrusKeyword>?, bool, bool, bool, bool, int)

public static Task<Form[]> GetAllWeapons(string modName, IReadOnlyCollection<IPapyrusKeyword>? keywords = null, bool playable = true, bool ignoreTemplates = true, bool ignoreEnchantments = true, bool onlyEnchanted = false, int weaponTypes = -1)

Parameters

modName string
keywords IReadOnlyCollection<IPapyrusKeyword>
playable bool
ignoreTemplates bool
ignoreEnchantments bool
onlyEnchanted bool
weaponTypes int

Returns

Task<Form[]>