38 lines
956 B
C#
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;
|
||
|
}
|
||
|
}
|