From da37fc1fee3531f10afdd3aa0d6a75e424dc81da Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Wed, 4 Oct 2023 23:12:36 -0700 Subject: [PATCH] document spectator message in 6xB4x52 command --- src/CommandFormats.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index 4ad2e75f..826a1290 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -6594,8 +6594,10 @@ struct G_SetGameMetadata_GC_Ep3_6xB4x52 { // 30+ = icon with 12 spectators (red) le_uint16_t total_spectators = 0; // Clamped to [0, 999] by the client le_uint16_t unused = 0; - le_uint16_t size = 0; // Number of used bytes in unknown_a2 (clamped to 0xFF) - parray unknown_a2; + // If text_size is not zero, the text is shown in the top bar instead of the + // usual message ("Viewing Battle", "Time left: XX:XX", and the like). + le_uint16_t text_size = 0; + ptext text; } __packed__; // 6xB4x53: Reject battle start request