WIP added an event to become a server. changed xml file.

This commit is contained in:
stiffly
2016-03-10 14:12:08 +01:00
parent 28de31d84d
commit d7f166b8ae
7 changed files with 6188 additions and 6027 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifndef Events_BecomeServer_h__
#define Events_BecomeServer_h__
#include "Core/EventBroker.h"
namespace Events
{
struct BecomeServer : public Event { };
}
#endif
+2
View File
@@ -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
+1
View File
@@ -14,6 +14,7 @@
#include "Input/EInputCommand.h"
#include "Network/ESearchForServers.h"
#include "Network/EConnectRequest.h"
#include "Network/EBecomeServer.h"
class MainMenuSystem : public ImpureSystem