|
Botcraft 1.21.10
|
#include <ServerboundMovePlayerPacketRot.hpp>
Public Member Functions | |
| SERIALIZED_FIELD (YRot, float) | |
| SERIALIZED_FIELD (XRot, float) | |
| SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (Flags, std::bitset< 2 >) | |
| bool | GetOnGround () const |
| bool | GetHorizontalCollision () const |
| THIS & | SetOnGround (const bool b) |
| THIS & | SetHorizontalCollision (const bool b) |
Public Member Functions inherited from ProtocolCraft::BasePacket< ServerboundMovePlayerPacketRot > | |
| virtual | ~BasePacket () override |
| virtual int | GetId () const override |
| virtual std::string_view | GetName () const override |
Public Member Functions inherited from ProtocolCraft::Packet | |
| virtual | ~Packet () |
| virtual void | Write (WriteContainer &container) const override |
| void | Dispatch (Handler *handler) |
Public Member Functions inherited from ProtocolCraft::NetworkType | |
| virtual | ~NetworkType () |
| virtual void | Read (ReadIterator &iter, size_t &length) |
| virtual Json::Value | Serialize () const |
Public Attributes | |
| DECLARE_READ_WRITE_SERIALIZE | |
Static Public Attributes | |
| static constexpr std::string_view | packet_name = "Move Player Rot" |
Additional Inherited Members | |
Protected Types inherited from ProtocolCraft::BasePacket< ServerboundMovePlayerPacketRot > | |
| using | THIS = ServerboundMovePlayerPacketRot |
Protected Member Functions inherited from ProtocolCraft::BasePacket< ServerboundMovePlayerPacketRot > | |
| virtual void | DispatchImpl (Handler *handler) override |
Protected Member Functions inherited from ProtocolCraft::NetworkType | |
| virtual void | ReadImpl (ReadIterator &iter, size_t &length)=0 |
| virtual void | WriteImpl (WriteContainer &container) const =0 |
| virtual Json::Value | SerializeImpl () const =0 |
Definition at line 7 of file ServerboundMovePlayerPacketRot.hpp.
|
inline |
Definition at line 21 of file ServerboundMovePlayerPacketRot.hpp.
|
inline |
Definition at line 20 of file ServerboundMovePlayerPacketRot.hpp.
| ProtocolCraft::ServerboundMovePlayerPacketRot::SERIALIZED_FIELD | ( | XRot | , |
| float | |||
| ) |
| ProtocolCraft::ServerboundMovePlayerPacketRot::SERIALIZED_FIELD | ( | YRot | , |
| float | |||
| ) |
| ProtocolCraft::ServerboundMovePlayerPacketRot::SERIALIZED_FIELD_WITHOUT_GETTER_SETTER | ( | Flags | , |
| std::bitset< 2 > | |||
| ) |
|
inline |
Definition at line 23 of file ServerboundMovePlayerPacketRot.hpp.
|
inline |
Definition at line 22 of file ServerboundMovePlayerPacketRot.hpp.
| ProtocolCraft::ServerboundMovePlayerPacketRot::DECLARE_READ_WRITE_SERIALIZE |
Definition at line 26 of file ServerboundMovePlayerPacketRot.hpp.
|
staticconstexpr |
Definition at line 10 of file ServerboundMovePlayerPacketRot.hpp.