# StatusManager

<figure><picture><source srcset="/files/gcOtOrlkx4dbV1H4IbyG" media="(prefers-color-scheme: dark)"><img src="/files/0YRew3fYKgPKNCrSrBkh" alt=""></picture><figcaption></figcaption></figure>

### Description

Displays the list of currently active [StatusEffects](/status-effect-framework/1.7.0/type-specifics/classes/statuseffect.md) and can add or remove effects through its public methods.

### Properties

<table data-header-hidden data-full-width="false"><thead><tr><th width="128"></th><th></th></tr></thead><tbody><tr><td>effects</td><td>An <a href="https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlylist-1?view=net-8.0">IReadOnlyList</a> of currently active <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffects</a>.</td></tr></tbody></table>

### Methods

<table data-header-hidden data-full-width="false"><thead><tr><th width="242"></th><th width="533.3333333333333"></th></tr></thead><tbody><tr><td><a href="/pages/OIrGVVtAOOgyrnVQt5aS">SetGlobalTimeOverride</a></td><td>Overrides real-time duration to decrementing from a <a href="https://docs.unity3d.com/ScriptReference/Events.UnityEvent.html">UnityEvent</a>.</td></tr><tr><td><a href="/pages/dYuxe58ADqXP3H600LQv">UnsetGlobalTimeOverride</a></td><td>Resets the time override to being real-time.</td></tr><tr><td><a href="/pages/aNh0IM66U2PMRO4qpcpI">GetStatusEffects</a></td><td>Returns a list of the <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffects</a> on the StatusManager.</td></tr><tr><td><a href="/pages/VLu2XPIis8z6kqhhXCfw">AddStatusEffect</a></td><td>Adds a new <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffect</a> to the StatusManager.</td></tr><tr><td><a href="/pages/sDSlA6n7XXXyKzs4rTnn">RemoveStatusEffect</a></td><td>Remove a <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffect</a> from the StatusManager.</td></tr><tr><td><a href="/pages/fwHo70XOyV602A9uEatj">RemoveAllStatusEffects</a></td><td>Remove all <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffect</a><a href="/pages/OpUFQnv9JKaTU0cxnlHw">s</a> from the StatusManager.</td></tr></tbody></table>

### Actions

<table data-header-hidden data-full-width="false"><thead><tr><th width="224"></th><th></th></tr></thead><tbody><tr><td>onStatusEffect</td><td>Invoked when a <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffect</a> is added or removed.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://maraudical.gitbook.io/status-effect-framework/1.7.0/type-specifics/classes/statusmanager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
