Files
NobetaSource/Interop/Assembly-CSharp/BeatingGameData.cs
2023-09-06 22:09:22 +02:00

162 lines
6.7 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;
// Token: 0x0200013B RID: 315
public class BeatingGameData : Object
{
// Token: 0x060040C2 RID: 16578 RVA: 0x000FE900 File Offset: 0x000FCB00
[CallerCount(1659)]
[CachedScanResults(RefRangeStart = 7639, RefRangeEnd = 9298, XrefRangeStart = 7639, XrefRangeEnd = 9298, 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: 0x060040C3 RID: 16579 RVA: 0x000FE94C File Offset: 0x000FCB4C
// 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, 100667219);
}
// Token: 0x060040C4 RID: 16580 RVA: 0x0000A74C File Offset: 0x0000894C
public BeatingGameData(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17001822 RID: 6178
// (get) Token: 0x060040C5 RID: 16581 RVA: 0x000FEA08 File Offset: 0x000FCC08
// (set) Token: 0x060040C6 RID: 16582 RVA: 0x000FEA30 File Offset: 0x000FCC30
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: 0x17001823 RID: 6179
// (get) Token: 0x060040C7 RID: 16583 RVA: 0x000FEA54 File Offset: 0x000FCC54
// (set) Token: 0x060040C8 RID: 16584 RVA: 0x000FEA7C File Offset: 0x000FCC7C
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: 0x17001824 RID: 6180
// (get) Token: 0x060040C9 RID: 16585 RVA: 0x000FEAA0 File Offset: 0x000FCCA0
// (set) Token: 0x060040CA RID: 16586 RVA: 0x000FEAC8 File Offset: 0x000FCCC8
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: 0x17001825 RID: 6181
// (get) Token: 0x060040CB RID: 16587 RVA: 0x000FEAEC File Offset: 0x000FCCEC
// (set) Token: 0x060040CC RID: 16588 RVA: 0x000FEB14 File Offset: 0x000FCD14
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: 0x17001826 RID: 6182
// (get) Token: 0x060040CD RID: 16589 RVA: 0x000FEB38 File Offset: 0x000FCD38
// (set) Token: 0x060040CE RID: 16590 RVA: 0x000FEB60 File Offset: 0x000FCD60
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: 0x17001827 RID: 6183
// (get) Token: 0x060040CF RID: 16591 RVA: 0x000FEB84 File Offset: 0x000FCD84
// (set) Token: 0x060040D0 RID: 16592 RVA: 0x000FEBB8 File Offset: 0x000FCDB8
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: 0x04002A16 RID: 10774
private static readonly IntPtr NativeFieldInfoPtr_healthPoint;
// Token: 0x04002A17 RID: 10775
private static readonly IntPtr NativeFieldInfoPtr_manaPoint;
// Token: 0x04002A18 RID: 10776
private static readonly IntPtr NativeFieldInfoPtr_magicIndex;
// Token: 0x04002A19 RID: 10777
private static readonly IntPtr NativeFieldInfoPtr_inventoryIndex;
// Token: 0x04002A1A RID: 10778
private static readonly IntPtr NativeFieldInfoPtr_inventorySlots;
// Token: 0x04002A1B RID: 10779
private static readonly IntPtr NativeFieldInfoPtr_currentItems;
// Token: 0x04002A1C RID: 10780
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}