EOS_LobbySearch_SetTargetUserId

EOS API reference page for EOS_LobbySearch_SetTargetUserId

Choose your implementation method:

C

C#

This function is part of the Lobby Interface.

Remarks

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

Parameters

EOS_LobbySearch_SetTargetUserId

Parameter Type And Name

Usage Information

EOS_HLobbySearch Handle

const EOS_LobbySearch_SetTargetUserIdOptions* Options

a specific target user ID to find

Related API Members

This function is part of the Lobby Interface.

Remarks

Set a target user ID to find. Setting LobbyId or SearchParameters will result in {Find} failing {Result.InvalidParameters} if the target user ID is invalid or null {Result.IncompatibleVersion} if the API version passed in is incorrect

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

Return Value

{Result.Success} if setting this target user ID was successful

Parameters

Lobby.LobbySearch.SetTargetUserId

Parameter Type And Name

Usage Information

LobbySearchSetTargetUserIdOptions options

a specific target user ID to find

Related API Members

Tags