namespace Cthangover.Mods.Dialog.Action.Impls
{
///
/// Makes the dialog box visible. Typically paired with ActionHideDialog
/// for cutscenes that temporarily hide the dialog UI while animations play.
///
public class ActionShowDialog : ActionCommand
{
/// Dialog visibility change is instant — the queue continues without pause.
public override WaitType WaitType { get; set; } = WaitType.NoWait;
/// Makes the dialog box chrome visible again after .
public override void DoRun(DialogRuntime runtime)
{
var dialogBox = runtime.DialogBox;
if (dialogBox == null)
return;
dialogBox.Visible = true;
}
}
}