FittsLaw/Assets/Oculus/Platform/Scripts/AbuseReportOptions.cs
2018-10-09 20:59:57 -04:00

38 lines
956 B
C#

// 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;
}
}