From 22c36b4874e7d1e1ce9a1c926ca4be460d7db0d9 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Tue, 26 Jul 2022 19:59:26 -0700 Subject: [PATCH] add some notes about v1/v2 --- src/CommandFormats.hh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index 5dcc7633..ce8f98a3 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -466,7 +466,8 @@ struct C_MenuItemInfoRequest_09 { // 0B: Invalid command // 0C: Create game (DCv1) -// Format unknown +// Same format as C1, but fields not supported by v1 (e.g. episode, v2 mode) are +// unused. // 0D: Invalid command @@ -1680,6 +1681,9 @@ struct C_CreateGame { // Note: Episode 3 uses the challenge mode flag for view battle permissions. // 0 = view battle allowed; 1 = not allowed uint8_t challenge_mode; // 0 or 1 + // Note: According to the Sylverant wiki, in v2-land, the episode field has a + // different meaning: if set to 0, the game can be joined by v1 and v2 + // players; if set to 1, it's v2-only. uint8_t episode; // 1-4 on V3+ (3 on Episode 3); unused on DC/PC }; struct C_CreateGame_DC_V3_C1_Ep3_EC : C_CreateGame { };