Skip to main content

EOS_LobbySearch_SetTargetUserId

Function EOS_LobbySearch_SetTargetUserId 

Source
pub unsafe extern "C" fn EOS_LobbySearch_SetTargetUserId(
    Handle: EOS_HLobbySearch,
    Options: *const EOS_LobbySearch_SetTargetUserIdOptions,
) -> EOS_EResult
Expand description

Set a target user ID to find. Setting LobbyId or SearchParameters will result in EOS_LobbySearch_Find failing @note a search result will only be found if this user is in a public lobby

@param Options a specific target user ID to find

@return EOS_EResult containing the result of the operation. Possible result codes:

  • 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

@see EOS_LobbySearch_SetTargetUserIdOptions