Struct MessageBoxResult
- Namespace
- BSGameLib.Game
- Assembly
- BSGameLib.Game.dll
The button the player picked in a message box. Every button is false if the box was closed another way, or never appeared (Shown false).
public struct MessageBoxResult
- Inherited Members
Properties
CancelSelected
Whether Cancel was picked.
public readonly bool CancelSelected { get; }
Property Value
NoSelected
Whether No was picked.
public readonly bool NoSelected { get; }
Property Value
OkSelected
Whether OK was picked. For OkOnly, true whenever the box was shown, however it was closed.
public readonly bool OkSelected { get; }
Property Value
Shown
Whether the box appeared. False when SDL couldn't show it (no display, for one); nothing was picked then.
public readonly bool Shown { get; }
Property Value
YesSelected
Whether Yes was picked.
public readonly bool YesSelected { get; }