Spies

Overview

Peeks the next event: stores it, processes the event queue, and raises a preview event so UI can display the upcoming region/severity. Valid only if at least one region has presence.

Serialized Fields

  • EventManager eventManager — toggles storeNextEvent and calls ProcessEvents().
  • EventPanelUI eventPanelUI — referenced for UI (not used directly here).
  • ChairmanEventEvent previewEvent — raised with the stored event.

Effect

  • Set eventManager.storeNextEvent = true.
  • Call eventManager.ProcessEvents() to fetch the next event into storage.
  • Raise previewEvent with the stored event payload.

Validation

  • IsValid() ⇒ returns true if any region in GameManager.GetAllRegions() has Presence.

UI / Localization

  • Title key: ABILITY_SPIES_TITLE
  • Description key: ABILITY_SPIES_DESC