Servers now show up in the server list.

This commit is contained in:
Tleety
2016-03-08 18:13:21 +01:00
parent 280de0e984
commit 3394d65055
8 changed files with 80 additions and 15 deletions
+4 -2
View File
@@ -6,8 +6,10 @@
#include "Core/ResourceManager.h"
#include "Core/Event.h"
#include "Systems/SpawnerSystem.h"
#include "Core/EventBroker.h"
#include "Network/ESearchForServers.h"
#include "Network/EDisplayServerlist.h"
class ServerListSystem : public PureSystem
{
@@ -20,8 +22,8 @@ public:
private:
IRenderer* m_Renderer;
//EventRelay<ServerListSystem, Events::SomeEventLol> m_EServerListRecieved;
//bool OnServerListRecieved(const Events::SomeEventLol& e)
EventRelay<ServerListSystem, Events::DisplayServerlist> m_EServerListRecieved;
bool OnServerListRecieved(const Events::DisplayServerlist& e);
};
#endif