KernelAPI reference
Class QuitRequest
Namespace: MicroEngine.Kernel
Assembly: MicroEngine.Kernel.dll
Guide: Modules and the frame schedule
A request to quit that came from outside the game (the window’s close button, the system), passed to QuitRequested. A handler that must keep the game running (unsaved work, a confirmation dialog) calls Veto; the game can quit later on its own.
public sealed class QuitRequestInheritance
Constructors
QuitRequest()
public QuitRequest()Properties
Vetoed
Whether a handler vetoed the request.
public bool Vetoed { get; }Property Value
Methods
Veto()
Keeps the game running.
public void Veto()