GetStatusEffect

Declaration

public bool GetStatusEffects(int instanceId, out StatusEffect statusEffect)

Parameters

instanceId

The instance ID of the StatusEffect to search for.

statusEffect

The StatusEffect found in the effect list. Returns null if none are found.

Returns

bool Returns true when a StatusEffect with the given instance ID is found.

Description

Searches this StatusManager for an effect with the given instance ID. If a StatusEffect isn't found the method will return false and output null.

Last updated