Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Quick question about CAL...

Thunderbox.EntThunderbox.Ent Posts: 45 Oculus Start Member
I am looking to use CAL for the multiplayer in my app.
Here is a link to the docs...

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?



  • JacksonGordonJacksonGordon Posts: 130
    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.
Sign In or Register to comment.