From a66043393f3fdbb7d83fed7c644ca5213c6cbba5 Mon Sep 17 00:00:00 2001 From: qingyu <62042544+dreamguxiang@users.noreply.github.com> Date: Fri, 12 Aug 2022 15:39:10 +0800 Subject: [PATCH] Fix : Symbol error --- CMakeLists.txt | 4 ++-- LINK.txt | 2 +- SDK | 2 +- src/functions/HsaHelper.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63d46e6..71ef3fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.16) project(Trapdoor) set(CMAKE_CXX_STANDARD 17) -set(TRAPDOOR_VERSION 0.16) +set(TRAPDOOR_VERSION 0.17) set(TEST_NUMBER 12) -set(GAME_VERSION 1.19.10.03) +set(GAME_VERSION 1.19.20.02) option(DEV "Build as developer version" ON) option(BETA "Build as beta version" OFF) add_definitions(-DTD_VERSION="${TRAPDOOR_VERSION}") diff --git a/LINK.txt b/LINK.txt index 6f9ce71..5da6f35 100644 --- a/LINK.txt +++ b/LINK.txt @@ -1 +1 @@ -https://minecraft.azureedge.net/bin-win/bedrock-server-1.19.10.03.zip \ No newline at end of file +https://minecraft.azureedge.net/bin-win/bedrock-server-1.19.20.02.zip \ No newline at end of file diff --git a/SDK b/SDK index 01834af..2ee36e4 160000 --- a/SDK +++ b/SDK @@ -1 +1 @@ -Subproject commit 01834afd4df3985f51830f407932cd44285c7fca +Subproject commit 2ee36e4043bc3b5648f9119e8bcf6e9bd003dbaf diff --git a/src/functions/HsaHelper.cpp b/src/functions/HsaHelper.cpp index 5ed3d07..ed430ef 100644 --- a/src/functions/HsaHelper.cpp +++ b/src/functions/HsaHelper.cpp @@ -52,7 +52,7 @@ namespace trapdoor { } // namespace trapdoor THook(void, - "?_spawnStructureMob@Spawner@@AEAAXAEAVBlockSource@@AEBVBlockPos@@" + "?_spawnStructureMob@Spawner@@IEAAXAEAVBlockSource@@AEBVBlockPos@@" "AEBUHardcodedSpawningArea@LevelChunk@@AEBVSpawnConditions@@@Z", void *spawner, const BlockSource &bs, const BlockPos &blockPos, const trapdoor::TBoundingBox &hsa, void *spawnConditions) {