Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.3 KiB

  1. // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
  2. #pragma warning disable 0618
  3. namespace Oculus.Platform.Models
  4. {
  5. using System;
  6. using System.Collections;
  7. using Oculus.Platform.Models;
  8. using System.Collections.Generic;
  9. using UnityEngine;
  10. public class LaunchDetails
  11. {
  12. public readonly string DeeplinkMessage;
  13. public readonly string DestinationApiName;
  14. public readonly string LaunchSource;
  15. public readonly LaunchType LaunchType;
  16. public readonly UInt64 RoomID;
  17. // May be null. Check before using.
  18. public readonly UserList UsersOptional;
  19. [Obsolete("Deprecated in favor of UsersOptional")]
  20. public readonly UserList Users;
  21. public LaunchDetails(IntPtr o)
  22. {
  23. DeeplinkMessage = CAPI.ovr_LaunchDetails_GetDeeplinkMessage(o);
  24. DestinationApiName = CAPI.ovr_LaunchDetails_GetDestinationApiName(o);
  25. LaunchSource = CAPI.ovr_LaunchDetails_GetLaunchSource(o);
  26. LaunchType = CAPI.ovr_LaunchDetails_GetLaunchType(o);
  27. RoomID = CAPI.ovr_LaunchDetails_GetRoomID(o);
  28. {
  29. var pointer = CAPI.ovr_LaunchDetails_GetUsers(o);
  30. Users = new UserList(pointer);
  31. if (pointer == IntPtr.Zero) {
  32. UsersOptional = null;
  33. } else {
  34. UsersOptional = Users;
  35. }
  36. }
  37. }
  38. }
  39. }