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.

48 lines
1.6 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 CloudStorageMetadata
  10. {
  11. public readonly string Bucket;
  12. public readonly long Counter;
  13. public readonly uint DataSize;
  14. public readonly string ExtraData;
  15. public readonly string Key;
  16. public readonly ulong SaveTime;
  17. public readonly CloudStorageDataStatus Status;
  18. public readonly string VersionHandle;
  19. public CloudStorageMetadata(IntPtr o)
  20. {
  21. Bucket = CAPI.ovr_CloudStorageMetadata_GetBucket(o);
  22. Counter = CAPI.ovr_CloudStorageMetadata_GetCounter(o);
  23. DataSize = CAPI.ovr_CloudStorageMetadata_GetDataSize(o);
  24. ExtraData = CAPI.ovr_CloudStorageMetadata_GetExtraData(o);
  25. Key = CAPI.ovr_CloudStorageMetadata_GetKey(o);
  26. SaveTime = CAPI.ovr_CloudStorageMetadata_GetSaveTime(o);
  27. Status = CAPI.ovr_CloudStorageMetadata_GetStatus(o);
  28. VersionHandle = CAPI.ovr_CloudStorageMetadata_GetVersionHandle(o);
  29. }
  30. }
  31. public class CloudStorageMetadataList : DeserializableList<CloudStorageMetadata> {
  32. public CloudStorageMetadataList(IntPtr a) {
  33. var count = (int)CAPI.ovr_CloudStorageMetadataArray_GetSize(a);
  34. _Data = new List<CloudStorageMetadata>(count);
  35. for (int i = 0; i < count; i++) {
  36. _Data.Add(new CloudStorageMetadata(CAPI.ovr_CloudStorageMetadataArray_GetElement(a, (UIntPtr)i)));
  37. }
  38. _NextUrl = CAPI.ovr_CloudStorageMetadataArray_GetNextUrl(a);
  39. }
  40. }
  41. }