BlueGit

blue-star ggj-2020

Files

ggj-2020 / Assets / Oculus / Platform / Scripts / AbuseReportOptions.cs

AbuseReportOptions.cs

Project Import
timfa Tim Falken · pushed by timfa · 6 years ago
b77834a1 History
AbuseReportOptions.cs 919 B Download Raw
1// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
2
3namespace Oculus.Platform
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 AbuseReportOptions {
12
13 public AbuseReportOptions() {
14 Handle = CAPI.ovr_AbuseReportOptions_Create();
15 }
16
17 public void SetPreventPeopleChooser(bool value) {
18 CAPI.ovr_AbuseReportOptions_SetPreventPeopleChooser(Handle, value);
19 }
20
21 public void SetReportType(AbuseReportType value) {
22 CAPI.ovr_AbuseReportOptions_SetReportType(Handle, value);
23 }
24
25
26 // For passing to native C
27 public static explicit operator IntPtr(AbuseReportOptions options) {
28 return options != null ? options.Handle : IntPtr.Zero;
29 }
30
31 ~AbuseReportOptions() {
32 CAPI.ovr_AbuseReportOptions_Destroy(Handle);
33 }
34
35 IntPtr Handle;
36 }
37}