Skip to content
Version 2.35.0
↓ Get the launcher

IGameText.GetEffectCategory method

What kind of effect buff buffId is — crowd control, immunity, shield, heal, damage over time, stat down, stat up, else Default — for drawing an icon-less effect with LoadEffectPlaceholder. A keyword guess over the row’s design label (the game’s own name when it is a real one, plus GetDesignName), first match wins in that order; the game has no category field. Returns Default until IsReady (re-ask on Ready). Cached per id: O(1) and allocation-free after the first call for an id. Added in 2.34.0.

public EffectCategory GetEffectCategory(int buffId)