Files
2023-09-06 22:19:13 +02:00

194 lines
9.1 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;
using RootMotion.FinalIK;
using UnityEngine;
namespace RootMotion.Demos
{
// Token: 0x02000431 RID: 1073
public class OffsetEffector : OffsetModifier
{
// Token: 0x06008104 RID: 33028 RVA: 0x0020F1FC File Offset: 0x0020D3FC
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624878, XrefRangeEnd = 624890, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe override void Start()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), OffsetEffector.NativeMethodInfoPtr_Start_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008105 RID: 33029 RVA: 0x0020F24C File Offset: 0x0020D44C
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624890, XrefRangeEnd = 624897, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe override void OnModifyOffset()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), OffsetEffector.NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008106 RID: 33030 RVA: 0x0020F29C File Offset: 0x0020D49C
[CallerCount(8)]
[CachedScanResults(RefRangeStart = 616294, RefRangeEnd = 616302, XrefRangeStart = 616294, XrefRangeEnd = 616302, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe OffsetEffector()
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr))
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OffsetEffector.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008107 RID: 33031 RVA: 0x0020F2E8 File Offset: 0x0020D4E8
// Note: this type is marked as 'beforefieldinit'.
static OffsetEffector()
{
Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "OffsetEffector");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr);
OffsetEffector.NativeFieldInfoPtr_effectorLinks = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr, "effectorLinks");
OffsetEffector.NativeMethodInfoPtr_Start_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr, 100673096);
OffsetEffector.NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr, 100673097);
OffsetEffector.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr, 100673098);
}
// Token: 0x06008108 RID: 33032 RVA: 0x002089BC File Offset: 0x00206BBC
public OffsetEffector(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17002BD8 RID: 11224
// (get) Token: 0x06008109 RID: 33033 RVA: 0x0020F368 File Offset: 0x0020D568
// (set) Token: 0x0600810A RID: 33034 RVA: 0x0020F39C File Offset: 0x0020D59C
public unsafe Il2CppReferenceArray<OffsetEffector.EffectorLink> effectorLinks
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OffsetEffector.NativeFieldInfoPtr_effectorLinks);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new Il2CppReferenceArray<OffsetEffector.EffectorLink>(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(OffsetEffector.NativeFieldInfoPtr_effectorLinks), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x0400567C RID: 22140
private static readonly IntPtr NativeFieldInfoPtr_effectorLinks;
// Token: 0x0400567D RID: 22141
private static readonly IntPtr NativeMethodInfoPtr_Start_Protected_Virtual_Void_0;
// Token: 0x0400567E RID: 22142
private static readonly IntPtr NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0;
// Token: 0x0400567F RID: 22143
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
// Token: 0x02000432 RID: 1074
[Serializable]
public class EffectorLink : Il2CppSystem.Object
{
// Token: 0x0600810B RID: 33035 RVA: 0x0020F3C4 File Offset: 0x0020D5C4
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe EffectorLink()
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<OffsetEffector.EffectorLink>.NativeClassPtr))
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OffsetEffector.EffectorLink.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x0600810C RID: 33036 RVA: 0x0020F410 File Offset: 0x0020D610
// Note: this type is marked as 'beforefieldinit'.
static EffectorLink()
{
Il2CppClassPointerStore<OffsetEffector.EffectorLink>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr, "EffectorLink");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<OffsetEffector.EffectorLink>.NativeClassPtr);
OffsetEffector.EffectorLink.NativeFieldInfoPtr_effectorType = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OffsetEffector.EffectorLink>.NativeClassPtr, "effectorType");
OffsetEffector.EffectorLink.NativeFieldInfoPtr_weightMultiplier = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OffsetEffector.EffectorLink>.NativeClassPtr, "weightMultiplier");
OffsetEffector.EffectorLink.NativeFieldInfoPtr_localPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OffsetEffector.EffectorLink>.NativeClassPtr, "localPosition");
OffsetEffector.EffectorLink.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OffsetEffector.EffectorLink>.NativeClassPtr, 100673099);
}
// Token: 0x0600810D RID: 33037 RVA: 0x0000A74C File Offset: 0x0000894C
public EffectorLink(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17002BD9 RID: 11225
// (get) Token: 0x0600810E RID: 33038 RVA: 0x0020F48C File Offset: 0x0020D68C
// (set) Token: 0x0600810F RID: 33039 RVA: 0x0020F4B4 File Offset: 0x0020D6B4
public unsafe FullBodyBipedEffector effectorType
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OffsetEffector.EffectorLink.NativeFieldInfoPtr_effectorType);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OffsetEffector.EffectorLink.NativeFieldInfoPtr_effectorType)) = value;
}
}
// Token: 0x17002BDA RID: 11226
// (get) Token: 0x06008110 RID: 33040 RVA: 0x0020F4D8 File Offset: 0x0020D6D8
// (set) Token: 0x06008111 RID: 33041 RVA: 0x0020F500 File Offset: 0x0020D700
public unsafe float weightMultiplier
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OffsetEffector.EffectorLink.NativeFieldInfoPtr_weightMultiplier);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OffsetEffector.EffectorLink.NativeFieldInfoPtr_weightMultiplier)) = value;
}
}
// Token: 0x17002BDB RID: 11227
// (get) Token: 0x06008112 RID: 33042 RVA: 0x0020F524 File Offset: 0x0020D724
// (set) Token: 0x06008113 RID: 33043 RVA: 0x0020F54C File Offset: 0x0020D74C
public unsafe Vector3 localPosition
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OffsetEffector.EffectorLink.NativeFieldInfoPtr_localPosition);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OffsetEffector.EffectorLink.NativeFieldInfoPtr_localPosition)) = value;
}
}
// Token: 0x04005680 RID: 22144
private static readonly IntPtr NativeFieldInfoPtr_effectorType;
// Token: 0x04005681 RID: 22145
private static readonly IntPtr NativeFieldInfoPtr_weightMultiplier;
// Token: 0x04005682 RID: 22146
private static readonly IntPtr NativeFieldInfoPtr_localPosition;
// Token: 0x04005683 RID: 22147
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
}
}