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.

35 lines
877 B

  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 SdkAccount
  10. {
  11. public readonly SdkAccountType AccountType;
  12. public readonly UInt64 UserId;
  13. public SdkAccount(IntPtr o)
  14. {
  15. AccountType = CAPI.ovr_SdkAccount_GetAccountType(o);
  16. UserId = CAPI.ovr_SdkAccount_GetUserId(o);
  17. }
  18. }
  19. public class SdkAccountList : DeserializableList<SdkAccount> {
  20. public SdkAccountList(IntPtr a) {
  21. var count = (int)CAPI.ovr_SdkAccountArray_GetSize(a);
  22. _Data = new List<SdkAccount>(count);
  23. for (int i = 0; i < count; i++) {
  24. _Data.Add(new SdkAccount(CAPI.ovr_SdkAccountArray_GetElement(a, (UIntPtr)i)));
  25. }
  26. }
  27. }
  28. }