From 0144c8200cfdf44b10d3cc43b289fece904dd7ed Mon Sep 17 00:00:00 2001 From: Mason Sciotti Date: Fri, 18 Aug 2017 15:32:25 -0700 Subject: [PATCH] RPC SET_ACTIVITY payload documentation fixes * `pid` is a mandatory field of your application's process id * `data` -> `args` --- documentation/hard-mode.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/documentation/hard-mode.md b/documentation/hard-mode.md index 22ef825..50dcfa0 100644 --- a/documentation/hard-mode.md +++ b/documentation/hard-mode.md @@ -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",