41 MCAPI
static int& DEFAULT_DROP_PACKET_CHANCE();
43 MCAPI
static int& DEFAULT_SEND_EVERY_N_PACKETS();
89 MCAPI ::std::vector<::NetworkIdentifierWithSubId> _findRelevantPlayersToSendUpdate();
91 MCAPI uint64 _getOptimizationScore(
::Player& player)
const;
93 MCAPI
void _initializeLastSentValues();
95 MCAPI
bool _shouldUpdateBasedOptimizationOnScore(
::Player& player)
const;
99 MCAPI
void sendUpdate(
bool forceTeleport,
bool forceMoveLocalEntity,
bool forceAbsoluteMovement);
101 MCAPI
bool shouldSendMotionPredictionHintsPacket()
const;
103 MCAPI
bool shouldSendUpdate(
bool forceTeleport,
bool forceMoveLocalEntity)
const;
105 MCAPI
void teleportEntity(
::Vec3 const& pos,
::Vec2 const& rot,
float yHeadRot);
111 MCAPI static ::SpatialActorNetworkData::DebugSendRateModifiers& mDebugSendRateModifiers();
113 MCAPI static ::SpatialActorNetworkData::DebugSpatialPacketModifiers& mDebugSpatialPacketModifiers();