This commit is contained in:
子沐呀
2024-07-29 13:44:15 +08:00
Unverified
parent dda01660be
commit 3b8a463b62
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "${pluginName}", "name": "${pluginName}",
"entry": "${pluginFile}", "entry": "${pluginFile}",
"version": "0.13.0", "version": "0.13.1",
"author": "GroupMountain", "author": "GroupMountain",
"type": "native", "type": "native",
"passive": true, "passive": true,
+1 -1
View File
@@ -33,4 +33,4 @@ bool LegacyRemoteCallApi::disable() { return true; }
} // namespace GMLIB } // namespace GMLIB
LL_REGISTER_PLUGIN(LegacyRemoteCallApi, LegacyRemoteCallApi::getInstance()); LL_REGISTER_MOD(LegacyRemoteCallApi, LegacyRemoteCallApi::getInstance());
+5 -5
View File
@@ -1,6 +1,6 @@
#pragma once #pragma once
#include <ll/api/plugin/NativePlugin.h> #include <ll/api/mod/NativeMod.h>
#include <ll/api/plugin/RegisterHelper.h> #include <ll/api/mod/RegisterHelper.h>
namespace GMLIB { namespace GMLIB {
@@ -9,9 +9,9 @@ class LegacyRemoteCallApi {
public: public:
static std::unique_ptr<LegacyRemoteCallApi>& getInstance(); static std::unique_ptr<LegacyRemoteCallApi>& 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. /// @return True if the plugin is loaded successfully.
bool load(); bool load();
@@ -27,7 +27,7 @@ public:
// bool unload(); // bool unload();
private: private:
ll::plugin::NativePlugin& mSelf; ll::mod::NativeMod& mSelf;
}; };
} // namespace GMLIB } // namespace GMLIB
+1 -1
View File
@@ -11,7 +11,7 @@ using namespace Mod;
#define LIB_VERSION_MAJOR 0 #define LIB_VERSION_MAJOR 0
#define LIB_VERSION_MINOR 13 #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) #define LIB_VERSION Version(LIB_VERSION_MAJOR, LIB_VERSION_MINOR, LIB_VERSION_PATCH)
+2 -2
View File
@@ -1,7 +1,7 @@
{ {
"format_version": 2, "format_version": 2,
"tooth": "github.com/GroupMountain/GMLIB-LegacyRemoteCallApi", "tooth": "github.com/GroupMountain/GMLIB-LegacyRemoteCallApi",
"version": "0.13.0", "version": "0.13.1",
"info": { "info": {
"name": "GMLIB-LegacyRemoteCallApi", "name": "GMLIB-LegacyRemoteCallApi",
"description": "Legacy RemoteCall API for GMLIB", "description": "Legacy RemoteCall API for GMLIB",
@@ -14,7 +14,7 @@
"library" "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": { "dependencies": {
"github.com/GroupMountain/GMLIB": ">=0.13.0" "github.com/GroupMountain/GMLIB": ">=0.13.0"
}, },