Show / Hide Table of Contents

Class SpellIconCollection

Stores spell icon packs for use in game UI (e.g. HUD, Spellbook, Spellmaker). The classic spell icon file "ICON00I0.IMG" is a 320x64 atlas of 69 textures.

Inheritance
Object
SpellIconCollection
Namespace: DaggerfallWorkshop.Game.UserInterface
Assembly: Assembly-CSharp.dll
Syntax
public class SpellIconCollection

Constructors

| Improve this Doc View Source

SpellIconCollection()

Default constructor.

Declaration
public SpellIconCollection()

Properties

| Improve this Doc View Source

ElementIconCount

Static count of expected spell element icons (always 5).

Declaration
public int ElementIconCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

SpellIconCount

Static count of expected spell icons (always 69).

Declaration
public int SpellIconCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

SpellIconPacks

Declaration
public Dictionary<string, SpellIconCollection.SpellIconPack> SpellIconPacks { get; }
Property Value
Type Description
Dictionary<String, SpellIconCollection.SpellIconPack>
| Improve this Doc View Source

TargetIconCount

Static count of expected spell target icons (always 5).

Declaration
public int TargetIconCount { get; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

GetIconCount(String)

Declaration
public int GetIconCount(string key)
Parameters
Type Name Description
String key
Returns
Type Description
Int32
| Improve this Doc View Source

GetSpellElementIcon(ElementTypes)

Get spell element icon texture.

Declaration
public Texture2D GetSpellElementIcon(ElementTypes elementType)
Parameters
Type Name Description
ElementTypes elementType
Returns
Type Description
Texture2D
| Improve this Doc View Source

GetSpellIcon(SpellIcon)

Declaration
public Texture2D GetSpellIcon(SpellIcon icon)
Parameters
Type Name Description
SpellIcon icon
Returns
Type Description
Texture2D
| Improve this Doc View Source

GetSpellIcon(Int32)

Get spell icon texture from index.

Declaration
public Texture2D GetSpellIcon(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
Texture2D
| Improve this Doc View Source

GetSpellTargetIcon(TargetTypes)

Get spell target icon texture.

Declaration
public Texture2D GetSpellTargetIcon(TargetTypes targetType)
Parameters
Type Name Description
TargetTypes targetType
Returns
Type Description
Texture2D
| Improve this Doc View Source

HasPack(String)

Declaration
public bool HasPack(string key)
Parameters
Type Name Description
String key
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX