Clients/Client2018/content/internal/AppShell/Modules/Shell/Reducers/XboxUser.lua

15 lines
310 B
Lua

local Modules = game:GetService("CoreGui").RobloxGui.Modules
local SetXboxUser = require(Modules.Shell.Actions.SetXboxUser)
return function(state, action)
state = state or {}
if action.type == SetXboxUser.name then
return {
gamertag = action.gamertag,
xuid = action.xuid
}
end
return state
end