#include <ClientboundSetPlayerTeamPacket.hpp>
|
| DEFINE_CONDITION (Method02, GetMethod()==0||GetMethod()==2) |
|
| DEFINE_CONDITION (Method034, GetMethod()==0||GetMethod()==3||GetMethod()==4) |
|
| SERIALIZED_FIELD (Name_, std::string) |
|
| SERIALIZED_FIELD (Method, char) |
|
| SERIALIZED_FIELD (DisplayName, Internal::Conditioned< Chat, &THIS::Method02 >) |
|
| SERIALIZED_FIELD (Options, Internal::Conditioned< char, &THIS::Method02 >) |
|
| SERIALIZED_FIELD (NametagVisibility, Internal::Conditioned< std::string, &THIS::Method02 >) |
|
| SERIALIZED_FIELD (CollisionRule, Internal::Conditioned< std::string, &THIS::Method02 >) |
|
| SERIALIZED_FIELD (Color, Internal::Conditioned< VarInt, &THIS::Method02 >) |
|
| SERIALIZED_FIELD (PlayerPrefix, Internal::Conditioned< Chat, &THIS::Method02 >) |
|
| SERIALIZED_FIELD (PlayerSuffix, Internal::Conditioned< Chat, &THIS::Method02 >) |
|
| SERIALIZED_FIELD (Players, Internal::Conditioned< std::vector< std::string >, &THIS::Method034 >) |
|
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 |
|
|
static constexpr std::string_view | packet_name = "Set Player Team" |
|
◆ DEFINE_CONDITION() [1/2]
ProtocolCraft::ClientboundSetPlayerTeamPacket::DEFINE_CONDITION |
( |
Method02 |
, |
|
|
GetMethod() |
= =0||GetMethod()==2 |
|
) |
| |
◆ DEFINE_CONDITION() [2/2]
ProtocolCraft::ClientboundSetPlayerTeamPacket::DEFINE_CONDITION |
( |
Method034 |
, |
|
|
GetMethod() |
= =0||GetMethod()==3||GetMethod()==4 |
|
) |
| |
◆ SERIALIZED_FIELD() [1/10]
ProtocolCraft::ClientboundSetPlayerTeamPacket::SERIALIZED_FIELD |
( |
CollisionRule |
, |
|
|
Internal::Conditioned< std::string, &THIS::Method02 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [2/10]
◆ SERIALIZED_FIELD() [3/10]
ProtocolCraft::ClientboundSetPlayerTeamPacket::SERIALIZED_FIELD |
( |
DisplayName |
, |
|
|
Internal::Conditioned< Chat, &THIS::Method02 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [4/10]
ProtocolCraft::ClientboundSetPlayerTeamPacket::SERIALIZED_FIELD |
( |
Method |
, |
|
|
char |
|
|
) |
| |
◆ SERIALIZED_FIELD() [5/10]
ProtocolCraft::ClientboundSetPlayerTeamPacket::SERIALIZED_FIELD |
( |
Name_ |
, |
|
|
std::string |
|
|
) |
| |
◆ SERIALIZED_FIELD() [6/10]
ProtocolCraft::ClientboundSetPlayerTeamPacket::SERIALIZED_FIELD |
( |
NametagVisibility |
, |
|
|
Internal::Conditioned< std::string, &THIS::Method02 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [7/10]
ProtocolCraft::ClientboundSetPlayerTeamPacket::SERIALIZED_FIELD |
( |
Options |
, |
|
|
Internal::Conditioned< char, &THIS::Method02 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [8/10]
ProtocolCraft::ClientboundSetPlayerTeamPacket::SERIALIZED_FIELD |
( |
PlayerPrefix |
, |
|
|
Internal::Conditioned< Chat, &THIS::Method02 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [9/10]
ProtocolCraft::ClientboundSetPlayerTeamPacket::SERIALIZED_FIELD |
( |
Players |
, |
|
|
Internal::Conditioned< std::vector< std::string >, &THIS::Method034 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [10/10]
ProtocolCraft::ClientboundSetPlayerTeamPacket::SERIALIZED_FIELD |
( |
PlayerSuffix |
, |
|
|
Internal::Conditioned< Chat, &THIS::Method02 > |
|
|
) |
| |
◆ DECLARE_READ_WRITE_SERIALIZE
ProtocolCraft::ClientboundSetPlayerTeamPacket::DECLARE_READ_WRITE_SERIALIZE |
◆ packet_name
constexpr std::string_view ProtocolCraft::ClientboundSetPlayerTeamPacket::packet_name = "Set Player Team" |
|
staticconstexpr |
The documentation for this class was generated from the following file: