118 lines
5.5 KiB
C#
118 lines
5.5 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using UnityEngine;
|
|
using UnityEngine.Rendering;
|
|
|
|
// Token: 0x020001DE RID: 478
|
|
public class SetVolumeProfile : SceneEvent
|
|
{
|
|
// Token: 0x06004BA4 RID: 19364 RVA: 0x0012CB4C File Offset: 0x0012AD4C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 563223, XrefRangeEnd = 563232, 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), SetVolumeProfile.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06004BA5 RID: 19365 RVA: 0x0012CB9C File Offset: 0x0012AD9C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 563232, XrefRangeEnd = 563235, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnTriggerExit(Collider other)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(other);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SetVolumeProfile.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004BA6 RID: 19366 RVA: 0x0012CC00 File Offset: 0x0012AE00
|
|
[CallerCount(5)]
|
|
[CachedScanResults(RefRangeStart = 559105, RefRangeEnd = 559110, XrefRangeStart = 559105, XrefRangeEnd = 559110, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe SetVolumeProfile()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SetVolumeProfile.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06004BA7 RID: 19367 RVA: 0x0012CC4C File Offset: 0x0012AE4C
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static SetVolumeProfile()
|
|
{
|
|
Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SetVolumeProfile");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr);
|
|
SetVolumeProfile.NativeFieldInfoPtr_profile = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, "profile");
|
|
SetVolumeProfile.NativeFieldInfoPtr_CheckPlayerExit = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, "CheckPlayerExit");
|
|
SetVolumeProfile.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, 100668295);
|
|
SetVolumeProfile.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, 100668296);
|
|
SetVolumeProfile.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, 100668297);
|
|
}
|
|
|
|
// Token: 0x06004BA8 RID: 19368 RVA: 0x00118C18 File Offset: 0x00116E18
|
|
public SetVolumeProfile(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17001B3B RID: 6971
|
|
// (get) Token: 0x06004BA9 RID: 19369 RVA: 0x0012CCE0 File Offset: 0x0012AEE0
|
|
// (set) Token: 0x06004BAA RID: 19370 RVA: 0x0012CD14 File Offset: 0x0012AF14
|
|
public unsafe VolumeProfile profile
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetVolumeProfile.NativeFieldInfoPtr_profile);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new VolumeProfile(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetVolumeProfile.NativeFieldInfoPtr_profile), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001B3C RID: 6972
|
|
// (get) Token: 0x06004BAB RID: 19371 RVA: 0x0012CD3C File Offset: 0x0012AF3C
|
|
// (set) Token: 0x06004BAC RID: 19372 RVA: 0x0012CD64 File Offset: 0x0012AF64
|
|
public unsafe bool CheckPlayerExit
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetVolumeProfile.NativeFieldInfoPtr_CheckPlayerExit);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetVolumeProfile.NativeFieldInfoPtr_CheckPlayerExit)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040031F2 RID: 12786
|
|
private static readonly IntPtr NativeFieldInfoPtr_profile;
|
|
|
|
// Token: 0x040031F3 RID: 12787
|
|
private static readonly IntPtr NativeFieldInfoPtr_CheckPlayerExit;
|
|
|
|
// Token: 0x040031F4 RID: 12788
|
|
private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x040031F5 RID: 12789
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;
|
|
|
|
// Token: 0x040031F6 RID: 12790
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
}
|