cancel
Showing results for 
Search instead for 
Did you mean: 

Quick question about CAL...

Thunderbox_Ent
Protege
Hi.
I am looking to use CAL for the multiplayer in my app.
Here is a link to the docs...
https://developer.oculus.com/documentation/platform/latest/concepts/dg-cc-cordapplaunch/

According to the docs you can get the launc info in Unity like this...
LaunchDetails launchDetails = LaunchDetails(CAPI.ovr_ApplicationLifecycle_GetLaunchDetails());
if (launchDetails.LaunchType == LaunchType.Coordinated) {
UInt64 roomID = launchDetails.RoomID;
UserList users = launchDetails.Users;
...
}
My questions... will the returned user list be in the same order for each player? And if so, how is it sorted? And what data is contained in a user?

Thanks,
Dan
1 REPLY 1

Anonymous
Not applicable
I would just try to print out launchDeatails.Users.toString() or the whole Users object to see the fields it contains.  Even the autocomplete will probably give you the fields/methods associated with User.  As for the same list that would be a bit trickier to test but could be simulated.