60 lines
1.8 KiB
C#
60 lines
1.8 KiB
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 AdvancedAbuseReportOptions {
|
|
|
|
public AdvancedAbuseReportOptions() {
|
|
Handle = CAPI.ovr_AdvancedAbuseReportOptions_Create();
|
|
}
|
|
|
|
public void SetDeveloperDefinedContext(string key, string value) {
|
|
CAPI.ovr_AdvancedAbuseReportOptions_SetDeveloperDefinedContextString(Handle, key, value);
|
|
}
|
|
|
|
public void ClearDeveloperDefinedContext() {
|
|
CAPI.ovr_AdvancedAbuseReportOptions_ClearDeveloperDefinedContext(Handle);
|
|
}
|
|
|
|
/// If report_type is content, a string representing the type of content being
|
|
/// reported. This should correspond to the object_type string used in the UI
|
|
public void SetObjectType(string value) {
|
|
CAPI.ovr_AdvancedAbuseReportOptions_SetObjectType(Handle, value);
|
|
}
|
|
|
|
public void SetReportType(AbuseReportType value) {
|
|
CAPI.ovr_AdvancedAbuseReportOptions_SetReportType(Handle, value);
|
|
}
|
|
|
|
public void AddSuggestedUser(UInt64 userID) {
|
|
CAPI.ovr_AdvancedAbuseReportOptions_AddSuggestedUser(Handle, userID);
|
|
}
|
|
|
|
public void ClearSuggestedUsers() {
|
|
CAPI.ovr_AdvancedAbuseReportOptions_ClearSuggestedUsers(Handle);
|
|
}
|
|
|
|
public void SetVideoMode(AbuseReportVideoMode value) {
|
|
CAPI.ovr_AdvancedAbuseReportOptions_SetVideoMode(Handle, value);
|
|
}
|
|
|
|
|
|
/// For passing to native C
|
|
public static explicit operator IntPtr(AdvancedAbuseReportOptions options) {
|
|
return options != null ? options.Handle : IntPtr.Zero;
|
|
}
|
|
|
|
~AdvancedAbuseReportOptions() {
|
|
CAPI.ovr_AdvancedAbuseReportOptions_Destroy(Handle);
|
|
}
|
|
|
|
IntPtr Handle;
|
|
}
|
|
}
|