# 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="../statuseffectdata">StatusEffectData</a>.</td></tr><tr><td><code>value</code></td><td><a href="../statuseffectdata">StatusEffectData</a></td><td>The <a href="../statuseffectdata">StatusEffectData</a> to add to the database.</td></tr></tbody></table>

### Description

Adds a [StatusEffectData](../statuseffectdata) to the database.
