# 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)


---

# 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://docs.eternals.game/gdk-documentation/unity/api-reference/v1.0.0/ninetyeight.negdkconfig.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.
