253 lines
11 KiB
C#
253 lines
11 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using RootMotion.FinalIK;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.Demos
|
|
{
|
|
// Token: 0x020003DA RID: 986
|
|
public class InteractionDemo : MonoBehaviour
|
|
{
|
|
// Token: 0x060078D8 RID: 30936 RVA: 0x001ED118 File Offset: 0x001EB318
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 609967, XrefRangeEnd = 610016, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void OnGUI()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InteractionDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060078D9 RID: 30937 RVA: 0x001ED15C File Offset: 0x001EB35C
|
|
[CallerCount(63)]
|
|
[CachedScanResults(RefRangeStart = 165985, RefRangeEnd = 166048, XrefRangeStart = 165985, XrefRangeEnd = 166048, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe InteractionDemo()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InteractionDemo.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060078DA RID: 30938 RVA: 0x001ED1A8 File Offset: 0x001EB3A8
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static InteractionDemo()
|
|
{
|
|
Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "InteractionDemo");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr);
|
|
InteractionDemo.NativeFieldInfoPtr_interactionSystem = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "interactionSystem");
|
|
InteractionDemo.NativeFieldInfoPtr_interrupt = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "interrupt");
|
|
InteractionDemo.NativeFieldInfoPtr_ball = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "ball");
|
|
InteractionDemo.NativeFieldInfoPtr_benchMain = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "benchMain");
|
|
InteractionDemo.NativeFieldInfoPtr_benchHands = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "benchHands");
|
|
InteractionDemo.NativeFieldInfoPtr_button = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "button");
|
|
InteractionDemo.NativeFieldInfoPtr_cigarette = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "cigarette");
|
|
InteractionDemo.NativeFieldInfoPtr_door = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "door");
|
|
InteractionDemo.NativeFieldInfoPtr_isSitting = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "isSitting");
|
|
InteractionDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, 100672404);
|
|
InteractionDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, 100672405);
|
|
}
|
|
|
|
// Token: 0x060078DB RID: 30939 RVA: 0x0000351C File Offset: 0x0000171C
|
|
public InteractionDemo(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x1700293E RID: 10558
|
|
// (get) Token: 0x060078DC RID: 30940 RVA: 0x001ED2B4 File Offset: 0x001EB4B4
|
|
// (set) Token: 0x060078DD RID: 30941 RVA: 0x001ED2E8 File Offset: 0x001EB4E8
|
|
public unsafe InteractionSystem interactionSystem
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_interactionSystem);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new InteractionSystem(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_interactionSystem), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700293F RID: 10559
|
|
// (get) Token: 0x060078DE RID: 30942 RVA: 0x001ED310 File Offset: 0x001EB510
|
|
// (set) Token: 0x060078DF RID: 30943 RVA: 0x001ED338 File Offset: 0x001EB538
|
|
public unsafe bool interrupt
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_interrupt);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_interrupt)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002940 RID: 10560
|
|
// (get) Token: 0x060078E0 RID: 30944 RVA: 0x001ED35C File Offset: 0x001EB55C
|
|
// (set) Token: 0x060078E1 RID: 30945 RVA: 0x001ED390 File Offset: 0x001EB590
|
|
public unsafe InteractionObject ball
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_ball);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new InteractionObject(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_ball), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002941 RID: 10561
|
|
// (get) Token: 0x060078E2 RID: 30946 RVA: 0x001ED3B8 File Offset: 0x001EB5B8
|
|
// (set) Token: 0x060078E3 RID: 30947 RVA: 0x001ED3EC File Offset: 0x001EB5EC
|
|
public unsafe InteractionObject benchMain
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_benchMain);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new InteractionObject(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_benchMain), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002942 RID: 10562
|
|
// (get) Token: 0x060078E4 RID: 30948 RVA: 0x001ED414 File Offset: 0x001EB614
|
|
// (set) Token: 0x060078E5 RID: 30949 RVA: 0x001ED448 File Offset: 0x001EB648
|
|
public unsafe InteractionObject benchHands
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_benchHands);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new InteractionObject(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_benchHands), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002943 RID: 10563
|
|
// (get) Token: 0x060078E6 RID: 30950 RVA: 0x001ED470 File Offset: 0x001EB670
|
|
// (set) Token: 0x060078E7 RID: 30951 RVA: 0x001ED4A4 File Offset: 0x001EB6A4
|
|
public unsafe InteractionObject button
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_button);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new InteractionObject(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_button), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002944 RID: 10564
|
|
// (get) Token: 0x060078E8 RID: 30952 RVA: 0x001ED4CC File Offset: 0x001EB6CC
|
|
// (set) Token: 0x060078E9 RID: 30953 RVA: 0x001ED500 File Offset: 0x001EB700
|
|
public unsafe InteractionObject cigarette
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_cigarette);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new InteractionObject(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_cigarette), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002945 RID: 10565
|
|
// (get) Token: 0x060078EA RID: 30954 RVA: 0x001ED528 File Offset: 0x001EB728
|
|
// (set) Token: 0x060078EB RID: 30955 RVA: 0x001ED55C File Offset: 0x001EB75C
|
|
public unsafe InteractionObject door
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_door);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new InteractionObject(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_door), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002946 RID: 10566
|
|
// (get) Token: 0x060078EC RID: 30956 RVA: 0x001ED584 File Offset: 0x001EB784
|
|
// (set) Token: 0x060078ED RID: 30957 RVA: 0x001ED5AC File Offset: 0x001EB7AC
|
|
public unsafe bool isSitting
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_isSitting);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_isSitting)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040050FC RID: 20732
|
|
private static readonly IntPtr NativeFieldInfoPtr_interactionSystem;
|
|
|
|
// Token: 0x040050FD RID: 20733
|
|
private static readonly IntPtr NativeFieldInfoPtr_interrupt;
|
|
|
|
// Token: 0x040050FE RID: 20734
|
|
private static readonly IntPtr NativeFieldInfoPtr_ball;
|
|
|
|
// Token: 0x040050FF RID: 20735
|
|
private static readonly IntPtr NativeFieldInfoPtr_benchMain;
|
|
|
|
// Token: 0x04005100 RID: 20736
|
|
private static readonly IntPtr NativeFieldInfoPtr_benchHands;
|
|
|
|
// Token: 0x04005101 RID: 20737
|
|
private static readonly IntPtr NativeFieldInfoPtr_button;
|
|
|
|
// Token: 0x04005102 RID: 20738
|
|
private static readonly IntPtr NativeFieldInfoPtr_cigarette;
|
|
|
|
// Token: 0x04005103 RID: 20739
|
|
private static readonly IntPtr NativeFieldInfoPtr_door;
|
|
|
|
// Token: 0x04005104 RID: 20740
|
|
private static readonly IntPtr NativeFieldInfoPtr_isSitting;
|
|
|
|
// Token: 0x04005105 RID: 20741
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;
|
|
|
|
// Token: 0x04005106 RID: 20742
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
}
|
|
}
|