PetManagerService
getPets
// Request
{
"service": "PetManagerService",
"method": "getPets",
"params": {}
}
// Response
{
"status": "ok":
"result": {
"pets": [
{
"position": {
"x": 5,
"y": 8,
},
"dest_pos": {
"x": 10,
"y": 15,
},
"state": 1,
"pet": {
// NPC information
}
}
// pet 1,
// pet 2,
// [...]
]
}
}getCurrentPet
getCurrentPartner
setPetState
walk
autoAttack
petAttack
partnerAttack
Last updated
