RoomOptions.cs
1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
namespace Oculus.Platform
{
using System;
using System.Collections;
using Oculus.Platform.Models;
using System.Collections.Generic;
using UnityEngine;
public class RoomOptions {
public RoomOptions() {
Handle = CAPI.ovr_RoomOptions_Create();
}
public void SetDataStore(string key, string value) {
CAPI.ovr_RoomOptions_SetDataStoreString(Handle, key, value);
}
public void ClearDataStore() {
CAPI.ovr_RoomOptions_ClearDataStore(Handle);
}
public void SetExcludeRecentlyMet(bool value) {
CAPI.ovr_RoomOptions_SetExcludeRecentlyMet(Handle, value);
}
public void SetMaxUserResults(uint value) {
CAPI.ovr_RoomOptions_SetMaxUserResults(Handle, value);
}
public void SetOrdering(UserOrdering value) {
CAPI.ovr_RoomOptions_SetOrdering(Handle, value);
}
public void SetRecentlyMetTimeWindow(TimeWindow value) {
CAPI.ovr_RoomOptions_SetRecentlyMetTimeWindow(Handle, value);
}
public void SetRoomId(UInt64 value) {
CAPI.ovr_RoomOptions_SetRoomId(Handle, value);
}
public void SetTurnOffUpdates(bool value) {
CAPI.ovr_RoomOptions_SetTurnOffUpdates(Handle, value);
}
/// For passing to native C
public static explicit operator IntPtr(RoomOptions options) {
return options != null ? options.Handle : IntPtr.Zero;
}
~RoomOptions() {
CAPI.ovr_RoomOptions_Destroy(Handle);
}
IntPtr Handle;
}
}