summaryrefslogtreecommitdiffstats
path: root/src/packet/PacketBuilder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/packet/PacketBuilder.hpp')
-rw-r--r--src/packet/PacketBuilder.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/packet/PacketBuilder.hpp b/src/packet/PacketBuilder.hpp
new file mode 100644
index 0000000..2fcb737
--- /dev/null
+++ b/src/packet/PacketBuilder.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+
+#include "Packet.hpp"
+
+class PacketBuilder {
+public:
+ static Packet CHandshaking0x00(int protocolVerison, std::string address, unsigned short port, int nextState);
+ static Packet CPlay0x0B(int keepAliveId);
+
+ static Packet CPlay0x03(int actionId);
+
+ static Packet CPlay0x00(int teleportId);
+
+ static Packet CPlay0x0D(double x, double y, double z, float yaw, float pitch, bool onGround);
+};
+