summaryrefslogtreecommitdiffstats
path: root/src/Event.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-10-09 18:39:48 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:32 +0100
commita81bcb1942ddad5989115061338e72211443e633 (patch)
treecb1cc6feadb7dfb49f96cbc9b2a4f2bfb9ad8488 /src/Event.hpp
parent2017-10-07 (diff)
downloadAltCraft-a81bcb1942ddad5989115061338e72211443e633.tar
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.gz
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.bz2
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.lz
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.xz
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.zst
AltCraft-a81bcb1942ddad5989115061338e72211443e633.zip
Diffstat (limited to '')
-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 {