BlueGit

blue-star ggj-2020

Files

ggj-2020 / Assets / Oculus / Platform / Scripts / Models / LaunchDetails.cs

LaunchDetails.cs

Project Import
timfa Tim Falken · pushed by timfa · 6 years ago
b77834a1 History
LaunchDetails.cs 1.2 KiB Download Raw
1// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
2
3#pragma warning disable 0618
4
5namespace Oculus.Platform.Models
6{
7 using System;
8 using System.Collections;
9 using Oculus.Platform.Models;
10 using System.Collections.Generic;
11 using UnityEngine;
12
13 public class LaunchDetails
14 {
15 public readonly string DeeplinkMessage;
16 public readonly string LaunchSource;
17 public readonly LaunchType LaunchType;
18 public readonly UInt64 RoomID;
19 // May be null. Check before using.
20 public readonly UserList UsersOptional;
21 [Obsolete("Deprecated in favor of UsersOptional")]
22 public readonly UserList Users;
23
24
25 public LaunchDetails(IntPtr o)
26 {
27 DeeplinkMessage = CAPI.ovr_LaunchDetails_GetDeeplinkMessage(o);
28 LaunchSource = CAPI.ovr_LaunchDetails_GetLaunchSource(o);
29 LaunchType = CAPI.ovr_LaunchDetails_GetLaunchType(o);
30 RoomID = CAPI.ovr_LaunchDetails_GetRoomID(o);
31 {
32 var pointer = CAPI.ovr_LaunchDetails_GetUsers(o);
33 Users = new UserList(pointer);
34 if (pointer == IntPtr.Zero) {
35 UsersOptional = null;
36 } else {
37 UsersOptional = Users;
38 }
39 }
40 }
41 }
42
43}