# NEUserPet

**negdkcc**

***

negdkcc / NEUserPet

## Type Alias: NEUserPet

> **NEUserPet** = `object`

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

Represents a user's pet in the game, including its attributes such as type, rarity, and evolution status.\
This type is used to track a player's pets and their progression.

### Properties

#### evolution

> **evolution**: `number` | `null`

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

The evolution level of the pet, or null if no evolution.

***

#### gender

> **gender**: `number`

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

The gender of the pet (e.g., 0 for male, 1 for female).

***

#### id

> **id**: `number`

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

The unique identifier for the pet.

***

#### petCode

> **petCode**: `string`

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

A unique code identifying the pet.

***

#### petId

> **petId**: `number`

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

The specific ID of the pet.

***

#### rarityCode

> **rarityCode**: `string`

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

The rarity of the pet (e.g., "common", "rare").

***

#### tokenId

> **tokenId**: `number` | `null`

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

A token ID representing the pet, or null if not assigned.

***

#### type

> **type**: `string`

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

The type of the pet (e.g., "dragon", "dog").


---

# 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/neuserpet.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.
