LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/DedicatedServer.hpp
2022-09-21 19:47:03 +08:00

40 lines
1.0 KiB
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class DedicatedServer {
#define AFTER_EXTRA
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEDICATEDSERVER
public:
class DedicatedServer& operator=(class DedicatedServer const &) = delete;
DedicatedServer(class DedicatedServer const &) = delete;
#endif
public:
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEDICATEDSERVER
MCVAPI class Automation::AutomationClient & getAutomationClient() const;
MCVAPI class IGameModuleShared & getGameModule();
MCVAPI class Minecraft & getPrimaryMinecraft();
MCVAPI bool isDedicatedServer() const;
MCVAPI bool isEduMode() const;
MCVAPI void onNetworkMaxPlayersChanged(unsigned int);
MCVAPI bool stop();
MCVAPI ~DedicatedServer();
#endif
MCAPI DedicatedServer();
MCAPI enum DedicatedServer::StartResult start(std::string const &);
//private:
MCAPI void initializeLogging();
private:
};