Skip to main content

Class UldWrapper

Wrapper for multi-icon sprite sheets defined by ULD files.

Assembly: Dalamud.dll
Declaration
public class UldWrapper : IDisposable

Implements:
System.IDisposable

Properties

Uld

Gets the loaded ULD file if it exists.

Declaration
public UldFile? Uld { get; }

Valid

Gets a value indicating whether the requested ULD could be loaded.

Declaration
public bool Valid { get; }

Methods

LoadTexturePart(string, int)

Load a part of a multi-icon sheet as a texture.

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
TypeNameDescription
System.StringtexturePathThe path of the requested texture.
System.Int32partThe index of the desired icon.

Dispose()

Clear all stored data and remove the loaded ULD.

Declaration
public void Dispose()

Implements

  • System.IDisposable