#include <ServerboundInteractPacket.hpp>
|
| DEFINE_CONDITION (Action2, GetAction()==2) |
|
| DEFINE_CONDITION (Action0_2, GetAction()==0||GetAction()==2) |
|
| SERIALIZED_FIELD (EntityId, VarInt) |
|
| SERIALIZED_FIELD (Action, VarInt) |
|
| SERIALIZED_FIELD (LocationX, Internal::Conditioned< float, &THIS::Action2 >) |
|
| SERIALIZED_FIELD (LocationY, Internal::Conditioned< float, &THIS::Action2 >) |
|
| SERIALIZED_FIELD (LocationZ, Internal::Conditioned< float, &THIS::Action2 >) |
|
| SERIALIZED_FIELD (Hand, Internal::Conditioned< VarInt, &THIS::Action0_2 >) |
|
| SERIALIZED_FIELD (UsingSecondaryAction, bool) |
|
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 = "Interact" |
|
◆ DEFINE_CONDITION() [1/2]
ProtocolCraft::ServerboundInteractPacket::DEFINE_CONDITION |
( |
Action0_2 |
, |
|
|
GetAction() |
= =0||GetAction()==2 |
|
) |
| |
◆ DEFINE_CONDITION() [2/2]
ProtocolCraft::ServerboundInteractPacket::DEFINE_CONDITION |
( |
Action2 |
, |
|
|
GetAction() |
= =2 |
|
) |
| |
◆ SERIALIZED_FIELD() [1/7]
ProtocolCraft::ServerboundInteractPacket::SERIALIZED_FIELD |
( |
Action |
, |
|
|
VarInt |
|
|
) |
| |
◆ SERIALIZED_FIELD() [2/7]
ProtocolCraft::ServerboundInteractPacket::SERIALIZED_FIELD |
( |
EntityId |
, |
|
|
VarInt |
|
|
) |
| |
◆ SERIALIZED_FIELD() [3/7]
◆ SERIALIZED_FIELD() [4/7]
ProtocolCraft::ServerboundInteractPacket::SERIALIZED_FIELD |
( |
LocationX |
, |
|
|
Internal::Conditioned< float, &THIS::Action2 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [5/7]
ProtocolCraft::ServerboundInteractPacket::SERIALIZED_FIELD |
( |
LocationY |
, |
|
|
Internal::Conditioned< float, &THIS::Action2 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [6/7]
ProtocolCraft::ServerboundInteractPacket::SERIALIZED_FIELD |
( |
LocationZ |
, |
|
|
Internal::Conditioned< float, &THIS::Action2 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [7/7]
ProtocolCraft::ServerboundInteractPacket::SERIALIZED_FIELD |
( |
UsingSecondaryAction |
, |
|
|
bool |
|
|
) |
| |
◆ DECLARE_READ_WRITE_SERIALIZE
ProtocolCraft::ServerboundInteractPacket::DECLARE_READ_WRITE_SERIALIZE |
◆ packet_name
constexpr std::string_view ProtocolCraft::ServerboundInteractPacket::packet_name = "Interact" |
|
staticconstexpr |
The documentation for this class was generated from the following file: