Skip to content
Version 2.11.0
↓ Get the launcher

IGameAssets.LoadBuffIcon method

Atlas/texture handle for a buff/debuff’s icon, async-loaded via ZResLoader using the buff row’s icon path. Returns null while loading, on failure, or when the buff/icon is unknown; uv is the icon’s sub-rect ((0,0,1,1) until resolved).

public object? LoadBuffIcon(int buffId, out UvRect uv)
parameter description
buffId The buff base id (BuffTable row id).
uv The UV sub-rect for the icon within its atlas, or full-rect when standalone.