Put Players
PUT
/api/playerPut Players Only For SavSync,RconSync
请求参数
[message.bodyParameter]application/json
array of:
exp
integer
可选
full_stomach
number
可选
hp
integer
可选
items
object (database.Items)
可选
CommonContainerId
array[object (database.Item) {3}]
可选
DropSlotContainerId
array[object (database.Item) {3}]
可选
EssentialContainerId
array[object (database.Item) {3}]
可选
FoodEquipContainerId
array[object (database.Item) {3}]
可选
PlayerEquipArmorContainerId
array[object (database.Item) {3}]
可选
WeaponLoadOutContainerId
array[object (database.Item) {3}]
可选
last_online
string
可选
level
integer
可选
max_hp
integer
可选
max_status_point
integer
可选
nickname
string
可选
pals
array[object (database.Pal) {15}]
可选
defense
integer
可选
exp
integer
可选
gender
string
可选
hp
integer
可选
is_boss
boolean
可选
is_lucky
boolean
可选
is_tower
boolean
可选
level
integer
可选
max_hp
integer
可选
melee
integer
可选
ranged
integer
可选
rank
integer
可选
skills
array[string]
可选
type
string
可选
workspeed
integer
可选
player_uid
string
可选
save_last_online
string
可选
shield_hp
integer
可选
shield_max_hp
integer
可选
status_point
object
可选
额外字段
integer
可选
steam_id
string
可选
[api.label.example]
[
{
"exp": 0,
"full_stomach": 0,
"hp": 0,
"items": {
"CommonContainerId": [
{
"ItemId": "string",
"SlotIndex": 0,
"StackCount": 0
}
],
"DropSlotContainerId": [
{
"ItemId": "string",
"SlotIndex": 0,
"StackCount": 0
}
],
"EssentialContainerId": [
{
"ItemId": "string",
"SlotIndex": 0,
"StackCount": 0
}
],
"FoodEquipContainerId": [
{
"ItemId": "string",
"SlotIndex": 0,
"StackCount": 0
}
],
"PlayerEquipArmorContainerId": [
{
"ItemId": "string",
"SlotIndex": 0,
"StackCount": 0
}
],
"WeaponLoadOutContainerId": [
{
"ItemId": "string",
"SlotIndex": 0,
"StackCount": 0
}
]
},
"last_online": "string",
"level": 0,
"max_hp": 0,
"max_status_point": 0,
"nickname": "string",
"pals": [
{
"defense": 0,
"exp": 0,
"gender": "string",
"hp": 0,
"is_boss": true,
"is_lucky": true,
"is_tower": true,
"level": 0,
"max_hp": 0,
"melee": 0,
"ranged": 0,
"rank": 0,
"skills": [
"string"
],
"type": "string",
"workspeed": 0
}
],
"player_uid": "string",
"save_last_online": "string",
"shield_hp": 0,
"shield_max_hp": 0,
"status_point": {
"property1": 0,
"property2": 0
},
"steam_id": "string"
}
]
示例代码
[api.label.responses]
OK(200)
Bad Request(400)
Unauthorized(401)
HTTP 状态码: 200
内容格式: JSONapplication/json
[response.label.jsonSchema]
success
boolean
可选
[api.label.example]
[app.settings.hasNoSetting]
[updatedIn] 10 个月前