Pause the school on warning notices until the owner dismisses them.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,6 +24,14 @@ internal abstract record WorkerCommand
|
||||
|
||||
internal sealed record DismissNotice(uint Id) : WorkerCommand;
|
||||
|
||||
internal sealed record DismissNoticeHttp(uint Id, TaskCompletionSource Result) : WorkerCommand;
|
||||
|
||||
/// <summary>Test/dev post onto the school board. Looks up an EventDef by name.</summary>
|
||||
internal sealed record PostNotice(
|
||||
string DefName,
|
||||
uint PersonId,
|
||||
TaskCompletionSource<PostedNotice?> Result) : WorkerCommand;
|
||||
|
||||
internal sealed record Dump(TaskCompletionSource<SchoolLiveDump?> Result) : WorkerCommand;
|
||||
|
||||
internal sealed record GetPerson(
|
||||
@@ -81,3 +89,5 @@ internal abstract record WorkerCommand
|
||||
string? PendingStaff,
|
||||
TaskCompletionSource<SpeechRulesOutcome> Result) : WorkerCommand;
|
||||
}
|
||||
|
||||
internal sealed record PostedNotice(uint Id, string DefName, bool Pause);
|
||||
|
||||
Reference in New Issue
Block a user