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.

38 lines
1.0 KiB

  1. // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
  2. namespace Oculus.Platform.Models
  3. {
  4. using System;
  5. using System.Collections;
  6. using Oculus.Platform.Models;
  7. using System.Collections.Generic;
  8. using UnityEngine;
  9. public class Destination
  10. {
  11. public readonly string ApiName;
  12. public readonly string DeeplinkMessage;
  13. public readonly string DisplayName;
  14. public Destination(IntPtr o)
  15. {
  16. ApiName = CAPI.ovr_Destination_GetApiName(o);
  17. DeeplinkMessage = CAPI.ovr_Destination_GetDeeplinkMessage(o);
  18. DisplayName = CAPI.ovr_Destination_GetDisplayName(o);
  19. }
  20. }
  21. public class DestinationList : DeserializableList<Destination> {
  22. public DestinationList(IntPtr a) {
  23. var count = (int)CAPI.ovr_DestinationArray_GetSize(a);
  24. _Data = new List<Destination>(count);
  25. for (int i = 0; i < count; i++) {
  26. _Data.Add(new Destination(CAPI.ovr_DestinationArray_GetElement(a, (UIntPtr)i)));
  27. }
  28. _NextUrl = CAPI.ovr_DestinationArray_GetNextUrl(a);
  29. }
  30. }
  31. }