Files
NobetaSource/Interop/Assembly-CSharp/OpenSwitchDevice.cs
2023-09-06 22:00:49 +02:00

219 lines
9.8 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;
// Token: 0x020001C4 RID: 452
public class OpenSwitchDevice : SceneEvent
{
// Token: 0x06004A30 RID: 18992 RVA: 0x00127148 File Offset: 0x00125348
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544789, XrefRangeEnd = 544799, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void Update()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OpenSwitchDevice.NativeMethodInfoPtr_Update_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004A31 RID: 18993 RVA: 0x0012718C File Offset: 0x0012538C
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544799, XrefRangeEnd = 544836, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe override void OpenEvent()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), OpenSwitchDevice.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004A32 RID: 18994 RVA: 0x001271DC File Offset: 0x001253DC
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544836, XrefRangeEnd = 544837, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe OpenSwitchDevice()
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr))
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OpenSwitchDevice.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004A33 RID: 18995 RVA: 0x00127228 File Offset: 0x00125428
// Note: this type is marked as 'beforefieldinit'.
static OpenSwitchDevice()
{
Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "OpenSwitchDevice");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr);
OpenSwitchDevice.NativeFieldInfoPtr_SD = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, "SD");
OpenSwitchDevice.NativeFieldInfoPtr_LeadSwitchObject = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, "LeadSwitchObject");
OpenSwitchDevice.NativeFieldInfoPtr_CreateSoulPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, "CreateSoulPosition");
OpenSwitchDevice.NativeFieldInfoPtr_SwitchCamera = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, "SwitchCamera");
OpenSwitchDevice.NativeFieldInfoPtr_CameraTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, "CameraTime");
OpenSwitchDevice.NativeFieldInfoPtr_g_bCameraSwitch = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, "g_bCameraSwitch");
OpenSwitchDevice.NativeFieldInfoPtr_g_fCameraTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, "g_fCameraTime");
OpenSwitchDevice.NativeMethodInfoPtr_Update_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, 100668199);
OpenSwitchDevice.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, 100668200);
OpenSwitchDevice.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenSwitchDevice>.NativeClassPtr, 100668201);
}
// Token: 0x06004A34 RID: 18996 RVA: 0x00117370 File Offset: 0x00115570
public OpenSwitchDevice(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17001ACF RID: 6863
// (get) Token: 0x06004A35 RID: 18997 RVA: 0x00127320 File Offset: 0x00125520
// (set) Token: 0x06004A36 RID: 18998 RVA: 0x00127354 File Offset: 0x00125554
public unsafe SwitchDevice SD
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_SD);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new SwitchDevice(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_SD), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001AD0 RID: 6864
// (get) Token: 0x06004A37 RID: 18999 RVA: 0x0012737C File Offset: 0x0012557C
// (set) Token: 0x06004A38 RID: 19000 RVA: 0x001273B0 File Offset: 0x001255B0
public unsafe Transform LeadSwitchObject
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_LeadSwitchObject);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new Transform(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_LeadSwitchObject), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001AD1 RID: 6865
// (get) Token: 0x06004A39 RID: 19001 RVA: 0x001273D8 File Offset: 0x001255D8
// (set) Token: 0x06004A3A RID: 19002 RVA: 0x0012740C File Offset: 0x0012560C
public unsafe Transform CreateSoulPosition
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_CreateSoulPosition);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new Transform(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_CreateSoulPosition), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001AD2 RID: 6866
// (get) Token: 0x06004A3B RID: 19003 RVA: 0x00127434 File Offset: 0x00125634
// (set) Token: 0x06004A3C RID: 19004 RVA: 0x00127468 File Offset: 0x00125668
public unsafe Transform SwitchCamera
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_SwitchCamera);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new Transform(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_SwitchCamera), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001AD3 RID: 6867
// (get) Token: 0x06004A3D RID: 19005 RVA: 0x00127490 File Offset: 0x00125690
// (set) Token: 0x06004A3E RID: 19006 RVA: 0x001274B8 File Offset: 0x001256B8
public unsafe float CameraTime
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_CameraTime);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_CameraTime)) = value;
}
}
// Token: 0x17001AD4 RID: 6868
// (get) Token: 0x06004A3F RID: 19007 RVA: 0x001274DC File Offset: 0x001256DC
// (set) Token: 0x06004A40 RID: 19008 RVA: 0x00127504 File Offset: 0x00125704
public unsafe bool g_bCameraSwitch
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_g_bCameraSwitch);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_g_bCameraSwitch)) = value;
}
}
// Token: 0x17001AD5 RID: 6869
// (get) Token: 0x06004A41 RID: 19009 RVA: 0x00127528 File Offset: 0x00125728
// (set) Token: 0x06004A42 RID: 19010 RVA: 0x00127550 File Offset: 0x00125750
public unsafe float g_fCameraTime
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_g_fCameraTime);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenSwitchDevice.NativeFieldInfoPtr_g_fCameraTime)) = value;
}
}
// Token: 0x040030FC RID: 12540
private static readonly IntPtr NativeFieldInfoPtr_SD;
// Token: 0x040030FD RID: 12541
private static readonly IntPtr NativeFieldInfoPtr_LeadSwitchObject;
// Token: 0x040030FE RID: 12542
private static readonly IntPtr NativeFieldInfoPtr_CreateSoulPosition;
// Token: 0x040030FF RID: 12543
private static readonly IntPtr NativeFieldInfoPtr_SwitchCamera;
// Token: 0x04003100 RID: 12544
private static readonly IntPtr NativeFieldInfoPtr_CameraTime;
// Token: 0x04003101 RID: 12545
private static readonly IntPtr NativeFieldInfoPtr_g_bCameraSwitch;
// Token: 0x04003102 RID: 12546
private static readonly IntPtr NativeFieldInfoPtr_g_fCameraTime;
// Token: 0x04003103 RID: 12547
private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Void_0;
// Token: 0x04003104 RID: 12548
private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;
// Token: 0x04003105 RID: 12549
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}