Class UldWrapper
Wrapper for multi-icon sprite sheets defined by ULD files.
Assembly: Dalamud.dll
View Source
Declaration
public class UldWrapper : IDisposable
Implements:
System.IDisposable
Properties
Uld
Gets the loaded ULD file if it exists.
View Source
Declaration
public UldFile? Uld { get; }
Valid
Gets a value indicating whether the requested ULD could be loaded.
View Source
Declaration
public bool Valid { get; }
Methods
LoadTexturePart(string, int)
Load a part of a multi-icon sheet as a texture.
View Source
Declaration
public IDalamudTextureWrap? LoadTexturePart(string texturePath, int part)
Returns
Dalamud.Interface.Textures.TextureWraps.IDalamudTextureWrap: A TextureWrap containing the requested part if it exists and null otherwise.
Parameters
Type | Name | Description |
---|---|---|
System.String | texturePath | The path of the requested texture. |
System.Int32 | part | The index of the desired icon. |
Dispose()
Clear all stored data and remove the loaded ULD.
View Source
Declaration
public void Dispose()
Implements
System.IDisposable