__construct(private Server $server, private NetworkSessionManager $manager, private PacketPool $packetPool, private PacketSender $sender, private PacketBroadcaster $broadcaster, private EntityEventBroadcaster $entityEventBroadcaster, private Compressor $compressor, private TypeConverter $typeConverter, private string $ip, private int $port) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
addToSendBuffer(string $buffer) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
createPlayer() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | protected |
disconnect(Translatable|string $reason, Translatable|string|null $disconnectScreenMessage=null, bool $notify=true) | pocketmine\network\mcpe\NetworkSession | |
disconnectIncompatibleProtocol(int $protocolVersion) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
disconnectWithError(Translatable|string $reason, Translatable|string|null $disconnectScreenMessage=null) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
encodePacketTimed(PacketSerializer $serializer, ClientboundPacket $packet) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | static |
getBroadcaster() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getCompressor() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getDisplayName() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getEntityEventBroadcaster() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getHandler() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getInvManager() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getIp() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getLogger() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getPing() | pocketmine\network\mcpe\NetworkSession | |
getPlayer() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getPlayerInfo() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getPort() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
getTypeConverter() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
handleAckReceipt(int $receiptId) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
handleDataPacket(Packet $packet, string $buffer) | pocketmine\network\mcpe\NetworkSession | |
handleEncoded(string $payload) | pocketmine\network\mcpe\NetworkSession | |
isConnected() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
notifyTerrainReady() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onActionBar(string $actionBar) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onChatMessage(Translatable|string $message) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onClearTitle() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onClientDisconnect(Translatable|string $reason) | pocketmine\network\mcpe\NetworkSession | |
onCloseAllForms() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onEnterWorld() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onFormSent(int $id, Form $form) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onItemCooldownChanged(Item $item, int $ticks) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onJukeboxPopup(Translatable|string $message) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onOpenSignEditor(Vector3 $signPosition, bool $frontSide) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onPlayerAdded(Player $p) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onPlayerDestroyed(Translatable|string $reason, Translatable|string $disconnectScreenMessage) | pocketmine\network\mcpe\NetworkSession | |
onPlayerRemoved(Player $p) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onPopup(string $message) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onResetTitleOptions() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onServerDeath(Translatable|string $deathMessage) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onServerRespawn() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onSubTitle(string $subtitle) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onTip(string $message) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onTitle(string $title) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onTitleDuration(int $fadeIn, int $stay, int $fadeOut) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
onToastNotification(string $title, string $body) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
prepareClientTranslatableMessage(Translatable $message) | pocketmine\network\mcpe\NetworkSession | |
queueCompressed(CompressBatchPromise|string $payload, bool $immediate=false) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
sendDataPacket(ClientboundPacket $packet, bool $immediate=false) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
sendDataPacketWithReceipt(ClientboundPacket $packet, bool $immediate=false) | pocketmine\network\mcpe\NetworkSession | |
setHandler(?PacketHandler $handler) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
startUsingChunk(int $chunkX, int $chunkZ, \Closure $onCompletion) | pocketmine\network\mcpe\NetworkSession | |
stopUsingChunk(int $chunkX, int $chunkZ) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncAbilities(Player $for) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncAdventureSettings() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncAvailableCommands() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncGameMode(GameMode $mode, bool $isRollback=false) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncMovement(Vector3 $pos, ?float $yaw=null, ?float $pitch=null, int $mode=MovePlayerPacket::MODE_NORMAL) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncPlayerList(array $players) | pocketmine\network\mcpe\NetworkSession | |
syncPlayerSpawnPoint(Position $newSpawn) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncViewAreaCenterPoint(Vector3 $newPos, int $viewDistance) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncViewAreaRadius(int $distance) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncWorldDifficulty(int $worldDifficulty) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncWorldSpawnPoint(Position $newSpawn) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
syncWorldTime(int $worldTime) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
tick() (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |
transfer(string $ip, int $port, Translatable|string|null $reason=null) | pocketmine\network\mcpe\NetworkSession | |
updatePing(int $ping) (defined in pocketmine\network\mcpe\NetworkSession) | pocketmine\network\mcpe\NetworkSession | |