feat: add skeleton

This commit is contained in:
Tsubasa6848
2024-02-08 17:57:37 +08:00
Unverified
parent c1dd363c83
commit fc0f38a278
7 changed files with 12 additions and 7243 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
#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;
View File
View File
+4
View File
@@ -7,6 +7,10 @@ namespace plugin {
Plugin::Plugin(ll::plugin::NativePlugin& self) : mSelf(self) {
// 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() {
-7238
View File
File diff suppressed because it is too large Load Diff
+4 -2
View File
@@ -8,6 +8,7 @@ end
-- Option 1: Use the latest version of LeviLamina released on GitHub.
add_requires("levilamina")
add_requires("legacyremotecall")
-- Option 2: Use a specific version of LeviLamina released on GitHub.
-- add_requires("levilamina x.x.x")
@@ -40,7 +41,7 @@ add_requires("levilamina")
-- import("package.tools.xmake").install(package)
-- end)
target("plugin") -- Change this to your plugin name.
target("GMLIB-LegacyRemoteCallApi") -- Change this to your plugin name.
add_cxflags(
"/EHa",
"/utf-8"
@@ -59,7 +60,8 @@ target("plugin") -- Change this to your plugin name.
"src"
)
add_packages(
"levilamina"
"levilamina",
"legacyremotecall"
)
add_shflags(
"/DELAYLOAD:bedrock_server.dll" -- Magic to import symbols from BDS