Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit fc83ff7

Browse files
committed
2.7.0
1 parent 152f143 commit fc83ff7

File tree

9 files changed

+13
-12
lines changed

9 files changed

+13
-12
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
working-directory: ${{env.GITHUB_WORKSPACE}}
2424
run: |
2525
mkdir SDK/Tools/Server
26-
curl -L -o LINK.txt https://raw.githubusercontent.com/LiteLDev/LiteLoaderBDS/main/Scripts/LINK.txt
26+
curl -L -o LINK.txt https://raw.githubusercontent.com/LiteLDev/LiteLoaderBDS//develop/scripts/LINK.txt
2727
ServerLink=$(cat 'LINK.txt')
2828
echo "ServerLink: $ServerLink"
2929
curl -L -o SDK/Tools/Server/server.zip "$ServerLink"

.gitmodules

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[submodule "SDK"]
22
path = SDK
3-
url = https://github.com/LiteLDev/LiteLoaderSDK.git
3+
url = https://github.com/LiteLDev/LiteLoaderSDK
4+
branch = develop

PermissionAPI/Data.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22
#include <Global.h>
3-
#include <third-party/Nlohmann/json.hpp>
3+
#include <Nlohmann/json.hpp>
44
#include "Data/Role.hpp"
55

66
class Permission {

PermissionAPI/Data/Permission.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*/
99
#pragma once
10-
#include <third-party/Nlohmann/json.hpp>
10+
#include <Nlohmann/json.hpp>
1111
#include "Foundation.hpp"
1212

1313
namespace PERM {

PermissionAPI/Mod.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Mod::Mod()
1717

1818
void Mod::entry() {
1919
//logger.info("PermissionAPI v{} loaded! Author: Jasonzyt", PERM_VER.toString(true));
20-
auto i18n = Translation::loadFromImpl(GetCurrentModule(), LL::getLoaderHandle());
20+
auto i18n = Translation::loadFromImpl(GetCurrentModule(), ll::getLoaderHandle());
2121
perm.load();
2222
// Register plugin permissions
2323
if (!perm.permInfoList.contains("PermissionAPI:cmd_control")) {

PermissionAPI/PermissionAPI.vcxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@
137137
<FunctionLevelLinking>true</FunctionLevelLinking>
138138
<IntrinsicFunctions>true</IntrinsicFunctions>
139139
<SDLCheck>true</SDLCheck>
140-
<PreprocessorDefinitions>NDEBUG;PERMAPI_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
140+
<PreprocessorDefinitions>NDEBUG;PERMAPI_EXPORTS;_WINDOWS;_USRDLL;_AMD64_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
141141
<ConformanceMode>true</ConformanceMode>
142142
<PrecompiledHeader>NotUsing</PrecompiledHeader>
143143
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
144144
<LanguageStandard>stdcpp17</LanguageStandard>
145-
<AdditionalIncludeDirectories>$(SolutionDir)SDK\Header\third-party;$(SolutionDir)SDK\Header;$(VC_IncludePath);$(WindowsSDK_IncludePath)</AdditionalIncludeDirectories>
145+
<AdditionalIncludeDirectories>$(SolutionDir)SDK\include;$(SolutionDir)SDK\include\llapi;$(VC_IncludePath);$(WindowsSDK_IncludePath)</AdditionalIncludeDirectories>
146146
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
147147
</ClCompile>
148148
<Link>

PermissionAPI/dllmain.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BOOL APIENTRY DllMain(HMODULE hModule,
66
LPVOID lpReserved) {
77
switch (ul_reason_for_call) {
88
case DLL_PROCESS_ATTACH:
9-
LL::registerPlugin("PermissionAPI",
9+
ll::registerPlugin("PermissionAPI",
1010
"Builtin & Powerful permission API for LiteLoaderBDS",
1111
PERM_VER,
1212
std::map<std::string, std::string>{

PermissionAPI/pch.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
#include <LoggerAPI.h>
77

88
#define PERM_VER_MAJOR 2
9-
#define PERM_VER_MINOR 6
9+
#define PERM_VER_MINOR 7
1010
#define PERM_VER_REV 0
11-
#define PERM_VER_STATUS LL::Version::Beta
11+
#define PERM_VER_STATUS ll::Version::Beta
1212

1313
extern Logger& logger;
1414

1515
namespace fs = std::filesystem;
1616

17-
static LL::Version PERM_VER{PERM_VER_MAJOR,
17+
static ll::Version PERM_VER{PERM_VER_MAJOR,
1818
PERM_VER_MINOR,
1919
PERM_VER_REV,
2020
PERM_VER_STATUS};

SDK

Submodule SDK updated from d370d9d to 4964ce0

0 commit comments

Comments
 (0)