EOS_Lobby_CreateLobbySearch

EOS API reference page for EOS_Lobby_CreateLobbySearch

阅读时间1分钟

This function is part of the Lobby Interface.

Remarks

Create a lobby search handle. This handle may be modified to include various search parameters. Searching is possible in three methods, all mutually exclusive

  • set the lobby ID to find a specific lobby
  • set the target user ID to find a specific user
  • set lobby parameters to find an array of lobbies that match the search criteria

Return Value

  • EOS_Success if the search creation completes successfully

  • EOS_InvalidParameters if any of the options are incorrect

Parameters

EOS_Lobby_CreateLobbySearch

Parameter Type And NameUsage Information
EOS_HLobby Handle
const EOS_Lobby_CreateLobbySearchOptions* OptionsStructure containing required parameters such as the maximum number of search results
EOS_HLobbySearch* OutLobbySearchHandleThe new search handle or null if there was an error creating the search handle