M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.TwoDimension.SpriteData Class Reference

Contains all sprites in every spritesheet with their categories and nine-grid data.

Public Member Functions

 SpriteData (string name)
 
Sprite GetSprite (string name)
 
bool SpriteExists (string spriteName)
 
void Load (ResourceDepot resourceDepot)
 

Properties

Dictionary< string, SpritePartSpritePartNames [get]
 
Dictionary< string, SpriteSpriteNames [get]
 
Dictionary< string, SpriteCategorySpriteCategories [get]
 
string Name [get]
 

Constructor & Destructor Documentation

◆ SpriteData()

TaleWorlds.TwoDimension.SpriteData.SpriteData ( string  name)

Member Function Documentation

◆ GetSprite()

Sprite TaleWorlds.TwoDimension.SpriteData.GetSprite ( string  name)

◆ SpriteExists()

bool TaleWorlds.TwoDimension.SpriteData.SpriteExists ( string  spriteName)

◆ Load()

void TaleWorlds.TwoDimension.SpriteData.Load ( ResourceDepot  resourceDepot)

Property Documentation

◆ SpritePartNames

Dictionary<string, SpritePart> TaleWorlds.TwoDimension.SpriteData.SpritePartNames
get

◆ SpriteNames

Dictionary<string, Sprite> TaleWorlds.TwoDimension.SpriteData.SpriteNames
get

◆ SpriteCategories

Dictionary<string, SpriteCategory> TaleWorlds.TwoDimension.SpriteData.SpriteCategories
get

◆ Name

string TaleWorlds.TwoDimension.SpriteData.Name
get