EOS_LobbyDetails_CopyMemberAttributeByKey

EOS API reference page for EOS_LobbyDetails_CopyMemberAttributeByKey

2 mins to read

This function is part of the Lobby Interface.

Remarks

EOS_LobbyDetails_CopyMemberAttributeByKey is used to immediately retrieve a copy of a lobby member attribute from an existing lobby. If the call returns an EOS_Success result, the out parameter, OutAttribute, must be passed to EOS_Lobby_Attribute_Release to release the memory associated with it. Note: this information is only available if you are actively in the lobby. It is not available for search results.

Return Value

  • EOS_Success if the information is available and passed out in OutAttribute

  • EOS_InvalidParameters if you pass a null pointer for the out parameter

  • EOS_IncompatibleVersion if the API version passed in is incorrect

See Also

EOS_Lobby_Attribute, EOS_LobbyDetails_CopyMemberAttributeByKeyOptions, EOS_Lobby_Attribute_Release

Parameters

EOS_LobbyDetails_CopyMemberAttributeByKey

Parameter Type And NameUsage Information
EOS_HLobbyDetails Handle
const EOS_LobbyDetails_CopyMemberAttributeByKeyOptions* OptionsStructure containing the input parameters
EOS_Lobby_Attribute** OutAttributeOut parameter used to receive the EOS_Lobby_Attribute structure.

If successful, this function provides data to the caller through an output parameter. Once you are finished with the data, you must release it by making the appropriate call into the EOS SDK.