File tree Expand file tree Collapse file tree 4 files changed +7
-10
lines changed
Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ include(FetchContent)
99FetchContent_Declare(
1010 endstone
1111 GIT_REPOSITORY https://github.com/EndstoneMC/endstone.git
12- GIT_TAG v0.5.5 # TODO: CHANGE ME to the actual version you are using
12+ GIT_TAG main # TODO: CHANGE ME to the actual version you are using
1313)
1414FetchContent_MakeAvailable(endstone)
1515
1616endstone_add_plugin(${PROJECT_NAME} src/example_plugin.cpp)
17+ target_include_directories (${PROJECT_NAME} PRIVATE include )
Original file line number Diff line number Diff line change 22
33#pragma once
44
5- #include < endstone/event/server/server_load_event.h>
6- #include < endstone/plugin/plugin.h>
5+ #include < endstone/endstone.hpp>
76
87class ExampleListener {
98public:
Original file line number Diff line number Diff line change 11// Copyright (c) 2024, The Endstone Project. (https://endstone.dev) All Rights Reserved.
22
3+ #pragma once
4+
35#include " example_listener.h"
46#include " fibonacci_command.h"
57
6- #include < endstone/color_format.h>
7- #include < endstone/command/plugin_command.h>
8- #include < endstone/event/server/server_command_event.h>
9- #include < endstone/event/server/server_load_event.h>
10- #include < endstone/plugin/plugin.h>
8+ #include < endstone/endstone.hpp>
119#include < memory>
1210#include < vector>
1311
Original file line number Diff line number Diff line change 22
33#pragma once
44
5- #include < endstone/command/command.h>
6- #include < endstone/command/command_executor.h>
5+ #include < endstone/endstone.hpp>
76#include < string>
87
98class FibonacciCommandExecutor : public endstone ::CommandExecutor {
You can’t perform that action at this time.
0 commit comments