From fc8061e8d3d5c9b1d4313e24f6e50403e8e5b0f0 Mon Sep 17 00:00:00 2001 From: killcerr <93478098+killcerr@users.noreply.github.com> Date: Sat, 20 Jul 2024 22:44:41 +0800 Subject: [PATCH 1/6] fix: try fix ci --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0492967..d2ab319 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: - uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: branch@master + xmake-version: latest - run: | xmake repo -u From d2cda2cf76d500819a1dab15dd431ac17bfd6389 Mon Sep 17 00:00:00 2001 From: killcerr <93478098+killcerr@users.noreply.github.com> Date: Sat, 20 Jul 2024 22:45:31 +0800 Subject: [PATCH 2/6] fix: try fix ci --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb26979..5f0bf89 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: branch@master + xmake-version: latest - run: | xmake repo -u From afceb57fa851e1092c64af9effc8edaf6f2e0a04 Mon Sep 17 00:00:00 2001 From: killcerr <93478098+killcerr@users.noreply.github.com> Date: Sat, 3 Aug 2024 22:07:33 +0800 Subject: [PATCH 3/6] fix: fix ci --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2ab319..6419abe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: - uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: latest + xmake-version: "2.9.3" - run: | xmake repo -u From 6e3850cbeebe96e8c7c77b7df7f2bc32def35247 Mon Sep 17 00:00:00 2001 From: killcerr <93478098+killcerr@users.noreply.github.com> Date: Sat, 3 Aug 2024 22:07:48 +0800 Subject: [PATCH 4/6] fix: fix ci --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f0bf89..d069c1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: latest + xmake-version: "2.9.3" - run: | xmake repo -u From b7355e362dabdbdb1e6ee1dc91db8f352e391543 Mon Sep 17 00:00:00 2001 From: KobeBryant114514 <116721335+KobeBryant114514@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:02:33 +0800 Subject: [PATCH 5/6] fix: fix #30 --- src/LegacyServerApi.cpp | 4 ++-- xmake.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/LegacyServerApi.cpp b/src/LegacyServerApi.cpp index ccb9313..2218d7e 100644 --- a/src/LegacyServerApi.cpp +++ b/src/LegacyServerApi.cpp @@ -38,7 +38,7 @@ void Export_Legacy_GMLib_ServerAPI() { "GMLib_ServerAPI", "spawnEntity", [](std::pair pos, std::string const& name) -> Actor* { - return GMLIB_Spawner::spawnEntity(pos.first, pos.second, name); + return GMLIB_Spawner::spawnEntity(pos.first, pos.second, name).as_ptr(); } ); RemoteCall::exportAs( @@ -46,7 +46,7 @@ void Export_Legacy_GMLib_ServerAPI() { "shootProjectile", [](Actor* owner, std::string const& name, float speed, float offset) -> Actor* { auto ac = (GMLIB_Actor*)owner; - return ac->shootProjectile(name, speed, offset); + return ac->shootProjectile(name, speed, offset).as_ptr(); } ); RemoteCall::exportAs( diff --git a/xmake.lua b/xmake.lua index 435db9f..8452b4b 100644 --- a/xmake.lua +++ b/xmake.lua @@ -8,7 +8,7 @@ if not has_config("vs_runtime") then end -- Option 1: Use the latest version of LeviLamina released on GitHub. -add_requires("levilamina") +add_requires("levilaminalibrary") add_requires("legacyremotecall") add_requires("gmlib") @@ -59,7 +59,7 @@ target("GMLIB-LegacyRemoteCallApi") -- Change this to your plugin name. "src" ) add_packages( - "levilamina", + "levilaminalibrary", "legacyremotecall", "gmlib" ) From d654ab96181636b099478b0efbdb31bc55c1f10e Mon Sep 17 00:00:00 2001 From: KobeBryant114514 <116721335+KobeBryant114514@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:03:49 +0800 Subject: [PATCH 6/6] chore: update version --- manifest.json | 2 +- src/Global.h | 2 +- tooth.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index 147bfdd..3f8033c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "${pluginName}", "entry": "${pluginFile}", - "version": "0.13.1", + "version": "0.13.2", "author": "GroupMountain", "type": "native", "passive": true, diff --git a/src/Global.h b/src/Global.h index 418defa..139e554 100644 --- a/src/Global.h +++ b/src/Global.h @@ -11,7 +11,7 @@ using namespace Mod; #define LIB_VERSION_MAJOR 0 #define LIB_VERSION_MINOR 13 -#define LIB_VERSION_PATCH 1 +#define LIB_VERSION_PATCH 2 #define LIB_VERSION Version(LIB_VERSION_MAJOR, LIB_VERSION_MINOR, LIB_VERSION_PATCH) diff --git a/tooth.json b/tooth.json index 6dc57a1..8020a18 100644 --- a/tooth.json +++ b/tooth.json @@ -1,7 +1,7 @@ { "format_version": 2, "tooth": "github.com/GroupMountain/GMLIB-LegacyRemoteCallApi", - "version": "0.13.1", + "version": "0.13.2", "info": { "name": "GMLIB-LegacyRemoteCallApi", "description": "Legacy RemoteCall API for GMLIB", @@ -14,7 +14,7 @@ "library" ] }, - "asset_url": "https://github.com/GroupMountain/GMLIB-LegacyRemoteCallApi/releases/download/v0.13.1/GMLIB-LegacyRemoteCallApi-windows-x64.zip", + "asset_url": "https://github.com/GroupMountain/GMLIB-LegacyRemoteCallApi/releases/download/v0.13.2/GMLIB-LegacyRemoteCallApi-windows-x64.zip", "dependencies": { "github.com/GroupMountain/GMLIB": ">=0.13.0" },