Class ItemIconProvider
Stores information about pre-made font icons for different items or item redirect types.
public class ItemIconProvider
- Inheritance
-
ItemIconProvider
- Inherited Members
Remarks
These are hard-coded for now.
Constructors
ItemIconProvider()
public ItemIconProvider()
Methods
GetCharacter(ItemAsset)
public char? GetCharacter(ItemAsset asset)
Parameters
assetItemAsset
Returns
- char?
GetCharacter(Guid)
public char? GetCharacter(Guid guid)
Parameters
guidGuid
Returns
- char?
GetCharacter(RedirectType)
public char? GetCharacter(RedirectType type)
Parameters
typeRedirectType
Returns
- char?
GetIcon(ItemAsset, bool, bool)
public string GetIcon(ItemAsset asset, bool rich = true, bool tmpro = false)
Parameters
Returns
GetIcon(Guid, bool, bool)
public string GetIcon(Guid guid, bool rich = true, bool tmpro = false)
Parameters
Returns
GetIcon(RedirectType, bool, bool)
public string GetIcon(RedirectType type, bool rich = true, bool tmpro = false)
Parameters
typeRedirectTyperichbooltmprobool
Returns
GetIconOrName(ItemAsset, bool, bool)
public string GetIconOrName(ItemAsset asset, bool rich = true, bool tmpro = false)
Parameters
Returns
TryGetIcon(ItemAsset, out string, bool, bool)
public bool TryGetIcon(ItemAsset asset, out string str, bool rich = true, bool tmpro = false)
Parameters
Returns
TryGetIcon(Guid, out string, bool, bool)
public bool TryGetIcon(Guid guid, out string str, bool rich = true, bool tmpro = false)
Parameters
Returns
TryGetIcon(RedirectType, out string, bool, bool)
public bool TryGetIcon(RedirectType type, out string str, bool rich = true, bool tmpro = false)
Parameters
typeRedirectTypestrstringrichbooltmprobool