RPC SET_ACTIVITY payload documentation fixes

* `pid` is a mandatory field of your application's process id
* `data` -> `args`
This commit is contained in:
Mason Sciotti 2017-08-18 15:32:25 -07:00 committed by GitHub
parent 9b07431476
commit 0144c8200c

View file

@ -20,10 +20,11 @@ The one major difference is the `party.size` field. It is an array with a size o
Below is a full example of a `SET_ACTIVITY` command. Field restrictions like size are the same as outlined in the main documentation. Below is a full example of a `SET_ACTIVITY` command. Field restrictions like size are the same as outlined in the main documentation.
```json ```
{ {
"cmd": "SET_ACTIVITY", "cmd": "SET_ACTIVITY",
"data": { "args": {
"pid": 9999, // Your application's process id - required field
"activity": { "activity": {
"state": "In a Group", "state": "In a Group",
"details": "Competitive | In a Match", "details": "Competitive | In a Match",