> For the complete documentation index, see [llms.txt](https://docs.eternals.game/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eternals.game/gdk-documentation/unity/api-reference/v1.0.0/ninetyeight.negdkconfig.md).

# NinetyEight.NEGdkConfig

## Struct NEGdkConfig <a href="#ninetyeight_negdkconfig" id="ninetyeight_negdkconfig"></a>

Namespace: NinetyEight\
Assembly: APIReference.dll

Configuration object for the NEGDK.\
Defines the settings for initializing the GDK.

```csharp
[Serializable]
public struct NEGdkConfig
```

**Inherited Members**

[object.Equals(object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),[object.Equals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),[object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

### Fields

#### environment <a href="#ninetyeight_negdkconfig_environment" id="ninetyeight_negdkconfig_environment"></a>

Defines the environment:\
0: production, 1: staging, 2: development.

```csharp
public int environment
```

**Field Value**

[int](https://learn.microsoft.com/dotnet/api/system.int32)

#### gameKey <a href="#ninetyeight_negdkconfig_gamekey" id="ninetyeight_negdkconfig_gamekey"></a>

Unique identifier for the game.

```csharp
public string gameKey
```

**Field Value**

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### loginCacheEnabled <a href="#ninetyeight_negdkconfig_logincacheenabled" id="ninetyeight_negdkconfig_logincacheenabled"></a>

Enable cache for login.

```csharp
public bool loginCacheEnabled
```

**Field Value**

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### platformSource <a href="#ninetyeight_negdkconfig_platformsource" id="ninetyeight_negdkconfig_platformsource"></a>

The platform from which the game is being accessed (e.g., "web", "mobile").

```csharp
public string platformSource
```

**Field Value**

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### ramperAppId <a href="#ninetyeight_negdkconfig_ramperappid" id="ninetyeight_negdkconfig_ramperappid"></a>

The app ID used by the ramper service for tracking and management.

```csharp
public string ramperAppId
```

**Field Value**

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### scheme <a href="#ninetyeight_negdkconfig_scheme" id="ninetyeight_negdkconfig_scheme"></a>

Scheme or protocol used for the game (e.g., http, https).

```csharp
public string scheme
```

**Field Value**

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### subPlatform <a href="#ninetyeight_negdkconfig_subplatform" id="ninetyeight_negdkconfig_subplatform"></a>

Sub-platform where the game is hosted.\
("telegram", "cyborg", "eternalweb", "standalone", or "")

```csharp
public string subPlatform
```

**Field Value**

[string](https://learn.microsoft.com/dotnet/api/system.string)
