#

SUD

PlayerAssetReqData
Parameter Required Type Description
uids Yes string[] Player UID list. A maximum of 10 UIDs is supported.
Request Example
{
  "event": "player_asset",
  "mg_id": "1461227817776713818",
  "data": {
    "uids": ["uid_1", "uid_2"]
  },
  "timestamp": "1785326400000"
}

PlayerAssetRespData
Parameter Required Type Description
player_assets Yes PlayerAssetData[] Player asset list
PlayerAssetData
Parameter Required Type Description
uid Yes string Player UID
asset Yes object Player asset data. The structure varies by game.
Response Example
{
  "ret_code": 0,
  "ret_msg": "",
  "data": {
    "player_assets": [
      {
        "uid": "uid_1",
        "asset": {
          "balance": 1000
        }
      },
      {
        "uid": "uid_2",
        "asset": {
          "balance": 2000
        }
      }
    ]
  }
}

Game-Specific Asset Fields

Run From Ghost (Game ID: 2033469914201100290)

asset Fields

Parameter Required Type Description
currency Yes int64 Number of Skull Coins (Ghost Coins) owned by the player
low_magic_num Yes int32 Number of low-level supply boxes owned by the player
mid_magic_num Yes int32 Number of mid-level supply boxes owned by the player
high_magic_num Yes int32 Number of high-level supply boxes owned by the player
item_40201_num Yes int32 Number of Stun Launchers owned by the player
item_40301_num Yes int32 Number of Energy Shields owned by the player
item_40101_num Yes int32 Number of Repair Stations owned by the player
item_40701_num Yes int32 Number of Landmines owned by the player
item_42201_num Yes int32 Number of Catchers owned by the player
item_40501_num Yes int32 Number of High Voltage items owned by the player
item_40401_num Yes int32 Number of Air Conditioners owned by the player
item_40801_num Yes int32 Number of level-1 Compasses owned by the player
item_40901_num Yes int32 Number of level-1 Radars owned by the player
item_41801_num Yes int32 Number of level-1 Energy Towers owned by the player
item_42801_num Yes int32 Number of Ghost Attractors owned by the player
item_42901_num Yes int32 Number of Quick Repair Cards owned by the player
item_43001_num Yes int32 Number of Dispel Cards owned by the player
item_90101_num Yes int32 Number of Silver Treasure Chests obtained from gifts
item_90301_num Yes int32 Number of Gold Treasure Chests obtained from gifts
use_follower_config_id Yes int32 ID of the currently equipped companion
use_skin_config_id Yes int32 ID of the currently equipped skin
owned_follower_list Yes OwnedFollowerData[] Companions owned by the player
owned_skin_list Yes OwnedSkinData[] Skins owned by the player
task_list Yes TaskData[] Current task status list

OwnedFollowerData

Parameter Required Type Description
id Yes int32 Companion ID
expire_time Yes int64 Expiration time as a millisecond timestamp. 0 indicates permanent ownership.

OwnedSkinData

Parameter Required Type Description
id Yes int32 Skin ID
expire_time Yes int64 Expiration time as a millisecond timestamp. 0 indicates permanent ownership.

TaskData

Parameter Required Type Description
data_version Yes int32 Data version. Daily tasks use yyyyMMdd; weekly tasks use yyyyWW.
reward_item_id Yes int32 Reward item ID. -1 represents Skull Coins (Ghost Coins); any other value is an item ID.
reward_item_count Yes int32 Reward item quantity
status Yes int32 Task status: 0 incomplete, 1 completed, 2 reward claimed
target_count Yes int32 Target amount
earned_count Yes int32 Current completed amount
task_code Yes string Task code. See the mapping below.
task_type Yes int32 Task type: 1 daily task, 2 weekly task

reward_item_id Mapping

reward_item_id Reward Item
-1 Skull Coins (Ghost Coins)
601 Low-level supply box
701 Mid-level supply box
801 High-level supply box

task_code Mapping

task_code Description
live_time Cumulative survival time
win_count Number of wins
magic_use Number of supply boxes used
game_count Number of games played
currency_spent Number of Skull Coins (Ghost Coins) spent
mvp_count Number of MVP awards
buy_item Number of item purchases in the item shop

Skin ID Mapping

Skin ID Character
1 Xiao Shuai
2 Xiao Lin
3 A Yue (Basketball Boy)
4 Lin Xiaozhai (Otaku Girl)
5 Cole (Beak Doctor)
6 Evelyn (Nun)
7 Shen Yanqing (Groom)
8 Su Wanting (Bride)
9 Lu Mingzhe (Groom 2)
10 Bai Ruoxi (Bride 2)

Companion ID Mapping

Companion ID Companion Effect
50101 Mini Drone Generates 4 coins per second
50201 Golden Drone Generates 8 coins per second
50301 Angel Drone Generates 16 coins per second

Task ID Mapping

Task ID Task Type Description Reward
100 Daily Play 1 game (win or survive for more than 2 minutes) Skull Coins (Ghost Coins) × 5
200 Daily Win 2 games Skull Coins (Ghost Coins) × 10
300 Daily Purchase any item 3 times in the item shop Low-level supply box × 1
400 Daily Earn MVP 3 times Skull Coins (Ghost Coins) × 20
500 Daily Spend 300 Skull Coins (Ghost Coins) Mid-level supply box × 1
600 Daily Use 5 supply boxes Skull Coins (Ghost Coins) × 10
700 Daily Survive for more than 180 minutes in total Skull Coins (Ghost Coins) × 40
800 Weekly Play 10 games (win or survive for more than 2 minutes) Skull Coins (Ghost Coins) × 20
900 Weekly Win 10 games Skull Coins (Ghost Coins) × 50
1000 Weekly Purchase any item 20 times in the item shop Skull Coins (Ghost Coins) × 80
1100 Weekly Earn MVP 15 times Skull Coins (Ghost Coins) × 80
1200 Weekly Spend 1,000 Skull Coins (Ghost Coins) Mid-level supply box × 2
1300 Weekly Use 30 supply boxes in total High-level supply box × 2
1400 Weekly Survive for more than 1,000 minutes in total Skull Coins (Ghost Coins) × 80

asset Example

{
  "currency": 148608,
  "high_magic_num": 30,
  "item_40101_num": 42,
  "item_40201_num": 3,
  "item_40301_num": 18,
  "item_40401_num": 17,
  "item_40501_num": 50,
  "item_40701_num": 49,
  "item_40801_num": 8,
  "item_40901_num": 16,
  "item_41801_num": 20,
  "item_42201_num": 2,
  "item_42801_num": 19,
  "item_42901_num": 4,
  "item_43001_num": 0,
  "item_90101_num": 103,
  "item_90301_num": 20,
  "low_magic_num": 9,
  "mid_magic_num": 32,
  "owned_follower_list": [
    {
      "expire_time": 1785210858751,
      "id": 50301
    }
  ],
  "owned_skin_list": [
    {
      "expire_time": 0,
      "id": 6
    }
  ],
  "task_list": [
    {
      "data_version": 20260722,
      "earned_count": 1,
      "reward_item_count": 5,
      "reward_item_id": -1,
      "status": 2,
      "target_count": 1,
      "task_code": "game_count",
      "task_type": 1
    }
  ],
  "use_follower_config_id": 50301,
  "use_skin_config_id": 1
}

results matching ""

    No results matching ""