EOS API reference page for EOS_LobbySearch_SetTargetUserId

This function is part of the Lobby Interface.


Set a target user ID to find. Setting LobbyId or SearchParameters will result in EOS_LobbySearch_Find failing

a search result will only be found if this user is in a public lobby

Return Value

  • EOS_Success if setting this target user ID was successful

  • EOS_InvalidParameters if the target user ID is invalid or null

  • EOS_IncompatibleVersion if the API version passed in is incorrect


Parameter Type And Name

Usage Information

EOS_HLobbySearch Handle

const EOS_LobbySearch_SetTargetUserIdOptions* Options

a specific target user ID to find

Related API Members