// This Header is auto generated by BDSLiteLoader Toolchain #pragma once #define AUTO_GENERATED #include "../Global.h" #include "Bedrock.hpp" #include "Core.hpp" #define BEFORE_EXTRA #undef BEFORE_EXTRA class ServerInstance { #define AFTER_EXTRA #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERINSTANCE public: class ServerInstance& operator=(class ServerInstance const &) = delete; ServerInstance(class ServerInstance const &) = delete; ServerInstance() = delete; #endif public: #ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERINSTANCE MCVAPI void onCriticalDiskError(bool, enum Core::LevelStorageState const &); MCVAPI void onGameModeChanged(); MCVAPI void onGameSessionReset(); MCVAPI void onInternetUpdate(); MCVAPI void onLevelCorrupt(); MCVAPI void onLevelExit(); MCVAPI void onLowDiskSpace(bool); MCVAPI void onLowMemory(); MCVAPI void onOutOfDiskSpace(bool); MCVAPI void onTick(int, int); MCVAPI void updateScreens(); MCVAPI ~ServerInstance(); #endif MCAPI ServerInstance(class IMinecraftApp &, class gsl::not_null> const &); MCAPI void disconnectAllClientsWithMessage(std::string); MCAPI bool initializeServer(class IMinecraftApp &, class Whitelist &, class PermissionsFile *, class Core::FilePathManager *, class std::chrono::duration<__int64, struct std::ratio<1, 1>>, std::string, std::string, std::string, class LevelSettings, int, bool, struct ConnectionDefinition, bool, std::vector const &, std::string, class mce::UUID const &, class IMinecraftEventing &, class ResourcePackRepository &, class ContentTierManager const &, class ResourcePackManager &, class std::function (class Scheduler &)>, std::unique_ptr, std::string const &, class LevelData *, std::string, std::string, std::unique_ptr, class ResourcePackManager *, class std::function, class std::function, class ServerMetrics *, class DebugEndPoint *, bool, class std::shared_ptr, unsigned short, bool); MCAPI void leaveGameSync(); MCAPI void queueForServerThread(class std::function); MCAPI void setLevelCorruptionCallback(class std::function); MCAPI void setWakeupFrequency(int); MCAPI void startServerThread(); MCAPI static class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>> const SERVER_MAX_DELAY_BEFORE_SLOWDOWN; //private: MCAPI void _threadSafeExecute(class std::function); MCAPI void _update(); private: };