> For the complete documentation index, see [llms.txt](https://maraudical.gitbook.io/status-effects-framework/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maraudical.gitbook.io/status-effects-framework/type-specifics/classes/statusmanager/getstatuseffects.md).

# GetStatusEffects

### Declaration

{% code overflow="wrap" fullWidth="true" %}

```csharp
public IEnumerable<StatusEffect> GetStatusEffects(StatusEffectGroup? group = null, ComparableName? name = null, StatusEffectData? data = null)
```

{% endcode %}

### Parameters

<table data-full-width="true"><thead><tr><th width="250">Name</th><th width="250">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>group</code></td><td><a href="/pages/yHh71i6DLa292qCBRnk1">StatusEffectGroup</a></td><td>The <a href="/pages/yHh71i6DLa292qCBRnk1">StatusEffectGroup</a> to select in the effect list.</td></tr><tr><td><code>name</code></td><td><a href="/pages/02bLxywPwHRLDlT27aUv">ComparableName</a></td><td>The <a href="/pages/02bLxywPwHRLDlT27aUv">ComparableName</a> of the effect to select in the effect list.</td></tr><tr><td><code>data</code></td><td><a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a></td><td>The <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a> to select in the effect list.</td></tr></tbody></table>

### Returns

[**IEnumerable**](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1)**<**[**StatusEffect**](/status-effects-framework/type-specifics/classes/statuseffect.md)**>** Returns an [IEnumerable](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1) of all status effects in this [StatusManager](/status-effects-framework/type-specifics/classes/statusmanager.md) with the given filters.

### Description

Searches this [StatusManager](/status-effects-framework/type-specifics/classes/statusmanager.md) for a list of effects with the given filters. If a group, name, or data is given then only effects with the same group, name, and data will be selected.
