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

# NEInitCallback

**negdkcc**

***

negdkcc / NEInitCallback

## Type Alias: NEInitCallback()

> **NEInitCallback** = (`errorCode`) => `void`

Defined in: [interface/INEGdk.ts:15](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/interface/INEGdk.ts#L15)

Callback function used for initialization.

### Parameters

#### errorCode

`number`

The error code returned during initialization (0 for success, non-zero for failure).

### Returns

`void`
