odin_room_update_peer_user_data
Updates the custom user data for your own peer. All user data is synced automatically, which allows storing of arbitrary information for each individual peer.
info
Use this before calling odin_room_join
Declaration
Parameters
room
Handle of the room where the user data will be updated. See OdinRoomHandle
Declaration
user_data
Byte array containing the user data to be set.
Declaration
user_data_length
Length of the user data array.
Declaration
Returns
A return code indicating success or failure. See OdinReturnCode
Return Type