// TODO !!! Inline >>> public void ShowDialog(OverlayDialogData dialogData) { Logic.ShowDialog(dialogData); }
public virtual void ShowDialog(OverlayDialogData dialogData) { }
public override void ShowDialog(OverlayDialogData dialogData) { OverlayDialog.Show(dialogData); }
public void Show(OverlayDialogData dialogData) { if (dialogData.GroupName != null) while (_data.Any() && _data.Peek().GroupName == dialogData.GroupName) _data.Dequeue(); _data.Enqueue(dialogData); if (!Enabled) { Game.Window.ForceDisableKeypresses = true; Game.UIEngine.PushExclusiveControls(dialogData.Controls); Game.SoundEngine.PlaySound("EscPause"); } Enabled = Visible = true; }