# NEGdkConfig

**negdkcc**

***

negdkcc / NEGdkConfig

## Type Alias: NEGdkConfig

> **NEGdkConfig** = `object`

Defined in: [data/NEGdkConfig.ts:5](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEGdkConfig.ts#L5)

Configuration object for the NEGDK\
This type defines the settings for initializing the GDK with the appropriate parameters.

### Properties

#### environment

> **environment**: `number`

Defined in: [data/NEGdkConfig.ts:36](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEGdkConfig.ts#L36)

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

***

#### gameKey

> **gameKey**: `string`

Defined in: [data/NEGdkConfig.ts:9](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEGdkConfig.ts#L9)

Unique identifier for the game.

***

#### loginCacheEnabled

> **loginCacheEnabled**: `boolean`

Defined in: [data/NEGdkConfig.ts:41](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEGdkConfig.ts#L41)

Enable cache for login

***

#### platformSource

> **platformSource**: `string`

Defined in: [data/NEGdkConfig.ts:19](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEGdkConfig.ts#L19)

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

***

#### ramperAppId

> **ramperAppId**: `string`

Defined in: [data/NEGdkConfig.ts:24](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEGdkConfig.ts#L24)

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

***

#### scheme

> **scheme**: `string`

Defined in: [data/NEGdkConfig.ts:14](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEGdkConfig.ts#L14)

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

***

#### subPlatform

> **subPlatform**: `string`

Defined in: [data/NEGdkConfig.ts:30](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEGdkConfig.ts#L30)

Sub-platform where the game is hosted; can be one of the following:\
"telegram", "cyborg", "eternalweb", "standalone", or an empty string (for native platform).


---

# 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/cocos-creator/api-reference/ninetyeight-game-development-kit-cocos-creator/type-aliases/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.
