mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-02-16 10:10:40 +00:00
Add PyAPI skell
This commit is contained in:
@@ -108,7 +108,10 @@ add_executable(BeamMP-Server
|
||||
include/TScopedTimer.h src/TScopedTimer.cpp
|
||||
include/SignalHandling.h src/SignalHandling.cpp
|
||||
include/ArgsParser.h src/ArgsParser.cpp
|
||||
include/Environment.h)
|
||||
include/Environment.h
|
||||
src/TPyEngine.cpp include/TPyEngine.h
|
||||
src/TPyPlugin.cpp include/TPyPlugin.h
|
||||
src/PyAPI.cpp include/PyAPI.h)
|
||||
|
||||
target_compile_definitions(BeamMP-Server PRIVATE SECRET_SENTRY_URL="${BEAMMP_SECRET_SENTRY_URL}")
|
||||
include_directories(BeamMP-Server PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
|
||||
13
include/PyAPI.h
Normal file
13
include/PyAPI.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include "TPyEngine.h"
|
||||
#include <tuple>
|
||||
|
||||
namespace PyAPI {
|
||||
namespace MP {
|
||||
}
|
||||
namespace FS {
|
||||
}
|
||||
namespace CL {
|
||||
}
|
||||
}
|
||||
3
include/TPyEngine.h
Normal file
3
include/TPyEngine.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
class TPyPlugin;
|
||||
1
include/TPyPlugin.h
Normal file
1
include/TPyPlugin.h
Normal file
@@ -0,0 +1 @@
|
||||
#pragma once
|
||||
1
src/PyAPI.cpp
Normal file
1
src/PyAPI.cpp
Normal file
@@ -0,0 +1 @@
|
||||
#include "PyAPI.h"
|
||||
1
src/TPyEngine.cpp
Normal file
1
src/TPyEngine.cpp
Normal file
@@ -0,0 +1 @@
|
||||
#include "TPyEngine.h"
|
||||
1
src/TPyPlugin.cpp
Normal file
1
src/TPyPlugin.cpp
Normal file
@@ -0,0 +1 @@
|
||||
#include "TPyPlugin.h"
|
||||
Reference in New Issue
Block a user