外观
get_pet_activity_overview
获取宠物学习或打工概览。
调用
js
const result = await api.get_pet_activity_overview(self_id, activity)参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
self_id | number | 是 | 在线 Bot QQ 号 |
activity | string | 是 | school / 学习 或 work / 打工 |
返回值
js
{
activity: 'school',
current_stage: 1,
current_career_type: 0,
last_sub_event_type: 0,
entries: [
{
name: '初级学园',
scene_code: 6100,
status_code: 0,
message: '',
stage: 1,
},
],
}current_career_type 和 last_sub_event_type 主要用于打工场景;未下发的可选字段会省略。
