|
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 |
local consolePregameStates ={ ["LegalAgreements"] = { return false end, end, end, return "AcceptLegalDocs" end, }, ["AcceptLegalDocs"] = { return false end, CREATE_LINK_LOADING_SCREEN_GAMEPAD:Show("AccountLogin", AcceptLegalDocs, GetString(SI_GAMEPAD_PREGAME_LOADING)) end, end, return "NoCreateLinkAccountLoading" end, },} --Don't return to IIS if we're on Server Select and NO_PROFILE was returned because they probably cancelled the selection if isSuccess == false and not (profileError == PROFILE_LOGIN_ERROR_NO_PROFILE and SCENE_MANAGER:IsShowing("GameStartup")) then if errorStringFormat == "" then end endend EVENT_MANAGER:RegisterForEvent("PregameStateManager", EVENT_PROFILE_LOGIN_RESULT, OnProfileLoginResult)end |