| 1 | // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it! |
| 2 | |
| 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 | |
| 11 | public class Pid |
| 12 | { |
| 13 | public readonly string Id; |
| 14 | |
| 15 | |
| 16 | public Pid(IntPtr o) |
| 17 | { |
| 18 | Id = CAPI.ovr_Pid_GetId(o); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | public class PidList : DeserializableList<Pid> { |
| 23 | public PidList(IntPtr a) { |
| 24 | var count = (int)CAPI.ovr_PidArray_GetSize(a); |
| 25 | _Data = new List<Pid>(count); |
| 26 | for (int i = 0; i < count; i++) { |
| 27 | _Data.Add(new Pid(CAPI.ovr_PidArray_GetElement(a, (UIntPtr)i))); |
| 28 | } |
| 29 | |
| 30 | } |
| 31 | |
| 32 | } |
| 33 | } |