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 |
--Helper functions for displaying gamercards
if ( wasFound ) then
else
ZO_Dialogs_ShowGamepadDialog ( "WAITING_FOR_GAMERCARD" , { charName = charName , startTime = GetFrameTimeSeconds ( ) } )
end
end
if ( wasFound ) then
else
ZO_Dialogs_ShowGamepadDialog ( "WAITING_FOR_GAMERCARD" , { accountId = accountId , startTime = GetFrameTimeSeconds ( ) } )
end
end
if ( dialog ) then
local eventMatches = ( data . accountId and data . accountId == accountId ) or ( data . charName and data . charName == charName or eventMatches )
if ( eventMatches ) then
if ( success ) then
local accountName , consoleId
end
else
end
end
end
end
EVENT_MANAGER : RegisterForEvent ( "GamepadGamerCard_ConsoleInfoRecieved" , EVENT_CONSOLE_INFO_RECIEVED , function ( event , ... ) OnConsoleInfoRecieved ( ... ) end )
or SI_GAMEPAD_CONTACTS_OPTIONS_GAMERTAG
end
or SI_PLAYER_TO_PLAYER_VIEW_GAMER_CARD
end |