> 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/scriptable-objects/statuseffectdatabase/add.md).

# Add

{% hint style="info" %}
Adding is guaranteed to occur whether the key is vacant or not. In cases where the key already exists it will replace the value.
{% endhint %}

### Declaration

{% code fullWidth="true" %}

```csharp
public void Add(Hash128 key, StatusEffectData value)
```

{% 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>key</code></td><td><a href="https://docs.unity3d.com/ScriptReference/Hash128.html">Hash128</a></td><td>The unique <a href="https://docs.unity3d.com/ScriptReference/Hash128.html">Hash128</a> of the <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a>.</td></tr><tr><td><code>value</code></td><td><a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a></td><td>The <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a> to add to the database.</td></tr></tbody></table>

### Description

Adds a [StatusEffectData](/status-effects-framework/type-specifics/scriptable-objects/statuseffectdata.md) to the database.
