usePrivateRoomMenu
usePrivateRoomMenu():
PrivateRoomMenu
The app’s verbs on the private room this page’s room runs, which a
game’s own menu calls in its own look, as useWorldDirectory gives a
world’s. Roblox’s SocialService:PromptGameInvite opens its own invite
prompt the same way.
Returns
Section titled “Returns”Example
Section titled “Example”const { inviteFriends } = usePrivateRoomMenu(); return <Button onPress={() => void inviteFriends()}>Invite friends</Button>;