WIP connect from menu

This commit is contained in:
stiffly
2016-03-09 14:33:20 +01:00
parent 67ccb5bee5
commit 09171a1a18
8 changed files with 31 additions and 8 deletions
+3
View File
@@ -30,6 +30,7 @@
#include "Network/ESearchForServers.h"
#include "../Game/Events/EDashAbility.h"
#include "Network/EDisplayServerlist.h"
#include "Network/EConnectRequest.h"
class Client : public Network
{
@@ -128,6 +129,8 @@ private:
bool OnDoubleJump(Events::DoubleJump & e);
EventRelay<Client, Events::DashAbility> m_EDashAbility;
bool OnDashAbility(const Events::DashAbility& e);
EventRelay<Client, Events::ConnectRequest> m_EConnectRequest;
bool OnConnectRequest(const Events::ConnectRequest& e);
bool OnSearchForServers(const Events::SearchForServers& e);
UDPClient m_ServerlistRequest;