summaryrefslogtreecommitdiffstats
path: root/src/Event.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-17 17:11:52 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-17 17:11:52 +0200
commitc71fd5f2312bc70eec960c2785bf26d73334d6c3 (patch)
treea2552e127d69db6385cf84846b74c70c646f88f1 /src/Event.hpp
parent2017-08-16 (diff)
downloadAltCraft-c71fd5f2312bc70eec960c2785bf26d73334d6c3.tar
AltCraft-c71fd5f2312bc70eec960c2785bf26d73334d6c3.tar.gz
AltCraft-c71fd5f2312bc70eec960c2785bf26d73334d6c3.tar.bz2
AltCraft-c71fd5f2312bc70eec960c2785bf26d73334d6c3.tar.lz
AltCraft-c71fd5f2312bc70eec960c2785bf26d73334d6c3.tar.xz
AltCraft-c71fd5f2312bc70eec960c2785bf26d73334d6c3.tar.zst
AltCraft-c71fd5f2312bc70eec960c2785bf26d73334d6c3.zip
Diffstat (limited to '')
-rw-r--r--src/Event.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Event.hpp b/src/Event.hpp
index f07ed57..23cc58c 100644
--- a/src/Event.hpp
+++ b/src/Event.hpp
@@ -39,6 +39,7 @@ enum class EventType {
PlayerPosChanged,
DeleteSectionRender,
EntityChanged,
+ NewRenderDataAvailable,
};
struct EchoData {
@@ -150,12 +151,16 @@ struct EntityChangedData {
unsigned int EntityId;
};
+struct NewRenderDataAvailableData {
+
+};
+
using EventData = std::variant<EchoData, ChunkChangedData, ConnectToServerData, ConnectionSuccessfullData,
DisconnectData, SendPacketData, ReceivePacketData, RequestNetworkClientData, RegisterNetworkClientData,
PlayerConnectedData, RemoveLoadingScreenData, ConnectionFailedData, ExitData, DisconnectedData,
ConnectingData, NetworkClientExceptionData, MouseMovedData, KeyPressedData, KeyReleasedData,
InitalizeSectionRenderData, CreateSectionRenderData, CreatedSectionRenderData, PlayerPosChangedData,
- UpdateSectionsRenderData, DeleteSectionRenderData, EntityChangedData>;
+ UpdateSectionsRenderData, DeleteSectionRenderData, EntityChangedData,NewRenderDataAvailableData>;
struct Event {
EventType type;