FittsLaw/Assets/Oculus/Platform/Scripts/AbuseReportOptions.cs

38 lines
956 B
C#
Raw Normal View History

2018-10-14 23:33:23 -04:00
// 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 AbuseReportOptions {
public AbuseReportOptions() {
Handle = CAPI.ovr_AbuseReportOptions_Create();
}
public void SetPreventPeopleChooser(bool value) {
CAPI.ovr_AbuseReportOptions_SetPreventPeopleChooser(Handle, value);
}
public void SetReportType(AbuseReportType value) {
CAPI.ovr_AbuseReportOptions_SetReportType(Handle, value);
}
// For passing to native C
public static explicit operator IntPtr(AbuseReportOptions options) {
return options != null ? options.Handle : IntPtr.Zero;
}
~AbuseReportOptions() {
CAPI.ovr_AbuseReportOptions_Destroy(Handle);
}
IntPtr Handle;
}
}