> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/api/runtime/keyreceiver.md).

# KeyReceiver

Type description and basic instructions.

```
class in RenownedGames.AITree
```

Key receiver sets the value to the key.

### Abstract Methods

<pre class="language-csharp"><code class="lang-csharp">/// &#x3C;summary>
/// Sets the value to the key.
/// &#x3C;/summary>
<strong>public abstract bool Apply(Key key);
</strong></code></pre>

### Virtual Methods

<pre class="language-csharp"><code class="lang-csharp">/// &#x3C;summary>
/// Detail description of key query.
/// &#x3C;/summary>
<strong>public virtual string GetDescription(Key key);
</strong></code></pre>

### Getter / Setter

```csharp
/// <summary>
/// Detail description of key query.
/// </summary>
string GetDescription(Key key);
```
