2026-09-10 05:38:07 +00:00
// Module ID: 8713
// Function ID: 8714
// Name: GameProfileActionCreators
// Dependencies: [38, 4541, 8714, 1896, 573, 2]
2026-07-20 16:05:17 +00:00
2026-09-10 05:38:07 +00:00
// Module 8713 (GameProfileActionCreators)
2026-08-24 06:08:38 +00:00
import _modDef38 from "module_38" /* 38 */ ;
2026-09-10 05:38:07 +00:00
import DispatcherDefault from "Dispatcher" /* 573 */ ;
2026-09-05 10:56:28 +00:00
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */ ;
2026-09-10 05:38:07 +00:00
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4541 */ ;
import size from "module_2" /* 2 */ ;
2026-08-24 06:08:38 +00:00
2026-09-10 05:38:07 +00:00
const result = size . fileFinishedImporting ( "modules/game_profile/GameProfileActionCreators.native.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default {
openGameProfileModal ( arg0 ) {
( { gameId , gameProfileModalChecks } = arg0 ) ;
2026-07-29 08:29:29 +00:00
( { source , sourceUserId , stackingBehavior } = arg0 ) ;
2026-08-24 06:08:38 +00:00
_modDef38 ( gameProfileModalChecks . shouldOpenGameProfile , "Passed a false value for [gameProfileModalChecks]. Are you using the useShouldOpenGameProfile hook correctly?" ) ;
_modDef38 ( gameProfileModalChecks . gameId === gameId , "Passed an unexpected [gameId]. Are you passing a different one than you passed to useShouldOpenGameProfileModal?" ) ;
2026-09-10 05:38:07 +00:00
const obj = ActionSheetActionCreatorsDefault ;
obj . openLazy ( asyncRequireImpl ( 8714 , dependencyMap . paths ) , "game-profile-" + gameId , { gameId , source , sourceUserId } , stackingBehavior ) ;
2026-07-20 16:05:17 +00:00
} ,
returnToGameProfile ( gameId ) {
gameId = gameId . gameId ;
( { source , initialScrollOffset } = gameId ) ;
2026-09-10 05:38:07 +00:00
DispatcherDefault . dispatch ( { type : "GAME_PROFILE_CLEAR_PENDING_RETURN" , gameId } ) ;
const obj2 = ActionSheetActionCreatorsDefault ;
obj2 . openLazy ( asyncRequireImpl ( 8714 , dependencyMap . paths ) , "game-profile-" + gameId , { gameId , source , initialScrollOffset } ) ;
2026-07-20 16:05:17 +00:00
} ,
setGameProfilePendingReturn ( arg0 ) {
( { gameId , channelId , initialScrollOffset } = arg0 ) ;
2026-09-10 05:38:07 +00:00
DispatcherDefault . dispatch ( { type : "GAME_PROFILE_SET_PENDING_RETURN" , gameId , channelId , initialScrollOffset } ) ;
2026-07-20 16:05:17 +00:00
} ,
2026-07-29 08:29:29 +00:00
clearGameProfilePendingReturn ( id ) {
2026-09-10 05:38:07 +00:00
DispatcherDefault . dispatch ( { type : "GAME_PROFILE_CLEAR_PENDING_RETURN" , gameId : id } ) ;
2026-07-29 08:29:29 +00:00
}
2026-07-20 16:05:17 +00:00
} ;