# Game Client

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

accessed from within the SteamSettings this houses client specific features and functions

## Definition

```csharp
public class SteamSettings : ScriptableObject
{
    public class GameClient;
}
```

A static accessor is available that will access the active client object

```csharp
SteamSettings.Client
```

## Fields and Attributes

{% hint style="info" %}
Static access fields can also be accessed by reference e.g.

```csharp
GameClient.Inventory
```

is the same as

```csharp
SteamSettings.Client.inventory
```

is the same as

```csharp
mySettings.client.inventory
```

{% endhint %}

<table><thead><tr><th width="210.30334048495172">Type</th><th width="150">Name</th><th width="304.9982296920071">Comments</th></tr></thead><tbody><tr><td>InventorySettings</td><td>Inventory</td><td>Static access to inventory settings</td></tr><tr><td>List&#x3C;<a href="/pages/uFsL0RoN7w4IqXiAcaMB">InputActionSet</a>></td><td>actionSets</td><td>collection of sets mapped from Steam Input</td></tr><tr><td>List&#x3C;<a href="/pages/cYbs3FbYmPQ3LL6Wspe0">InputActionSetLayer</a>></td><td>actionSetLayers</td><td>collection of set layers mapped from Steam Input</td></tr><tr><td>List&#x3C;<a href="/pages/9TMpvOhbLmcp545FiElP">InputAction</a>></td><td>actions</td><td>collection of actions mapped from Steam Input</td></tr></tbody></table>

## Methods

### Initialize

```csharp
public void Init();
```

Used internally to initialize the client APIs

### Update All Actions

```csharp
public void UpdateAllActions(InputHandle_t controller);
```

Used to update all known actions for the indicated controller.


---

# 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://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unity/objects/classes/steam-settings/game-client.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.
