diff options
Diffstat (limited to '')
-rw-r--r-- | PacketBuilder.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/PacketBuilder.hpp b/PacketBuilder.hpp new file mode 100644 index 0000000..2fcb737 --- /dev/null +++ b/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); +}; + |