GetStatusEffect

Declaration

public bool GetStatusEffects(int instanceId, out StatusEffect statusEffect)

Parameters

Name
Type
Description

instanceId

The Hash128 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