#include <ClientboundPlayerInfoUpdatePacket.hpp>
|
static constexpr std::string_view | packet_name = "Player Info Update" |
|
|
std::vector< PlayerInfoUpdateAction > | ReadActions (ReadIterator &iter, size_t &length) const |
|
void | WriteActions (const std::vector< PlayerInfoUpdateAction > &actions, WriteContainer &container) const |
|
std::map< UUID, PlayerInfoUpdateEntry > | ReadEntries (ReadIterator &iter, size_t &length) const |
|
void | WriteEntries (const std::map< UUID, PlayerInfoUpdateEntry > &entries, WriteContainer &container) const |
|
std::optional< Json::Value > | SerializeEntries (const std::map< UUID, PlayerInfoUpdateEntry > &entries) const |
|
| SERIALIZED_FIELD (Actions, Internal::CustomType< std::vector< PlayerInfoUpdateAction >, &THIS::ReadActions, &THIS::WriteActions >) |
|
| SERIALIZED_FIELD (Entries, Internal::CustomType< std::map< UUID, PlayerInfoUpdateEntry >, &THIS::ReadEntries, &THIS::WriteEntries, &THIS::SerializeEntries >) |
|
◆ ReadActions()
◆ ReadEntries()
Definition at line 88 of file ClientboundPlayerInfoUpdatePacket.hpp.
References ProtocolCraft::AddPlayer, ProtocolCraft::PlayerInfoUpdateEntry::chat_session, ProtocolCraft::PlayerInfoUpdateEntry::display_name, ProtocolCraft::PlayerInfoUpdateEntry::game_mode, ProtocolCraft::PlayerInfoUpdateEntry::game_profile, ProtocolCraft::InitializeChat, ProtocolCraft::PlayerInfoUpdateEntry::latency, ProtocolCraft::PlayerInfoUpdateEntry::list_order, ProtocolCraft::PlayerInfoUpdateEntry::listed, ProtocolCraft::ReadData(), ProtocolCraft::PlayerInfoUpdateEntry::show_hat, ProtocolCraft::UpdateDisplayName, ProtocolCraft::UpdateGameMode, ProtocolCraft::UpdateHat, ProtocolCraft::UpdateLatency, ProtocolCraft::UpdateListed, and ProtocolCraft::UpdateListOrder.
◆ SERIALIZED_FIELD() [1/2]
◆ SERIALIZED_FIELD() [2/2]
◆ SerializeEntries()
◆ WriteActions()
◆ WriteEntries()
◆ DECLARE_READ_WRITE_SERIALIZE
ProtocolCraft::ClientboundPlayerInfoUpdatePacket::DECLARE_READ_WRITE_SERIALIZE |
|
private |
◆ packet_name
constexpr std::string_view ProtocolCraft::ClientboundPlayerInfoUpdatePacket::packet_name = "Player Info Update" |
|
staticconstexpr |
The documentation for this class was generated from the following file: