Files
NobetaSource/Interop/Assembly-CSharp/RootMotion/Demos/OffsetEffector.cs
2023-09-06 22:09:22 +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: 0x020003E2 RID: 994
public class OffsetEffector : OffsetModifier
{
// Token: 0x06007961 RID: 31073 RVA: 0x001EF0C4 File Offset: 0x001ED2C4
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 610177, XrefRangeEnd = 610189, 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: 0x06007962 RID: 31074 RVA: 0x001EF114 File Offset: 0x001ED314
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 610189, XrefRangeEnd = 610196, 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: 0x06007963 RID: 31075 RVA: 0x001EF164 File Offset: 0x001ED364
[CallerCount(8)]
[CachedScanResults(RefRangeStart = 601604, RefRangeEnd = 601612, XrefRangeStart = 601604, XrefRangeEnd = 601612, 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: 0x06007964 RID: 31076 RVA: 0x001EF1B0 File Offset: 0x001ED3B0
// 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, 100672433);
OffsetEffector.NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr, 100672434);
OffsetEffector.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OffsetEffector>.NativeClassPtr, 100672435);
}
// Token: 0x06007965 RID: 31077 RVA: 0x001E8884 File Offset: 0x001E6A84
public OffsetEffector(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x1700296F RID: 10607
// (get) Token: 0x06007966 RID: 31078 RVA: 0x001EF230 File Offset: 0x001ED430
// (set) Token: 0x06007967 RID: 31079 RVA: 0x001EF264 File Offset: 0x001ED464
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: 0x04005147 RID: 20807
private static readonly IntPtr NativeFieldInfoPtr_effectorLinks;
// Token: 0x04005148 RID: 20808
private static readonly IntPtr NativeMethodInfoPtr_Start_Protected_Virtual_Void_0;
// Token: 0x04005149 RID: 20809
private static readonly IntPtr NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0;
// Token: 0x0400514A RID: 20810
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
// Token: 0x020003E3 RID: 995
[Serializable]
public class EffectorLink : Il2CppSystem.Object
{
// Token: 0x06007968 RID: 31080 RVA: 0x001EF28C File Offset: 0x001ED48C
[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: 0x06007969 RID: 31081 RVA: 0x001EF2D8 File Offset: 0x001ED4D8
// 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, 100672436);
}
// Token: 0x0600796A RID: 31082 RVA: 0x0000A74C File Offset: 0x0000894C
public EffectorLink(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17002970 RID: 10608
// (get) Token: 0x0600796B RID: 31083 RVA: 0x001EF354 File Offset: 0x001ED554
// (set) Token: 0x0600796C RID: 31084 RVA: 0x001EF37C File Offset: 0x001ED57C
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: 0x17002971 RID: 10609
// (get) Token: 0x0600796D RID: 31085 RVA: 0x001EF3A0 File Offset: 0x001ED5A0
// (set) Token: 0x0600796E RID: 31086 RVA: 0x001EF3C8 File Offset: 0x001ED5C8
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: 0x17002972 RID: 10610
// (get) Token: 0x0600796F RID: 31087 RVA: 0x001EF3EC File Offset: 0x001ED5EC
// (set) Token: 0x06007970 RID: 31088 RVA: 0x001EF414 File Offset: 0x001ED614
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: 0x0400514B RID: 20811
private static readonly IntPtr NativeFieldInfoPtr_effectorType;
// Token: 0x0400514C RID: 20812
private static readonly IntPtr NativeFieldInfoPtr_weightMultiplier;
// Token: 0x0400514D RID: 20813
private static readonly IntPtr NativeFieldInfoPtr_localPosition;
// Token: 0x0400514E RID: 20814
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
}
}