Show director summons as info toasts and presence queue labels.

Corridor waiters need a summon-phase byte on presence (v11); EventDef DirectorSummoned is info-only so clocks keep running.
This commit is contained in:
Leonid Pershin
2026-08-21 13:07:47 +03:00
parent d3c2327e23
commit 9e429d0cd7
29 changed files with 453 additions and 28 deletions
+4 -1
View File
@@ -218,6 +218,7 @@ public static class ProtocolCodec
}
size += StringSize(person.TalkTopicId ?? "");
size += sizeof(byte);
}
return size;
@@ -274,6 +275,7 @@ public static class ProtocolCodec
}
writer.WriteString(person.TalkTopicId ?? "");
writer.WriteByte(person.SummonPhase);
}
return writer.Position;
@@ -460,7 +462,8 @@ public static class ProtocolCodec
}
var topicId = reader.ReadString();
people[i] = new PresencePerson(id, nodeId, state, members, topicId);
var summonPhase = reader.ReadByte();
people[i] = new PresencePerson(id, nodeId, state, members, topicId, summonPhase);
}
return new ServerPresenceMessage(schoolId, nodes, people);