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.

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