namespace HSchool.Server.Game; /// /// Immutable copy of a school, safe to hand to request threads. The live School object /// never leaves its worker thread. /// internal sealed record SchoolState( int Id, string Name, DateTime GameTime, bool Running, byte SpeedIndex, IReadOnlyList ModIds, int Seed); /// Everything the main menu needs in one read. internal sealed record SchoolsState(int MaxSchools, IReadOnlyList Schools);