RPC SET_ACTIVITY payload documentation fixes
* `pid` is a mandatory field of your application's process id * `data` -> `args`
This commit is contained in:
parent
9b07431476
commit
0144c8200c
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
||||
```json
|
||||
```
|
||||
{
|
||||
"cmd": "SET_ACTIVITY",
|
||||
"data": {
|
||||
"args": {
|
||||
"pid": 9999, // Your application's process id - required field
|
||||
"activity": {
|
||||
"state": "In a Group",
|
||||
"details": "Competitive | In a Match",
|
||||
|
|
Loading…
Reference in a new issue