feat: add skeleton
This commit is contained in:
+1
-1
Submodule SDK-GMLIB updated: 265ef762f5...1c2918e15d
+3
-2
@@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "include_all.h"
|
#include <include_all.h>
|
||||||
|
#include <RemoteCallAPI.h>
|
||||||
|
|
||||||
#define PLUGIN_NAME "plugin"
|
#define PLUGIN_NAME "GMLIB-LRCA"
|
||||||
|
|
||||||
extern ll::Logger logger;
|
extern ll::Logger logger;
|
||||||
@@ -7,6 +7,10 @@ namespace plugin {
|
|||||||
|
|
||||||
Plugin::Plugin(ll::plugin::NativePlugin& self) : mSelf(self) {
|
Plugin::Plugin(ll::plugin::NativePlugin& self) : mSelf(self) {
|
||||||
// Code for loading the plugin goes here.
|
// Code for loading the plugin goes here.
|
||||||
|
|
||||||
|
logger.info("GMLIB-LegacyRemoteCallApi Loaded!");
|
||||||
|
logger.info("Author: GroupMountain");
|
||||||
|
logger.info("Repository: https://github.com/GroupMountain/GMLIB-LegacyRemoteCallApi");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Plugin::enable() {
|
bool Plugin::enable() {
|
||||||
|
|||||||
-7238
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,7 @@ end
|
|||||||
|
|
||||||
-- Option 1: Use the latest version of LeviLamina released on GitHub.
|
-- Option 1: Use the latest version of LeviLamina released on GitHub.
|
||||||
add_requires("levilamina")
|
add_requires("levilamina")
|
||||||
|
add_requires("legacyremotecall")
|
||||||
|
|
||||||
-- Option 2: Use a specific version of LeviLamina released on GitHub.
|
-- Option 2: Use a specific version of LeviLamina released on GitHub.
|
||||||
-- add_requires("levilamina x.x.x")
|
-- add_requires("levilamina x.x.x")
|
||||||
@@ -40,7 +41,7 @@ add_requires("levilamina")
|
|||||||
-- import("package.tools.xmake").install(package)
|
-- import("package.tools.xmake").install(package)
|
||||||
-- end)
|
-- end)
|
||||||
|
|
||||||
target("plugin") -- Change this to your plugin name.
|
target("GMLIB-LegacyRemoteCallApi") -- Change this to your plugin name.
|
||||||
add_cxflags(
|
add_cxflags(
|
||||||
"/EHa",
|
"/EHa",
|
||||||
"/utf-8"
|
"/utf-8"
|
||||||
@@ -59,7 +60,8 @@ target("plugin") -- Change this to your plugin name.
|
|||||||
"src"
|
"src"
|
||||||
)
|
)
|
||||||
add_packages(
|
add_packages(
|
||||||
"levilamina"
|
"levilamina",
|
||||||
|
"legacyremotecall"
|
||||||
)
|
)
|
||||||
add_shflags(
|
add_shflags(
|
||||||
"/DELAYLOAD:bedrock_server.dll" -- Magic to import symbols from BDS
|
"/DELAYLOAD:bedrock_server.dll" -- Magic to import symbols from BDS
|
||||||
|
|||||||
Reference in New Issue
Block a user