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:
@@ -33,6 +33,15 @@ public class EventDefTests
|
||||
Assert.Equal(EventActions.GenerateImage, catalog.Events["GenerationFailed"].Action);
|
||||
Assert.Equal("Начало дня", catalog.Label("ru", catalog.Events["DayStarted"]));
|
||||
Assert.Equal("The day has started", catalog.Label("en", catalog.Events["DayStarted"]));
|
||||
|
||||
Assert.True(catalog.Events.ContainsKey("DirectorSummoned"));
|
||||
Assert.Equal(EventSeverities.Info, catalog.Events["DirectorSummoned"].Severity);
|
||||
Assert.False(catalog.Events["DirectorSummoned"].Pause);
|
||||
Assert.Equal(8000, catalog.Events["DirectorSummoned"].TtlMs);
|
||||
Assert.Equal(EventTriggers.DirectorSummon, catalog.Events["DirectorSummoned"].Trigger);
|
||||
Assert.Equal(EventActions.None, catalog.Events["DirectorSummoned"].Action);
|
||||
Assert.Equal("Ученика вызвали к директору", catalog.Label("ru", catalog.Events["DirectorSummoned"]));
|
||||
Assert.Equal("A pupil was summoned to the principal", catalog.Label("en", catalog.Events["DirectorSummoned"]));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user