162 lines
6.7 KiB
C#
162 lines
6.7 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes.Arrays;
|
|
using Il2CppSystem;
|
|
|
|
// Token: 0x02000161 RID: 353
|
|
public class BeatingGameData : Object
|
|
{
|
|
// Token: 0x0600447B RID: 17531 RVA: 0x0010E660 File Offset: 0x0010C860
|
|
[CallerCount(1664)]
|
|
[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe BeatingGameData()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BeatingGameData.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x0600447C RID: 17532 RVA: 0x0010E6AC File Offset: 0x0010C8AC
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static BeatingGameData()
|
|
{
|
|
Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "BeatingGameData");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr);
|
|
BeatingGameData.NativeFieldInfoPtr_healthPoint = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "healthPoint");
|
|
BeatingGameData.NativeFieldInfoPtr_manaPoint = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "manaPoint");
|
|
BeatingGameData.NativeFieldInfoPtr_magicIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "magicIndex");
|
|
BeatingGameData.NativeFieldInfoPtr_inventoryIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "inventoryIndex");
|
|
BeatingGameData.NativeFieldInfoPtr_inventorySlots = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "inventorySlots");
|
|
BeatingGameData.NativeFieldInfoPtr_currentItems = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "currentItems");
|
|
BeatingGameData.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, 100667560);
|
|
}
|
|
|
|
// Token: 0x0600447D RID: 17533 RVA: 0x0000A74C File Offset: 0x0000894C
|
|
public BeatingGameData(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17001933 RID: 6451
|
|
// (get) Token: 0x0600447E RID: 17534 RVA: 0x0010E768 File Offset: 0x0010C968
|
|
// (set) Token: 0x0600447F RID: 17535 RVA: 0x0010E790 File Offset: 0x0010C990
|
|
public unsafe float healthPoint
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_healthPoint);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_healthPoint)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001934 RID: 6452
|
|
// (get) Token: 0x06004480 RID: 17536 RVA: 0x0010E7B4 File Offset: 0x0010C9B4
|
|
// (set) Token: 0x06004481 RID: 17537 RVA: 0x0010E7DC File Offset: 0x0010C9DC
|
|
public unsafe float manaPoint
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_manaPoint);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_manaPoint)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001935 RID: 6453
|
|
// (get) Token: 0x06004482 RID: 17538 RVA: 0x0010E800 File Offset: 0x0010CA00
|
|
// (set) Token: 0x06004483 RID: 17539 RVA: 0x0010E828 File Offset: 0x0010CA28
|
|
public unsafe int magicIndex
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_magicIndex);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_magicIndex)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001936 RID: 6454
|
|
// (get) Token: 0x06004484 RID: 17540 RVA: 0x0010E84C File Offset: 0x0010CA4C
|
|
// (set) Token: 0x06004485 RID: 17541 RVA: 0x0010E874 File Offset: 0x0010CA74
|
|
public unsafe int inventoryIndex
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_inventoryIndex);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_inventoryIndex)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001937 RID: 6455
|
|
// (get) Token: 0x06004486 RID: 17542 RVA: 0x0010E898 File Offset: 0x0010CA98
|
|
// (set) Token: 0x06004487 RID: 17543 RVA: 0x0010E8C0 File Offset: 0x0010CAC0
|
|
public unsafe int inventorySlots
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_inventorySlots);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_inventorySlots)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001938 RID: 6456
|
|
// (get) Token: 0x06004488 RID: 17544 RVA: 0x0010E8E4 File Offset: 0x0010CAE4
|
|
// (set) Token: 0x06004489 RID: 17545 RVA: 0x0010E918 File Offset: 0x0010CB18
|
|
public unsafe Il2CppStructArray<ItemSystem.ItemType> currentItems
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_currentItems);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Il2CppStructArray<ItemSystem.ItemType>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_currentItems), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x04002C9B RID: 11419
|
|
private static readonly IntPtr NativeFieldInfoPtr_healthPoint;
|
|
|
|
// Token: 0x04002C9C RID: 11420
|
|
private static readonly IntPtr NativeFieldInfoPtr_manaPoint;
|
|
|
|
// Token: 0x04002C9D RID: 11421
|
|
private static readonly IntPtr NativeFieldInfoPtr_magicIndex;
|
|
|
|
// Token: 0x04002C9E RID: 11422
|
|
private static readonly IntPtr NativeFieldInfoPtr_inventoryIndex;
|
|
|
|
// Token: 0x04002C9F RID: 11423
|
|
private static readonly IntPtr NativeFieldInfoPtr_inventorySlots;
|
|
|
|
// Token: 0x04002CA0 RID: 11424
|
|
private static readonly IntPtr NativeFieldInfoPtr_currentItems;
|
|
|
|
// Token: 0x04002CA1 RID: 11425
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
}
|