| 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 RoomInviteNotification |
| 12 | { |
| 13 | public readonly UInt64 ID; |
| 14 | public readonly UInt64 RoomID; |
| 15 | public readonly UInt64 SenderID; |
| 16 | public readonly DateTime SentTime; |
| 17 | |
| 18 | |
| 19 | public RoomInviteNotification(IntPtr o) |
| 20 | { |
| 21 | ID = CAPI.ovr_RoomInviteNotification_GetID(o); |
| 22 | RoomID = CAPI.ovr_RoomInviteNotification_GetRoomID(o); |
| 23 | SenderID = CAPI.ovr_RoomInviteNotification_GetSenderID(o); |
| 24 | SentTime = CAPI.ovr_RoomInviteNotification_GetSentTime(o); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | public class RoomInviteNotificationList : DeserializableList<RoomInviteNotification> { |
| 29 | public RoomInviteNotificationList(IntPtr a) { |
| 30 | var count = (int)CAPI.ovr_RoomInviteNotificationArray_GetSize(a); |
| 31 | _Data = new List<RoomInviteNotification>(count); |
| 32 | for (int i = 0; i < count; i++) { |
| 33 | _Data.Add(new RoomInviteNotification(CAPI.ovr_RoomInviteNotificationArray_GetElement(a, (UIntPtr)i))); |
| 34 | } |
| 35 | |
| 36 | _NextUrl = CAPI.ovr_RoomInviteNotificationArray_GetNextUrl(a); |
| 37 | } |
| 38 | |
| 39 | } |
| 40 | } |