From 3ca0f008ded1f9dec837733dae2ea14dcb61af14 Mon Sep 17 00:00:00 2001 From: abc15018045126 Date: Wed, 3 Jul 2024 23:26:35 +0800 Subject: [PATCH 1/3] Update Plugin.cs --- Plugin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Plugin.cs b/Plugin.cs index 0d32395..cb4c435 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -42,7 +42,8 @@ public unsafe int autoBirthItem { *(int*)((nint)IL2CPP.Il2CppObjectBaseToPtrNotNull((Il2CppObjectBase)(object)this) + (int)IL2CPP.il2cpp_field_get_offset(NativeFieldInfoPtr_autoBirthItem)) = value; - + int a =4; + a=value; } } } From 121a3eb02dbff320b18b69214807e231c253a871 Mon Sep 17 00:00:00 2001 From: abc15018045126 Date: Wed, 3 Jul 2024 23:43:00 +0800 Subject: [PATCH 2/3] Update Plugin.cs --- Plugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin.cs b/Plugin.cs index cb4c435..94d9a99 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -42,7 +42,7 @@ public unsafe int autoBirthItem { *(int*)((nint)IL2CPP.Il2CppObjectBaseToPtrNotNull((Il2CppObjectBase)(object)this) + (int)IL2CPP.il2cpp_field_get_offset(NativeFieldInfoPtr_autoBirthItem)) = value; - int a =4; + int a =8; a=value; } } From 12944e9876b58d312867ab3a7dc33bc57b14bb4a Mon Sep 17 00:00:00 2001 From: abc15018045126 Date: Wed, 3 Jul 2024 23:45:01 +0800 Subject: [PATCH 3/3] Update Plugin.cs --- Plugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin.cs b/Plugin.cs index 94d9a99..a2c0d73 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -42,7 +42,7 @@ public unsafe int autoBirthItem { *(int*)((nint)IL2CPP.Il2CppObjectBaseToPtrNotNull((Il2CppObjectBase)(object)this) + (int)IL2CPP.il2cpp_field_get_offset(NativeFieldInfoPtr_autoBirthItem)) = value; - int a =8; + int a =9; a=value; } }