// Token: 0x06000DDD RID: 3549 RVA: 0x0005FDE8 File Offset: 0x0005DFE8
    public static IPopupDialog ShowError(string title, string text, PopupSystem.AlertType flag)
    {
        IPopupDialog popupDialog = new GeneralPopupDialog(title, text, flag, true);

        PopupSystem.Show(popupDialog);
        return(popupDialog);
    }
    // Token: 0x06000DD7 RID: 3543 RVA: 0x0005FD48 File Offset: 0x0005DF48
    public static IPopupDialog ShowMessage(string title, string text, PopupSystem.AlertType flag, string okCaption, Action ok)
    {
        IPopupDialog popupDialog = new GeneralPopupDialog(title, text, flag, ok, okCaption, true);

        PopupSystem.Show(popupDialog);
        return(popupDialog);
    }
Esempio n. 3
0
 // Token: 0x06000D88 RID: 3464 RVA: 0x0005E974 File Offset: 0x0005CB74
 public GeneralPopupDialog(string title, string text, PopupSystem.AlertType flag, Action ok, string okCaption, Action cancel, string cancelCaption, PopupSystem.ActionType actionType, bool allowAudio = true)
 {
     this.Text            = text;
     this.Title           = title;
     this._alertType      = flag;
     this._actionType     = actionType;
     this._callbackOk     = ok;
     this._callbackCancel = cancel;
     this._okCaption      = okCaption;
     this._cancelCaption  = cancelCaption;
     this._allowAudio     = allowAudio;
 }
 // Token: 0x06000DD4 RID: 3540 RVA: 0x0000A1F6 File Offset: 0x000083F6
 public static void ShowError(string title, string text, PopupSystem.AlertType flag, Action ok, Action cancel)
 {
     PopupSystem.Show(new GeneralPopupDialog(title, text, flag, ok, cancel, false));
 }
 // Token: 0x06000DD2 RID: 3538 RVA: 0x0000A1D7 File Offset: 0x000083D7
 public static void ShowError(string title, string text, PopupSystem.AlertType flag, Action ok)
 {
     PopupSystem.ShowError(title, text, flag, ok, null);
 }
 // Token: 0x06000D7D RID: 3453 RVA: 0x0000A017 File Offset: 0x00008217
 public void SetAlertType(PopupSystem.AlertType type)
 {
     this._alertType = type;
 }
Esempio n. 7
0
 // Token: 0x06000D8D RID: 3469 RVA: 0x0005EA64 File Offset: 0x0005CC64
 public GeneralPopupDialog(string title, string text, PopupSystem.AlertType flag, Action ok, Action cancel, bool allowAudio = true) : this(title, text, flag, ok, string.Empty, cancel, string.Empty, PopupSystem.ActionType.None, allowAudio)
 {
 }