From 432af617a13c8a53e5e934f4623bad395f978914 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 12 Sep 2024 22:44:49 +0200 Subject: [PATCH] Add Brokk_config struct for init and configs --- src/bot/Brokk/brokk.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/bot/Brokk/brokk.hpp b/src/bot/Brokk/brokk.hpp index 099fd33..2651428 100644 --- a/src/bot/Brokk/brokk.hpp +++ b/src/bot/Brokk/brokk.hpp @@ -30,4 +30,23 @@ namespace rathena { }; } } + +struct Brokk_Config { + uint32 brokk_ip; /// the address to bind to + uint16 brokk_port; /// the port to bind to + bool log_login; /// whether to log login server actions or not + char date_format[32]; /// date format used in messages + bool console; /// console input system enabled? + + char loginconf_name[256]; /// name of main config file + char msgconf_name[256]; /// name of msg_conf config file + char lanconf_name[256]; /// name of lan config file + + +#ifdef VIP_ENABLE + +#endif + +}; +extern struct Brokk_Config brokk_config; #endif /* BROKK_HPP */