Files
2023-09-06 22:19:13 +02:00

627 lines
29 KiB
C#

using System;
using System.Runtime.InteropServices;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;
using Il2CppSystem.Collections.Generic;
using UnityEngine;
// Token: 0x02000192 RID: 402
public class ItemSystem : Il2CppSystem.Object
{
// Token: 0x06004873 RID: 18547 RVA: 0x00121EEC File Offset: 0x001200EC
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 567297, RefRangeEnd = 567298, XrefRangeStart = 566995, XrefRangeEnd = 567297, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void Init(Transform root)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
checked
{
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
*ptr = IL2CPP.Il2CppObjectBaseToPtr(root);
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_Init_Public_Void_Transform_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06004874 RID: 18548 RVA: 0x00121F48 File Offset: 0x00120148
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 567301, RefRangeEnd = 567302, XrefRangeStart = 567298, XrefRangeEnd = 567301, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void Update()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_Update_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004875 RID: 18549 RVA: 0x00121F8C File Offset: 0x0012018C
[CallerCount(10)]
[CachedScanResults(RefRangeStart = 567306, RefRangeEnd = 567316, XrefRangeStart = 567302, XrefRangeEnd = 567306, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void NewItem(ItemSystem.ItemType type, Vector3 position, Quaternion rotation, bool bDiscard = false)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr;
checked
{
ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref type;
}
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref position;
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref rotation;
ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref bDiscard;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_NewItem_Public_Void_ItemType_Vector3_Quaternion_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004876 RID: 18550 RVA: 0x0012201C File Offset: 0x0012021C
[CallerCount(8)]
[CachedScanResults(RefRangeStart = 567353, RefRangeEnd = 567361, XrefRangeStart = 567316, XrefRangeEnd = 567353, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void NewProperty(int ID, Vector3 position, Quaternion rotation)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr;
checked
{
ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref ID;
}
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref position;
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref rotation;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_NewProperty_Public_Void_Int32_Vector3_Quaternion_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004877 RID: 18551 RVA: 0x00122098 File Offset: 0x00120298
[CallerCount(2)]
[CachedScanResults(RefRangeStart = 567364, RefRangeEnd = 567366, XrefRangeStart = 567361, XrefRangeEnd = 567364, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe float GetUseTime(ItemSystem.ItemType type)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
checked
{
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref type;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_GetUseTime_Public_Single_ItemType_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x06004878 RID: 18552 RVA: 0x001220FC File Offset: 0x001202FC
[CallerCount(17)]
[CachedScanResults(RefRangeStart = 567481, RefRangeEnd = 567498, XrefRangeStart = 567366, XrefRangeEnd = 567481, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe string GetItemName(ItemSystem.ItemType Type)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
checked
{
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref Type;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_GetItemName_Public_String_ItemType_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return IL2CPP.Il2CppStringToManaged(intPtr);
}
}
// Token: 0x06004879 RID: 18553 RVA: 0x0012215C File Offset: 0x0012035C
[CallerCount(2)]
[CachedScanResults(RefRangeStart = 567518, RefRangeEnd = 567520, XrefRangeStart = 567498, XrefRangeEnd = 567518, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe string GetItemHelp(ItemSystem.ItemType Type)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
checked
{
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref Type;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_GetItemHelp_Public_String_ItemType_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return IL2CPP.Il2CppStringToManaged(intPtr);
}
}
// Token: 0x0600487A RID: 18554 RVA: 0x001221BC File Offset: 0x001203BC
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 567534, RefRangeEnd = 567535, XrefRangeStart = 567520, XrefRangeEnd = 567534, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void PlayEffMysterious(Vector3 position, Quaternion rotation, float secondCureValue, Transform root)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr;
checked
{
ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref position;
}
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref rotation;
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref secondCureValue;
ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(root);
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_PlayEffMysterious_Public_Void_Vector3_Quaternion_Single_Transform_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x0600487B RID: 18555 RVA: 0x00122250 File Offset: 0x00120450
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 567549, RefRangeEnd = 567550, XrefRangeStart = 567535, XrefRangeEnd = 567549, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void PlayEffHoly(Vector3 position, Quaternion rotation, float secondCureValue, Transform root)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr;
checked
{
ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref position;
}
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref rotation;
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref secondCureValue;
ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(root);
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_PlayEffHoly_Public_Void_Vector3_Quaternion_Single_Transform_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x0600487C RID: 18556 RVA: 0x001222E4 File Offset: 0x001204E4
[CallerCount(9)]
[CachedScanResults(RefRangeStart = 7538, RefRangeEnd = 7547, XrefRangeStart = 7538, XrefRangeEnd = 7547, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe Transform GetItemRoot()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_GetItemRoot_Public_Transform_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
IntPtr intPtr3 = intPtr;
return (intPtr3 != 0) ? new Transform(intPtr3) : null;
}
// Token: 0x0600487D RID: 18557 RVA: 0x0012233C File Offset: 0x0012053C
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 567561, RefRangeEnd = 567562, XrefRangeStart = 567550, XrefRangeEnd = 567561, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void SetAllItemCheckFloor()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_SetAllItemCheckFloor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x0600487E RID: 18558 RVA: 0x00122380 File Offset: 0x00120580
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 567563, RefRangeEnd = 567564, XrefRangeStart = 567562, XrefRangeEnd = 567563, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe float GetItemPrice(ItemSystem.ItemType type)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
checked
{
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref type;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_GetItemPrice_Public_Single_ItemType_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x0600487F RID: 18559 RVA: 0x001223E4 File Offset: 0x001205E4
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 567584, RefRangeEnd = 567585, XrefRangeStart = 567564, XrefRangeEnd = 567584, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void Dispose()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr_Dispose_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004880 RID: 18560 RVA: 0x00122428 File Offset: 0x00120628
[CallerCount(1664)]
[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe ItemSystem()
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr))
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004881 RID: 18561 RVA: 0x00122474 File Offset: 0x00120674
// Note: this type is marked as 'beforefieldinit'.
static ItemSystem()
{
Il2CppClassPointerStore<ItemSystem>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ItemSystem");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr);
ItemSystem.NativeFieldInfoPtr_itemPoolRoot = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "itemPoolRoot");
ItemSystem.NativeFieldInfoPtr_itemPoolMap = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "itemPoolMap");
ItemSystem.NativeFieldInfoPtr_g_EffectParent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "g_EffectParent");
ItemSystem.NativeFieldInfoPtr_g_EffMysterious = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "g_EffMysterious");
ItemSystem.NativeFieldInfoPtr_g_EffHoly = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "g_EffHoly");
ItemSystem.NativeFieldInfoPtr_seAreaCurePool = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "seAreaCurePool");
ItemSystem.NativeFieldInfoPtr_seAreaCureLoopPool = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "seAreaCureLoopPool");
ItemSystem.NativeFieldInfoPtr_ITEM_MAX_SIZE = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "ITEM_MAX_SIZE");
ItemSystem.NativeFieldInfoPtr_g_fLife = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "g_fLife");
ItemSystem.NativeMethodInfoPtr_Init_Public_Void_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668191);
ItemSystem.NativeMethodInfoPtr_Update_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668192);
ItemSystem.NativeMethodInfoPtr_NewItem_Public_Void_ItemType_Vector3_Quaternion_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668193);
ItemSystem.NativeMethodInfoPtr_NewProperty_Public_Void_Int32_Vector3_Quaternion_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668194);
ItemSystem.NativeMethodInfoPtr_GetUseTime_Public_Single_ItemType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668195);
ItemSystem.NativeMethodInfoPtr_GetItemName_Public_String_ItemType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668196);
ItemSystem.NativeMethodInfoPtr_GetItemHelp_Public_String_ItemType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668197);
ItemSystem.NativeMethodInfoPtr_PlayEffMysterious_Public_Void_Vector3_Quaternion_Single_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668198);
ItemSystem.NativeMethodInfoPtr_PlayEffHoly_Public_Void_Vector3_Quaternion_Single_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668199);
ItemSystem.NativeMethodInfoPtr_GetItemRoot_Public_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668200);
ItemSystem.NativeMethodInfoPtr_SetAllItemCheckFloor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668201);
ItemSystem.NativeMethodInfoPtr_GetItemPrice_Public_Single_ItemType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668202);
ItemSystem.NativeMethodInfoPtr_Dispose_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668203);
ItemSystem.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, 100668204);
}
// Token: 0x06004882 RID: 18562 RVA: 0x0000A74C File Offset: 0x0000894C
public ItemSystem(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17001A04 RID: 6660
// (get) Token: 0x06004883 RID: 18563 RVA: 0x00122670 File Offset: 0x00120870
// (set) Token: 0x06004884 RID: 18564 RVA: 0x001226A4 File Offset: 0x001208A4
public unsafe Transform itemPoolRoot
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_itemPoolRoot);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new Transform(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_itemPoolRoot), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001A05 RID: 6661
// (get) Token: 0x06004885 RID: 18565 RVA: 0x001226CC File Offset: 0x001208CC
// (set) Token: 0x06004886 RID: 18566 RVA: 0x00122700 File Offset: 0x00120900
public unsafe Dictionary<ItemSystem.ItemType, ItemPool> itemPoolMap
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_itemPoolMap);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new Dictionary<ItemSystem.ItemType, ItemPool>(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_itemPoolMap), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001A06 RID: 6662
// (get) Token: 0x06004887 RID: 18567 RVA: 0x00122728 File Offset: 0x00120928
// (set) Token: 0x06004888 RID: 18568 RVA: 0x0012275C File Offset: 0x0012095C
public unsafe Transform g_EffectParent
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_g_EffectParent);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new Transform(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_g_EffectParent), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001A07 RID: 6663
// (get) Token: 0x06004889 RID: 18569 RVA: 0x00122784 File Offset: 0x00120984
// (set) Token: 0x0600488A RID: 18570 RVA: 0x001227B8 File Offset: 0x001209B8
public unsafe EffectPool g_EffMysterious
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_g_EffMysterious);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new EffectPool(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_g_EffMysterious), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001A08 RID: 6664
// (get) Token: 0x0600488B RID: 18571 RVA: 0x001227E0 File Offset: 0x001209E0
// (set) Token: 0x0600488C RID: 18572 RVA: 0x00122814 File Offset: 0x00120A14
public unsafe EffectPool g_EffHoly
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_g_EffHoly);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new EffectPool(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_g_EffHoly), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001A09 RID: 6665
// (get) Token: 0x0600488D RID: 18573 RVA: 0x0012283C File Offset: 0x00120A3C
// (set) Token: 0x0600488E RID: 18574 RVA: 0x00122870 File Offset: 0x00120A70
public unsafe SoundEffectPool seAreaCurePool
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_seAreaCurePool);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new SoundEffectPool(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_seAreaCurePool), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001A0A RID: 6666
// (get) Token: 0x0600488F RID: 18575 RVA: 0x00122898 File Offset: 0x00120A98
// (set) Token: 0x06004890 RID: 18576 RVA: 0x001228CC File Offset: 0x00120ACC
public unsafe SoundEffectPool seAreaCureLoopPool
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_seAreaCureLoopPool);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new SoundEffectPool(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ItemSystem.NativeFieldInfoPtr_seAreaCureLoopPool), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001A0B RID: 6667
// (get) Token: 0x06004891 RID: 18577 RVA: 0x001228F4 File Offset: 0x00120AF4
// (set) Token: 0x06004892 RID: 18578 RVA: 0x00122912 File Offset: 0x00120B12
public unsafe static int ITEM_MAX_SIZE
{
get
{
int num;
IL2CPP.il2cpp_field_static_get_value(ItemSystem.NativeFieldInfoPtr_ITEM_MAX_SIZE, (void*)(&num));
return num;
}
set
{
IL2CPP.il2cpp_field_static_set_value(ItemSystem.NativeFieldInfoPtr_ITEM_MAX_SIZE, (void*)(&value));
}
}
// Token: 0x17001A0C RID: 6668
// (get) Token: 0x06004893 RID: 18579 RVA: 0x00122924 File Offset: 0x00120B24
// (set) Token: 0x06004894 RID: 18580 RVA: 0x00122942 File Offset: 0x00120B42
public unsafe static float g_fLife
{
get
{
float num;
IL2CPP.il2cpp_field_static_get_value(ItemSystem.NativeFieldInfoPtr_g_fLife, (void*)(&num));
return num;
}
set
{
IL2CPP.il2cpp_field_static_set_value(ItemSystem.NativeFieldInfoPtr_g_fLife, (void*)(&value));
}
}
// Token: 0x04002FF8 RID: 12280
private static readonly IntPtr NativeFieldInfoPtr_itemPoolRoot;
// Token: 0x04002FF9 RID: 12281
private static readonly IntPtr NativeFieldInfoPtr_itemPoolMap;
// Token: 0x04002FFA RID: 12282
private static readonly IntPtr NativeFieldInfoPtr_g_EffectParent;
// Token: 0x04002FFB RID: 12283
private static readonly IntPtr NativeFieldInfoPtr_g_EffMysterious;
// Token: 0x04002FFC RID: 12284
private static readonly IntPtr NativeFieldInfoPtr_g_EffHoly;
// Token: 0x04002FFD RID: 12285
private static readonly IntPtr NativeFieldInfoPtr_seAreaCurePool;
// Token: 0x04002FFE RID: 12286
private static readonly IntPtr NativeFieldInfoPtr_seAreaCureLoopPool;
// Token: 0x04002FFF RID: 12287
private static readonly IntPtr NativeFieldInfoPtr_ITEM_MAX_SIZE;
// Token: 0x04003000 RID: 12288
private static readonly IntPtr NativeFieldInfoPtr_g_fLife;
// Token: 0x04003001 RID: 12289
private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_Transform_0;
// Token: 0x04003002 RID: 12290
private static readonly IntPtr NativeMethodInfoPtr_Update_Public_Void_0;
// Token: 0x04003003 RID: 12291
private static readonly IntPtr NativeMethodInfoPtr_NewItem_Public_Void_ItemType_Vector3_Quaternion_Boolean_0;
// Token: 0x04003004 RID: 12292
private static readonly IntPtr NativeMethodInfoPtr_NewProperty_Public_Void_Int32_Vector3_Quaternion_0;
// Token: 0x04003005 RID: 12293
private static readonly IntPtr NativeMethodInfoPtr_GetUseTime_Public_Single_ItemType_0;
// Token: 0x04003006 RID: 12294
private static readonly IntPtr NativeMethodInfoPtr_GetItemName_Public_String_ItemType_0;
// Token: 0x04003007 RID: 12295
private static readonly IntPtr NativeMethodInfoPtr_GetItemHelp_Public_String_ItemType_0;
// Token: 0x04003008 RID: 12296
private static readonly IntPtr NativeMethodInfoPtr_PlayEffMysterious_Public_Void_Vector3_Quaternion_Single_Transform_0;
// Token: 0x04003009 RID: 12297
private static readonly IntPtr NativeMethodInfoPtr_PlayEffHoly_Public_Void_Vector3_Quaternion_Single_Transform_0;
// Token: 0x0400300A RID: 12298
private static readonly IntPtr NativeMethodInfoPtr_GetItemRoot_Public_Transform_0;
// Token: 0x0400300B RID: 12299
private static readonly IntPtr NativeMethodInfoPtr_SetAllItemCheckFloor_Public_Void_0;
// Token: 0x0400300C RID: 12300
private static readonly IntPtr NativeMethodInfoPtr_GetItemPrice_Public_Single_ItemType_0;
// Token: 0x0400300D RID: 12301
private static readonly IntPtr NativeMethodInfoPtr_Dispose_Public_Void_0;
// Token: 0x0400300E RID: 12302
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
// Token: 0x02000193 RID: 403
public enum ItemType
{
// Token: 0x04003010 RID: 12304
Null,
// Token: 0x04003011 RID: 12305
HPCure,
// Token: 0x04003012 RID: 12306
MPCure,
// Token: 0x04003013 RID: 12307
HPMaxAdd,
// Token: 0x04003014 RID: 12308
MPMaxAdd,
// Token: 0x04003015 RID: 12309
SPMaxAdd,
// Token: 0x04003016 RID: 12310
BagMaxAdd,
// Token: 0x04003017 RID: 12311
SkyJump,
// Token: 0x04003018 RID: 12312
Absorb,
// Token: 0x04003019 RID: 12313
MagicIce,
// Token: 0x0400301A RID: 12314
MagicFire,
// Token: 0x0400301B RID: 12315
MagicLightning,
// Token: 0x0400301C RID: 12316
HPCureMiddle,
// Token: 0x0400301D RID: 12317
HPCureBig,
// Token: 0x0400301E RID: 12318
MPCureMiddle,
// Token: 0x0400301F RID: 12319
MPCureBig,
// Token: 0x04003020 RID: 12320
MagicNull,
// Token: 0x04003021 RID: 12321
HPCureTemp,
// Token: 0x04003022 RID: 12322
MPCureTemp,
// Token: 0x04003023 RID: 12323
Defense,
// Token: 0x04003024 RID: 12324
DefenseM,
// Token: 0x04003025 RID: 12325
DefenseB,
// Token: 0x04003026 RID: 12326
Mysterious,
// Token: 0x04003027 RID: 12327
MysteriousM,
// Token: 0x04003028 RID: 12328
MysteriousB,
// Token: 0x04003029 RID: 12329
Holy,
// Token: 0x0400302A RID: 12330
HolyM,
// Token: 0x0400302B RID: 12331
HolyB,
// Token: 0x0400302C RID: 12332
Property,
// Token: 0x0400302D RID: 12333
AreaTeleport
}
// Token: 0x02000194 RID: 404
[StructLayout(2)]
public struct ItemTypeComparer
{
// Token: 0x06004895 RID: 18581 RVA: 0x00122954 File Offset: 0x00120B54
[CallerCount(0)]
public unsafe bool Equals(ItemSystem.ItemType x, ItemSystem.ItemType y)
{
IntPtr* ptr;
checked
{
ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref x;
}
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref y;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.ItemTypeComparer.NativeMethodInfoPtr_Equals_Public_Virtual_Final_New_Boolean_ItemType_ItemType_0, ref this, (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
// Token: 0x06004896 RID: 18582 RVA: 0x001229BC File Offset: 0x00120BBC
[CallerCount(0)]
public unsafe int GetHashCode(ItemSystem.ItemType type)
{
checked
{
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref type;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ItemSystem.ItemTypeComparer.NativeMethodInfoPtr_GetHashCode_Public_Virtual_Final_New_Int32_ItemType_0, ref this, (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x06004897 RID: 18583 RVA: 0x00122A10 File Offset: 0x00120C10
// Note: this type is marked as 'beforefieldinit'.
static ItemTypeComparer()
{
Il2CppClassPointerStore<ItemSystem.ItemTypeComparer>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<ItemSystem>.NativeClassPtr, "ItemTypeComparer");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ItemSystem.ItemTypeComparer>.NativeClassPtr);
ItemSystem.ItemTypeComparer.NativeMethodInfoPtr_Equals_Public_Virtual_Final_New_Boolean_ItemType_ItemType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem.ItemTypeComparer>.NativeClassPtr, 100668205);
ItemSystem.ItemTypeComparer.NativeMethodInfoPtr_GetHashCode_Public_Virtual_Final_New_Int32_ItemType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ItemSystem.ItemTypeComparer>.NativeClassPtr, 100668206);
}
// Token: 0x06004898 RID: 18584 RVA: 0x00122A63 File Offset: 0x00120C63
public Il2CppSystem.Object BoxIl2CppObject()
{
return new Il2CppSystem.Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<ItemSystem.ItemTypeComparer>.NativeClassPtr, ref this));
}
// Token: 0x0400302E RID: 12334
private static readonly IntPtr NativeMethodInfoPtr_Equals_Public_Virtual_Final_New_Boolean_ItemType_ItemType_0;
// Token: 0x0400302F RID: 12335
private static readonly IntPtr NativeMethodInfoPtr_GetHashCode_Public_Virtual_Final_New_Int32_ItemType_0;
}
}