Remarks
Fetches a user token for a given user ID when called inside of the OnQueryJoinRoomTokenComplete callback.
Return Value
-
EOS_Success if the information is available and passed out in OutUserToken
-
EOS_InvalidParameters if you pass a null pointer for the out parameter
-
EOS_NotFound if the user token is not found
See Also
EOS_RTCAdmin_UserToken_Release
Parameters
EOS_RTCAdmin_CopyUserTokenByUserId
Parameter Type And Name | Usage Information |
---|---|
EOS_HRTCAdmin Handle | |
const EOS_RTCAdmin_CopyUserTokenByUserIdOptions* Options | Structure containing the user ID being accessed |
EOS_RTCAdmin_UserToken** OutUserToken | The user token for the given user ID, if it exists and is valid. Use EOS_RTCAdmin_UserToken_Release when finished |
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.