From 3b8a463b62bbc356e38c2f73cf012bf5d404433b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=90=E6=B2=90=E5=91=80?= <163636894+zimuya4153@users.noreply.github.com> Date: Mon, 29 Jul 2024 13:44:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- src/Entry.cpp | 2 +- src/Entry.h | 10 +++++----- src/Global.h | 2 +- tooth.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/manifest.json b/manifest.json index f7d01cd..147bfdd 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "${pluginName}", "entry": "${pluginFile}", - "version": "0.13.0", + "version": "0.13.1", "author": "GroupMountain", "type": "native", "passive": true, diff --git a/src/Entry.cpp b/src/Entry.cpp index 0abb2b9..d761a55 100644 --- a/src/Entry.cpp +++ b/src/Entry.cpp @@ -33,4 +33,4 @@ bool LegacyRemoteCallApi::disable() { return true; } } // namespace GMLIB -LL_REGISTER_PLUGIN(LegacyRemoteCallApi, LegacyRemoteCallApi::getInstance()); +LL_REGISTER_MOD(LegacyRemoteCallApi, LegacyRemoteCallApi::getInstance()); diff --git a/src/Entry.h b/src/Entry.h index 26f70fe..49821d5 100644 --- a/src/Entry.h +++ b/src/Entry.h @@ -1,6 +1,6 @@ #pragma once -#include -#include +#include +#include namespace GMLIB { @@ -9,9 +9,9 @@ class LegacyRemoteCallApi { public: static std::unique_ptr& getInstance(); - LegacyRemoteCallApi(ll::plugin::NativePlugin& self) : mSelf(self) {} + LegacyRemoteCallApi(ll::mod::NativeMod& self) : mSelf(self) {} - [[nodiscard]] ll::plugin::NativePlugin& getSelf() const { return mSelf; } + [[nodiscard]] ll::mod::NativeMod& getSelf() const { return mSelf; } /// @return True if the plugin is loaded successfully. bool load(); @@ -27,7 +27,7 @@ public: // bool unload(); private: - ll::plugin::NativePlugin& mSelf; + ll::mod::NativeMod& mSelf; }; } // namespace GMLIB diff --git a/src/Global.h b/src/Global.h index 9b0aa90..418defa 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 0 +#define LIB_VERSION_PATCH 1 #define LIB_VERSION Version(LIB_VERSION_MAJOR, LIB_VERSION_MINOR, LIB_VERSION_PATCH) diff --git a/tooth.json b/tooth.json index 8968735..6dc57a1 100644 --- a/tooth.json +++ b/tooth.json @@ -1,7 +1,7 @@ { "format_version": 2, "tooth": "github.com/GroupMountain/GMLIB-LegacyRemoteCallApi", - "version": "0.13.0", + "version": "0.13.1", "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.0/GMLIB-LegacyRemoteCallApi-windows-x64.zip", + "asset_url": "https://github.com/GroupMountain/GMLIB-LegacyRemoteCallApi/releases/download/v0.13.1/GMLIB-LegacyRemoteCallApi-windows-x64.zip", "dependencies": { "github.com/GroupMountain/GMLIB": ">=0.13.0" },