summaryrefslogtreecommitdiffstats
path: root/src/Event.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Event.hpp')
-rw-r--r--src/Event.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Event.hpp b/src/Event.hpp
index 569be00..9ee445a 100644
--- a/src/Event.hpp
+++ b/src/Event.hpp
@@ -54,14 +54,12 @@ struct ChunkChangedData {
};
struct ConnectToServerData {
+ std::string username;
std::string address;
unsigned short port;
};
-class NetworkClient;
-
struct ConnectionSuccessfullData {
- std::shared_ptr<NetworkClient> ptr;
};
struct DisconnectData {
@@ -81,13 +79,9 @@ struct RequestNetworkClientData {
};
struct RegisterNetworkClientData {
- NetworkClient *ptr;
};
-class GameState;
-
struct PlayerConnectedData {
- std::shared_ptr<GameState> ptr;
};
struct RemoveLoadingScreenData {