Skip to content
Version 2.35.0
↓ Get the launcher

IEffectPlaceholders.LoadEffectPlaceholder method

A placeholder tile for an effect that has no icon of its own: a white glyph for category (GetEffectCategory) on a green (buff) or red (debuff) tile, the same art CombatMeter 3.0 draws. Feed it to the same elements as LoadBuffIcon results (GameTextureElement, CooldownTileElement, …). The art is pre-drawn and pixel-hinted per size (14-64 px, never one master scaled): this returns the smallest pre-drawn size at or above sizePx (the 64 px tile above that), so pass the icon’s ON-SCREEN pixel size. Synchronous: decoded from the framework’s embedded PNGs on first use per (category, kind, size), then cached; null only when the resource is missing. uv is always (0,0,1,1). Main thread only. Added in 2.34.0.

public object? LoadEffectPlaceholder(EffectCategory category, bool debuff, int sizePx,
out UvRect uv)
parameter description
category The glyph; an unknown value draws Default.
debuff True = red debuff tile, false = green buff tile.
sizePx The icon’s on-screen size in pixels.
uv Always the full rect (0,0,1,1).