Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PlayerLocationSender Class Reference

Classes

struct  ActorUniqueIDCompare
struct  ActorUniqueIDPairCompare
struct  PlayerLocationData

Public Types

using OptionalPosition = ::std::optional<::Vec3>

Public Member Functions

MCAPI void _forEachClientPlayerPair (::std::vector<::WeakEntityRef > const &gameplayUsers, ::std::function< void(::UserEntityIdentifierComponent const &, ::Player const &, ::Player const &)> action)
MCAPI bool _shouldSendPositionPacket (::Vec3 const &viewingPlayerPosition, ::DimensionType const &viewingPlayerDimension, bool viewingPlayerIsSpectator, ::std::optional<::Vec3 > const &observedPlayerPosPrev, ::PlayerLocationSender::PlayerLocationData const &observedPlayerPositionNew) const
MCAPI void _updatePlayerData (::Player const &player)

Static Public Member Functions

static MCAPI ::PlayerLocationSender::PlayerLocationData const & NULL_PLAYER_LOCATION_DATA ()

Public Attributes

::ll::TypedStorage< 8, 48, ::brstd::flat_map< ::ActorUniqueID, ::PlayerLocationSender::PlayerLocationData, ::PlayerLocationSender::ActorUniqueIDCompare, ::std::vector<::ActorUniqueID >, ::std::vector<::PlayerLocationSender::PlayerLocationData > > > mCurrentPlayerLocationData
::ll::TypedStorage< 8, 48, ::brstd::flat_map< ::std::pair<::ActorUniqueID, ::ActorUniqueID >, ::std::optional<::Vec3 >, ::PlayerLocationSender::ActorUniqueIDPairCompare, ::std::vector<::std::pair<::ActorUniqueID, ::ActorUniqueID > >, ::std::vector<::std::optional<::Vec3 > > > > mSentPlayerData
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::PacketSender > > mPacketSender
::ll::TypedStorage< 4, 4, float > mSimulationDistance

Member Function Documentation

◆ _forEachClientPlayerPair()

MCAPI void PlayerLocationSender::_forEachClientPlayerPair ( ::std::vector<::WeakEntityRef > const & gameplayUsers,
::std::function< void(::UserEntityIdentifierComponent const &, ::Player const &, ::Player const &)> action )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _updatePlayerData()

MCAPI void PlayerLocationSender::_updatePlayerData ( ::Player const & player)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ NULL_PLAYER_LOCATION_DATA()

MCAPI ::PlayerLocationSender::PlayerLocationData const & PlayerLocationSender::NULL_PLAYER_LOCATION_DATA ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: