GetFirstStatusEffect
Declaration
public StatusEffect GetFirstStatusEffect(StatusEffectGroup? group = null, ComparableName? name = null, StatusEffectData? data = null)
Parameters
group | The StatusEffectGroup to select in the effect list. |
name | The ComparableName of the effect to select in the effect list. |
data | The StatusEffectData to select in the effect list. |
Returns
StatusEffect Returns the first status effect in this StatusManager with the given filters. Returns null if none are found.
Description
Searches this StatusManager for an effect with the given filters. If a group, name, or data is given then only an effect with the same group, name, and data will be selected.
Last updated