WIP added an event to become a server. changed xml file.
This commit is contained in:
@@ -70,6 +70,8 @@ private:
|
||||
bool m_IsServer = false;
|
||||
|
||||
int parseArgs(int argc, char* argv[]);
|
||||
EventRelay<Game, Events::BecomeServer> m_EBecomeServer;
|
||||
bool OnBecomeServer(const Events::BecomeServer& e);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "Input/EInputCommand.h"
|
||||
#include "Network/ESearchForServers.h"
|
||||
#include "Network/EConnectRequest.h"
|
||||
#include "Network/EBecomeServer.h"
|
||||
|
||||
|
||||
class MainMenuSystem : public ImpureSystem
|
||||
|
||||
Reference in New Issue
Block a user