101 lines
4.5 KiB
C#
101 lines
4.5 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes.Arrays;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.Demos
|
|
{
|
|
// Token: 0x020003F3 RID: 1011
|
|
public class GrounderDemo : MonoBehaviour
|
|
{
|
|
// Token: 0x06007A72 RID: 31346 RVA: 0x001F3130 File Offset: 0x001F1330
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 610794, XrefRangeEnd = 610819, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void OnGUI()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GrounderDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007A73 RID: 31347 RVA: 0x001F3174 File Offset: 0x001F1374
|
|
[CallerCount(4)]
|
|
[CachedScanResults(RefRangeStart = 610821, RefRangeEnd = 610825, XrefRangeStart = 610819, XrefRangeEnd = 610821, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void Activate(int index)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref index;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GrounderDemo.NativeMethodInfoPtr_Activate_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06007A74 RID: 31348 RVA: 0x001F31C8 File Offset: 0x001F13C8
|
|
[CallerCount(63)]
|
|
[CachedScanResults(RefRangeStart = 165985, RefRangeEnd = 166048, XrefRangeStart = 165985, XrefRangeEnd = 166048, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe GrounderDemo()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GrounderDemo>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GrounderDemo.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007A75 RID: 31349 RVA: 0x001F3214 File Offset: 0x001F1414
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static GrounderDemo()
|
|
{
|
|
Il2CppClassPointerStore<GrounderDemo>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "GrounderDemo");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GrounderDemo>.NativeClassPtr);
|
|
GrounderDemo.NativeFieldInfoPtr_characters = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GrounderDemo>.NativeClassPtr, "characters");
|
|
GrounderDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrounderDemo>.NativeClassPtr, 100672504);
|
|
GrounderDemo.NativeMethodInfoPtr_Activate_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrounderDemo>.NativeClassPtr, 100672505);
|
|
GrounderDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrounderDemo>.NativeClassPtr, 100672506);
|
|
}
|
|
|
|
// Token: 0x06007A76 RID: 31350 RVA: 0x0000351C File Offset: 0x0000171C
|
|
public GrounderDemo(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170029C8 RID: 10696
|
|
// (get) Token: 0x06007A77 RID: 31351 RVA: 0x001F3294 File Offset: 0x001F1494
|
|
// (set) Token: 0x06007A78 RID: 31352 RVA: 0x001F32C8 File Offset: 0x001F14C8
|
|
public unsafe Il2CppReferenceArray<GameObject> characters
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GrounderDemo.NativeFieldInfoPtr_characters);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Il2CppReferenceArray<GameObject>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GrounderDemo.NativeFieldInfoPtr_characters), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x040051E2 RID: 20962
|
|
private static readonly IntPtr NativeFieldInfoPtr_characters;
|
|
|
|
// Token: 0x040051E3 RID: 20963
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;
|
|
|
|
// Token: 0x040051E4 RID: 20964
|
|
private static readonly IntPtr NativeMethodInfoPtr_Activate_Public_Void_Int32_0;
|
|
|
|
// Token: 0x040051E5 RID: 20965
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
}
|
|
}
|