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.

37 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 LinkedAccount
  10. {
  11. public readonly string AccessToken;
  12. public readonly ServiceProvider ServiceProvider;
  13. public readonly string UserId;
  14. public LinkedAccount(IntPtr o)
  15. {
  16. AccessToken = CAPI.ovr_LinkedAccount_GetAccessToken(o);
  17. ServiceProvider = CAPI.ovr_LinkedAccount_GetServiceProvider(o);
  18. UserId = CAPI.ovr_LinkedAccount_GetUserId(o);
  19. }
  20. }
  21. public class LinkedAccountList : DeserializableList<LinkedAccount> {
  22. public LinkedAccountList(IntPtr a) {
  23. var count = (int)CAPI.ovr_LinkedAccountArray_GetSize(a);
  24. _Data = new List<LinkedAccount>(count);
  25. for (int i = 0; i < count; i++) {
  26. _Data.Add(new LinkedAccount(CAPI.ovr_LinkedAccountArray_GetElement(a, (UIntPtr)i)));
  27. }
  28. }
  29. }
  30. }