Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
AbilityInventoryItemData Class Reference

Detailed Description

Holds the data of the drag and drop ability icons in the ability inventory in the skyhub. This includes all data that the UI needs to display, as well as what slot the ability icon is in.

Documentation updated 9/19/2024

Author
Stephen Nuttall

Public Member Functions

void MoveIcon (Vector2 newPos)
 Moves the icon to the given position.
 

Public Attributes

string abilityName
 The name of the ability in this slot.
 
int abilityLevel
 The level of the ability in this slot.
 
Sprite sprite
 The sprite of the ability in this slot.
 
string quote
 The quote to display in the detailed view.
 
int abilityIndex
 The index of the ability in AbilityInventory.
 
List< Sprite > abilityIcons
 The offense, defense, utility, and passive icons to display in the detailed view.
 
string[] abilityNames
 The names of the offense, defense, utility, and passive abilities to display in the detailed view.
 
string[] abilityDescriptions
 The descriptions of the offense, defense, utility, and passive abilities to display in the detailed view.
 
int currentSlot = -1
 The ID of the slot the item is currently in.
 

Member Function Documentation

◆ MoveIcon()

void AbilityInventoryItemData.MoveIcon ( Vector2 newPos)

Moves the icon to the given position.

Member Data Documentation

◆ abilityDescriptions

string [] AbilityInventoryItemData.abilityDescriptions

The descriptions of the offense, defense, utility, and passive abilities to display in the detailed view.

◆ abilityIcons

List<Sprite> AbilityInventoryItemData.abilityIcons

The offense, defense, utility, and passive icons to display in the detailed view.

◆ abilityIndex

int AbilityInventoryItemData.abilityIndex

The index of the ability in AbilityInventory.

◆ abilityLevel

int AbilityInventoryItemData.abilityLevel

The level of the ability in this slot.

◆ abilityName

string AbilityInventoryItemData.abilityName

The name of the ability in this slot.

◆ abilityNames

string [] AbilityInventoryItemData.abilityNames

The names of the offense, defense, utility, and passive abilities to display in the detailed view.

◆ currentSlot

int AbilityInventoryItemData.currentSlot = -1

The ID of the slot the item is currently in.

◆ quote

string AbilityInventoryItemData.quote

The quote to display in the detailed view.

◆ sprite

Sprite AbilityInventoryItemData.sprite

The sprite of the ability in this slot.


The documentation for this class was generated from the following file: