Add v1.0.3.1
This commit is contained in:
100
Interop/Assembly-CSharp/RootMotion/Demos/GrounderDemo.cs
Normal file
100
Interop/Assembly-CSharp/RootMotion/Demos/GrounderDemo.cs
Normal file
@@ -0,0 +1,100 @@
|
||||
using System;
|
||||
using Il2CppInterop.Common.Attributes;
|
||||
using Il2CppInterop.Runtime;
|
||||
using Il2CppInterop.Runtime.InteropTypes.Arrays;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RootMotion.Demos
|
||||
{
|
||||
// Token: 0x020003EA RID: 1002
|
||||
public class GrounderDemo : MonoBehaviour
|
||||
{
|
||||
// Token: 0x060079C2 RID: 31170 RVA: 0x001F052C File Offset: 0x001EE72C
|
||||
[CallerCount(0)]
|
||||
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593189, XrefRangeEnd = 593214, 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: 0x060079C3 RID: 31171 RVA: 0x001F0570 File Offset: 0x001EE770
|
||||
[CallerCount(4)]
|
||||
[CachedScanResults(RefRangeStart = 593216, RefRangeEnd = 593220, XrefRangeStart = 593214, XrefRangeEnd = 593216, 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: 0x060079C4 RID: 31172 RVA: 0x001F05C4 File Offset: 0x001EE7C4
|
||||
[CallerCount(63)]
|
||||
[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x060079C5 RID: 31173 RVA: 0x001F0610 File Offset: 0x001EE810
|
||||
// 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, 100672454);
|
||||
GrounderDemo.NativeMethodInfoPtr_Activate_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrounderDemo>.NativeClassPtr, 100672455);
|
||||
GrounderDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GrounderDemo>.NativeClassPtr, 100672456);
|
||||
}
|
||||
|
||||
// Token: 0x060079C6 RID: 31174 RVA: 0x0000351C File Offset: 0x0000171C
|
||||
public GrounderDemo(IntPtr pointer)
|
||||
: base(pointer)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17002996 RID: 10646
|
||||
// (get) Token: 0x060079C7 RID: 31175 RVA: 0x001F0690 File Offset: 0x001EE890
|
||||
// (set) Token: 0x060079C8 RID: 31176 RVA: 0x001F06C4 File Offset: 0x001EE8C4
|
||||
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: 0x0400516E RID: 20846
|
||||
private static readonly IntPtr NativeFieldInfoPtr_characters;
|
||||
|
||||
// Token: 0x0400516F RID: 20847
|
||||
private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;
|
||||
|
||||
// Token: 0x04005170 RID: 20848
|
||||
private static readonly IntPtr NativeMethodInfoPtr_Activate_Public_Void_Int32_0;
|
||||
|
||||
// Token: 0x04005171 RID: 20849
|
||||
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user