Back to Home

ESO Lua File v101038

pregame/globals/console/pregamedialogs_console.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
ESO_Dialogs["LEGAL_AGREEMENT_UPDATED_ACKNOWLEDGE"] =
{
    mustChoose = true,
    gamepadInfo =
    {
        dialogType = GAMEPAD_DIALOGS.BASIC,
    },
    mainText = 
    {
        text = SI_CONSOLE_LEGAL_AGREEMENT_UPDATED_ACKNOWLEDGE_DIALOG_BODY,
    },
    buttons =
    {
        {
            text = SI_CONSOLE_LEGAL_BUTTON_AGREE,
            keybind = "DIALOG_PRIMARY",
            callback = function(dialog)
                PregameStateManager_AdvanceState()
            end,
        },
        {
            text = SI_CONSOLE_LEGAL_BUTTON_DISAGREE,
            keybind = "DIALOG_NEGATIVE",
            callback = function(dialog)
                PREGAME_INITIAL_SCREEN_GAMEPAD:ShowError(GetString(SI_LEGAL_DECLINE_HEADER), GetString(SI_LEGAL_DECLINE_PROMPT))
            end,
        },
    }
}
ESO_Dialogs["FREE_TRIAL_INACTIVE"] =
{
    canQueue = true,
    gamepadInfo =
    {
        dialogType = GAMEPAD_DIALOGS.BASIC,
    },
    title =
    {
        text = SI_FREE_TRIAL_PURCHASE_DIALOG_HEADER,
    },
    mainText =
    {
        text = SI_FREE_TRIAL_PURCHASE_DIALOG_BODY,
    },
    noChoiceCallback = function()
        ZO_Disconnect()
    end,
    buttons =
    {
        {
            text = SI_FREE_TRIAL_PURCHASE_KEYBIND,
            keybind = "DIALOG_PRIMARY",
            callback = function()
               ShowPlatformESOGameClientUI()
               ZO_Disconnect()
            end,
        },
        {
            text = SI_GAMEPAD_BACK_OPTION,
            keybind = "DIALOG_NEGATIVE",
            callback = function()
                ZO_Disconnect()
            end,
        },
    },
}