#include <ClientboundMapItemDataPacket.hpp>
|
| DEFINE_CONDITION (HasWidth, GetWidth() > 0) |
|
| SERIALIZED_FIELD (MapId, VarInt) |
|
| SERIALIZED_FIELD (Scale, char) |
|
| SERIALIZED_FIELD (Locked, bool) |
|
| SERIALIZED_FIELD (Decorations, std::optional< std::vector< MapDecoration > >) |
|
| SERIALIZED_FIELD (Width, unsigned char) |
|
| SERIALIZED_FIELD (Height, Internal::Conditioned< unsigned char, &THIS::HasWidth >) |
|
| SERIALIZED_FIELD (StartX, Internal::Conditioned< unsigned char, &THIS::HasWidth >) |
|
| SERIALIZED_FIELD (StartZ, Internal::Conditioned< unsigned char, &THIS::HasWidth >) |
|
| SERIALIZED_FIELD (MapColors, Internal::Conditioned< std::vector< unsigned char >, &THIS::HasWidth >) |
|
virtual | ~BaseMessage () override |
|
virtual int | GetId () const override |
|
virtual std::string_view | GetName () const override |
|
virtual | ~Message () |
|
virtual void | Write (WriteContainer &container) const override |
|
void | Dispatch (Handler *handler) |
|
virtual | ~NetworkType () |
|
virtual void | Read (ReadIterator &iter, size_t &length) |
|
virtual Json::Value | Serialize () const |
|
◆ DEFINE_CONDITION()
ProtocolCraft::ClientboundMapItemDataPacket::DEFINE_CONDITION |
( |
HasWidth |
, |
|
|
GetWidth() |
, |
|
|
0 |
|
|
) |
| |
◆ SERIALIZED_FIELD() [1/9]
ProtocolCraft::ClientboundMapItemDataPacket::SERIALIZED_FIELD |
( |
Decorations |
, |
|
|
std::optional< std::vector< MapDecoration > > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [2/9]
ProtocolCraft::ClientboundMapItemDataPacket::SERIALIZED_FIELD |
( |
Height |
, |
|
|
Internal::Conditioned< unsigned char, &THIS::HasWidth > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [3/9]
ProtocolCraft::ClientboundMapItemDataPacket::SERIALIZED_FIELD |
( |
Locked |
, |
|
|
bool |
|
|
) |
| |
◆ SERIALIZED_FIELD() [4/9]
ProtocolCraft::ClientboundMapItemDataPacket::SERIALIZED_FIELD |
( |
MapColors |
, |
|
|
Internal::Conditioned< std::vector< unsigned char >, &THIS::HasWidth > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [5/9]
ProtocolCraft::ClientboundMapItemDataPacket::SERIALIZED_FIELD |
( |
MapId |
, |
|
|
VarInt |
|
|
) |
| |
◆ SERIALIZED_FIELD() [6/9]
ProtocolCraft::ClientboundMapItemDataPacket::SERIALIZED_FIELD |
( |
Scale |
, |
|
|
char |
|
|
) |
| |
◆ SERIALIZED_FIELD() [7/9]
ProtocolCraft::ClientboundMapItemDataPacket::SERIALIZED_FIELD |
( |
StartX |
, |
|
|
Internal::Conditioned< unsigned char, &THIS::HasWidth > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [8/9]
ProtocolCraft::ClientboundMapItemDataPacket::SERIALIZED_FIELD |
( |
StartZ |
, |
|
|
Internal::Conditioned< unsigned char, &THIS::HasWidth > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [9/9]
ProtocolCraft::ClientboundMapItemDataPacket::SERIALIZED_FIELD |
( |
Width |
, |
|
|
unsigned char |
|
|
) |
| |
◆ DECLARE_READ_WRITE_SERIALIZE
ProtocolCraft::ClientboundMapItemDataPacket::DECLARE_READ_WRITE_SERIALIZE |
◆ packet_name
constexpr std::string_view ProtocolCraft::ClientboundMapItemDataPacket::packet_name = "Map Item Data" |
|
staticconstexpr |
The documentation for this class was generated from the following file: