Table of Contents

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

bool

NoSelected

Whether No was picked.

public readonly bool NoSelected { get; }

Property Value

bool

OkSelected

Whether OK was picked. For OkOnly, true whenever the box was shown, however it was closed.

public readonly bool OkSelected { get; }

Property Value

bool

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

bool

YesSelected

Whether Yes was picked.

public readonly bool YesSelected { get; }

Property Value

bool