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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
----
-- ZO_CharacterSelect_EventBanner_Gamepad
----
end
self . carousel = ZO_Carousel_Shared : New ( self . carouselControl , "ZO_CharacterSelect_EventTile_Gamepad_Control" )
self . carousel : SetSelectionIndicatorPipStateImages ( "EsoUI/Art/Miscellaneous/Gamepad/pip_active.dds" , "EsoUI/Art/Miscellaneous/Gamepad/pip_inactive.dds" )
local narrationInfo =
{
end ,
local narrations = { }
--Generate the narration for the remaining time
local countdownText = ZO_FormatTime ( remainingTime , TIME_FORMAT_STYLE_SHOW_LARGEST_TWO_UNITS , TIME_FORMAT_PRECISION_TWENTY_FOUR_HOUR )
ZO_AppendNarration ( narrations , SCREEN_NARRATION_MANAGER : CreateNarratableObject ( zo_strformat ( SI_EVENT_ANNOUNCEMENT_TIME , countdownText ) ) )
--Generate the narration for the name and description
end
return narrations
end ,
--Only narrate the directional input if there is more than one option
return ZO_GetHorizontalDirectionalInputNarrationData ( GetString ( SI_SCREEN_NARRATION_TABBAR_PREVIOUS_KEYBIND ) , GetString ( SI_SCREEN_NARRATION_TABBAR_NEXT_KEYBIND ) )
else
return { }
end
end ,
}
end
{
}
ZO_Gamepad_AddBackNavigationKeybindDescriptors ( self . keybindStripDescriptor , GAME_NAVIGATION_TYPE_BUTTON , function ( ) self : OnEventBannerCloseKeybind ( ) end , GetString ( SI_DIALOG_CLOSE ) )
end
end
end
end
end
end
end
--Overridden from base
--Re-narrate when the selection changes
end
-------------------------
-- Global XML Functions
-------------------------
end |