Botcraft
1.21.5
Loading...
Searching...
No Matches
ClientboundAddExperienceOrbPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION < 770
/* < 1.21.5 */
2
#pragma once
3
4
#include "
protocolCraft/BasePacket.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ClientboundAddExperienceOrbPacket :
public
BasePacket<ClientboundAddExperienceOrbPacket>
9
{
10
public
:
11
static
constexpr
std::string_view packet_name =
"Add Experience Orb"
;
12
13
SERIALIZED_FIELD
(EntityId, VarInt);
14
SERIALIZED_FIELD
(X,
double
);
15
SERIALIZED_FIELD
(Y,
double
);
16
SERIALIZED_FIELD
(Z,
double
);
17
SERIALIZED_FIELD
(Value,
short
);
18
19
DECLARE_READ_WRITE_SERIALIZE
;
20
};
21
}
//ProtocolCraft
22
#endif
DECLARE_READ_WRITE_SERIALIZE
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
Definition
AutoSerializedMacros.hpp:123
SERIALIZED_FIELD
#define SERIALIZED_FIELD(Name,...)
Definition
AutoSerializedMacros.hpp:77
BasePacket.hpp
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Packets
Game
Clientbound
ClientboundAddExperienceOrbPacket.hpp
Generated by
1.9.8