2026-07-24 07:16:23 +00:00
// Module ID: 8636
// Function ID: 68435
2026-07-20 16:05:17 +00:00
// Name: clearGameProfilePendingReturn
2026-07-24 07:16:23 +00:00
// Dependencies: [44, 4098, 8637, 1934, 686, 2]
2026-07-20 16:05:17 +00:00
2026-07-24 07:16:23 +00:00
// Module 8636 (clearGameProfilePendingReturn)
2026-07-23 10:11:24 +00:00
function clearGameProfilePendingReturn ( id ) {
let obj = importDefault ( 686 ) ;
obj = { type : "GAME_PROFILE_CLEAR_PENDING_RETURN" , gameId : id } ;
2026-07-20 16:05:17 +00:00
obj . dispatch ( obj ) ;
}
2026-07-23 10:11:24 +00:00
const result = require ( "GetButton" ) . fileFinishedImporting ( "modules/game_profile/GameProfileActionCreators.native.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default {
openGameProfileModal ( arg0 ) {
let gameId ;
let gameProfileModalChecks ;
let source ;
let sourceUserId ;
( { gameId , gameProfileModalChecks } = arg0 ) ;
( { source , sourceUserId } = arg0 ) ;
2026-07-23 10:11:24 +00:00
importDefault ( 44 ) ( gameProfileModalChecks . shouldOpenGameProfile , "Passed a false value for [gameProfileModalChecks]. Are you using the useShouldOpenGameProfile hook correctly?" ) ;
importDefault ( 44 ) ( gameProfileModalChecks . gameId === gameId , "Passed an unexpected [gameId]. Are you passing a different one than you passed to useShouldOpenGameProfileModal?" ) ;
const obj = importDefault ( 4098 ) ;
2026-07-24 07:16:23 +00:00
obj . openLazy ( require ( 1934 ) /* maybeLoadBundle */ ( 8637 , dependencyMap . paths ) , "game-profile-" + gameId , { gameId , source , sourceUserId } ) ;
2026-07-20 16:05:17 +00:00
} ,
returnToGameProfile ( gameId ) {
let initialScrollOffset ;
let source ;
gameId = gameId . gameId ;
( { source , initialScrollOffset } = gameId ) ;
clearGameProfilePendingReturn ( gameId ) ;
2026-07-23 10:11:24 +00:00
const obj = importDefault ( 4098 ) ;
2026-07-24 07:16:23 +00:00
obj . openLazy ( require ( 1934 ) /* maybeLoadBundle */ ( 8637 , dependencyMap . paths ) , "game-profile-" + gameId , { gameId , source , initialScrollOffset } ) ;
2026-07-20 16:05:17 +00:00
} ,
setGameProfilePendingReturn ( arg0 ) {
let channelId ;
let gameId ;
let initialScrollOffset ;
( { gameId , channelId , initialScrollOffset } = arg0 ) ;
2026-07-23 10:11:24 +00:00
importDefault ( 686 ) . dispatch ( { type : "GAME_PROFILE_SET_PENDING_RETURN" , gameId , channelId , initialScrollOffset } ) ;
2026-07-20 16:05:17 +00:00
} ,
clearGameProfilePendingReturn
} ;