From 0e0a21e00d4d85935bddd45dfd50b7097efde937 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 12 Sep 2024 22:12:11 +0200 Subject: [PATCH] Fix Sindri header --- .gitignore | 2 ++ src/bot/Sindri/Sindri.vcxproj | 2 +- src/bot/Sindri/Sindri.vcxproj.filters | 2 +- src/bot/Sindri/sindri.hpp | 33 +++++++++++++++++++++++++++ 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 src/bot/Sindri/sindri.hpp diff --git a/.gitignore b/.gitignore index 96334eb..d915038 100644 --- a/.gitignore +++ b/.gitignore @@ -608,3 +608,5 @@ cython_debug/ /webserv.bat /yaml2sql.bat /yamlupgrade.bat +/brokkserv.bat +/sindriserv.bat diff --git a/src/bot/Sindri/Sindri.vcxproj b/src/bot/Sindri/Sindri.vcxproj index b335028..d662b62 100644 --- a/src/bot/Sindri/Sindri.vcxproj +++ b/src/bot/Sindri/Sindri.vcxproj @@ -142,7 +142,7 @@ - + diff --git a/src/bot/Sindri/Sindri.vcxproj.filters b/src/bot/Sindri/Sindri.vcxproj.filters index fa5db03..364045b 100644 --- a/src/bot/Sindri/Sindri.vcxproj.filters +++ b/src/bot/Sindri/Sindri.vcxproj.filters @@ -20,7 +20,7 @@ - + Headerdateien diff --git a/src/bot/Sindri/sindri.hpp b/src/bot/Sindri/sindri.hpp new file mode 100644 index 0000000..b9f040d --- /dev/null +++ b/src/bot/Sindri/sindri.hpp @@ -0,0 +1,33 @@ +// Copyright (c) 4lexKidd +// This software is licensed under the GPL v3 as to be fitting with the rathena project with the additional requirement +// that any distributed versions must include an attribution to the original author (4lexKidd) in all copies +// or substantial portions of the software. + +#ifndef SINDRI_HPP +#define SINDRI_HPP + +#include +#include +#include // NAME_LENGTH,SEX_* +#include +#include + +using rathena::server_core::Core; +using rathena::server_core::e_core_type; + +namespace rathena { + namespace server_sindri { + class SindriServer : public Core { + protected: + bool initialize(int argc, char* argv[]) override; + void finalize() override; + void handle_shutdown() override; + + public: + SindriServer() : Core(e_core_type::SINDRI) { + + } + }; + } +} +#endif /* SINDRI_HPP */