- ingame/campaign/campaignbrowserdialogs.lua:16 --
ZO_TimeLockedDialog.New(self, "SELECT_GUEST_CAMPAIGN",
{
customControl = control,
buttons =
{
[1] =
{
control = GetControl(control, "UnlockedAccept"),
text = SI_DIALOG_ACCEPT,
keybind = "DIALOG_PRIMARY",
callback = function(dialogControl)
AssignCampaignToPlayer(dialogControl.timeLockedDialog:GetData().id, CAMPAIGN_REASSIGN_TYPE_GUEST)
end,
},
[2] =
{
control = GetControl(control, "UnlockedExit"),
text = SI_DIALOG_EXIT,
keybind = "DIALOG_NEGATIVE",
},
[3] =
{
control = GetControl(control, "LockedExit"),
text = SI_DIALOG_EXIT,
keybind = "DIALOG_NEGATIVE",
},
},
}
,GetCampaignGuestCooldown)
- ingame/campaign/campaignbrowserdialogs.lua:86 --
ZO_TimeLockedDialog.New(self, "SELECT_HOME_CAMPAIGN",
{
customControl = control,
buttons =
{
[1] =
{
control = GetControl(control, "UnlockedAccept"),
text = SI_DIALOG_ACCEPT,
keybind = "DIALOG_PRIMARY",
callback = function(dialogControl)
local timeLockedDialog = dialogControl.timeLockedDialog
local forceImmediate = GetAssignedCampaignId() == 0
if(timeLockedDialog.radioButtonGroup:GetClickedButton() == timeLockedDialog.setNowButton or forceImmediate) then
AssignCampaignToPlayer(timeLockedDialog:GetData().id, CAMPAIGN_REASSIGN_TYPE_IMMEDIATE)
else
AssignCampaignToPlayer(timeLockedDialog:GetData().id, CAMPAIGN_REASSIGN_TYPE_ON_END)
end
end,
},
[2] =
{
control = GetControl(control, "UnlockedExit"),
text = SI_DIALOG_EXIT,
keybind = "DIALOG_NEGATIVE",
},
[3] =
{
control = GetControl(control, "LockedExit"),
text = SI_DIALOG_EXIT,
keybind = "DIALOG_NEGATIVE",
},
}
}
,GetCampaignReassignCooldown)
- ingame/campaign/campaignbrowserdialogs.lua:226 --
ZO_TimeLockedDialog.New(self, "ABANDON_GUEST_CAMPAIGN",
{
customControl = control,
buttons =
{
[1] =
{
control = GetControl(control, "UnlockedAccept"),
text = SI_DIALOG_ACCEPT,
keybind = "DIALOG_PRIMARY",
callback = function(dialogControl)
UnassignCampaignForPlayer(CAMPAIGN_UNASSIGN_TYPE_GUEST)
end,
},
[2] =
{
control = GetControl(control, "UnlockedExit"),
text = SI_DIALOG_EXIT,
keybind = "DIALOG_NEGATIVE",
},
[3] =
{
control = GetControl(control, "LockedExit"),
text = SI_DIALOG_EXIT,
keybind = "DIALOG_NEGATIVE",
},
},
}
,GetCampaignGuestCooldown)
- ingame/campaign/campaignbrowserdialogs.lua:290 --
ZO_TimeLockedDialog.New(self, "ABANDON_HOME_CAMPAIGN",
{
customControl = control,
buttons =
{
[1] =
{
control = GetControl(control, "UnlockedAccept"),
text = SI_DIALOG_ACCEPT,
keybind = "DIALOG_PRIMARY",
callback = function(dialogControl)
local timeLockedDialog = dialogControl.timeLockedDialog
if(timeLockedDialog.radioButtonGroup:GetClickedButton() == timeLockedDialog.useAlliancePointsButton) then
UnassignCampaignForPlayer(CAMPAIGN_UNASSIGN_TYPE_HOME_USE_ALLIANCE_POINTS)
else
UnassignCampaignForPlayer(CAMPAIGN_UNASSIGN_TYPE_HOME_USE_GOLD)
end
end,
},
[2] =
{
control = GetControl(control, "UnlockedExit"),
text = SI_DIALOG_EXIT,
keybind = "DIALOG_NEGATIVE",
},
[3] =
{
control = GetControl(control, "LockedExit"),
text = SI_DIALOG_EXIT,
keybind = "DIALOG_NEGATIVE",
},
}
}
,GetCampaignUnassignCooldown)