11 #ifndef RECAST_SERVER_H
12 #define RECAST_SERVER_H
48 bool isOP()
const {
return true; }
67 void initTemperatureWorld();
73 volatile bool isLaunching;
74 std::thread inputThread;
75 std::thread listenTCPThread;
76 std::thread listenUDPThread;
81 std::shared_ptr<TempWorld> temperatureWorld;
82 std::shared_ptr<IUpdater> temperatureWorldUpdater;
88 #endif //RECAST_SERVER_H
Main class in Recast Server.
Definition: Server.hpp:37
Definition: ITemperatureWorldChunkableObservable.hpp:42
bool isOP() const
Definition: Server.hpp:48
void onMessage(const std::string &msg)
Definition: Server.cpp:124
void initServer()
Definition: Server.cpp:62
bool shutdown()
Definition: Server.cpp:118
Definition: NetworkServer.hpp:21
Definition: Box2DWorld.h:26
Server * getServer()
Definition: Server.hpp:50
Definition: PlayersOnline.hpp:26
Player * getPlayer()
Definition: Server.hpp:52
ITemperatureWorldChunkableObservable< ITemperatureWorldChunkableGeneratable< ITemperatureWorldChunkableMutable< ITemperatureWorldChunkable< ITemperatureWorld > > > > TempWorld
Definition: Server.hpp:30
Networking server header file.
PlayersOnline * getPlayers() const
Definition: Server.hpp:60
Server()
Definition: Server.cpp:95
Definition: ICommandSender.hpp:12
std::shared_ptr< TempWorld > getTemperatureWorld() const
Definition: Server.hpp:64
~Server()
Definition: Server.cpp:128
bool isRunning() const
Definition: Server.hpp:58
Player class. XP, Life points and other.
Definition: Player.hpp:19
virtual Box2DWorld * getWorld()
Definition: Server.hpp:62