diff --git a/src/client_container.proto b/src/client_container.proto index 4c7ec8d36..c2775c784 100644 --- a/src/client_container.proto +++ b/src/client_container.proto @@ -2,7 +2,7 @@ // adding a new message: // within ClientMessage block, // create a new field in the enum Type section (100s are meant to be normal messages; 1000s are meant to be errors). It will have new field number X -// create a optional message of the same name, and use the same field number X. +// create a optional message of the same name (but lower-case! the json code requires this), and use the same field number X. // then at bottom of the file (or wherever; just outside any existing blocks), add your message definition. package jampb; @@ -16,11 +16,11 @@ message ClientMessage { USER_JOINED_JAM_SESSION = 104; LEAVE_JAM_SESSION = 105; LEAVE_JAM_SESSION_ACK = 106; - HEARTBEAT = 107; + HEARTBEAT = 107; - TEST_SESSION_MESSAGE = 200; + TEST_SESSION_MESSAGE = 200; - SERVER_GENERIC_ERROR = 1000; + SERVER_GENERIC_ERROR = 1000; SERVER_REJECTION_ERROR = 1001; }