PHP Code:
{"params":{"hi":3},"from":{"items":["302"],"configId":1,"target":"inventory"},"action":"move","to":{"configId":1,"target":"ship","slotset":"lasers"}}
You get item id(s), Hangar id ("hi":3), Target, config Id, slotset and so on.
I think if you wanted to implement any level system for items, then you will need to recode the script of js.
The same stuff for drone specification
PHP Code:
{"params":{"hi":3},"from":{"items":["317","315","316"],"configId":1,"target":"inventory"},"action":"move","to":{"droneId":"869","configId":1,"target":"drone","slotset":"default"}}
And for pet:
PHP Code:
{"params":{"hi":3},"from":{"items":["302","317","315","316"],"configId":1,"target":"inventory"},"action":"move","to":{"configId":1,"target":"pet","slotset":"lasers"}}