Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundSetExperiencePacket.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace ProtocolCraft
6{
7 class ClientboundSetExperiencePacket : public BaseMessage<ClientboundSetExperiencePacket>
8 {
9 public:
10 static constexpr std::string_view packet_name = "Set Experience";
11
12 SERIALIZED_FIELD(ExperienceProgress, float);
13 SERIALIZED_FIELD(ExperienceLevel, VarInt);
14 SERIALIZED_FIELD(TotalExperience, VarInt);
15
17 };
18} //ProtocolCraft
SERIALIZED_FIELD(ExperienceProgress, float)