$compression_threshold | Phpcraft\Connection | |
$leniency | Phpcraft\Connection | |
$lenient | Phpcraft\Connection | |
$pos | Phpcraft\ServerConnection | |
$pow2 | Phpcraft\Connection | static |
$protocol_version | Phpcraft\Connection | |
$read_buffer | Phpcraft\Connection | |
$read_buffer_offset | Phpcraft\Connection | |
$state | Phpcraft\Connection | |
$stream | Phpcraft\Connection | |
$username | Phpcraft\ServerConnection | |
$uuid | Phpcraft\ServerConnection | |
$write_buffer | Phpcraft\Connection | |
$zero | Phpcraft\Connection | static |
__construct($stream, int $protocol_version) | Phpcraft\ServerConnection | |
Phpcraft::Connection::__construct(int $protocol_version=-1, $stream=null) | Phpcraft\Connection | |
close() | Phpcraft\Connection | |
connect(string $hostname, int $port, ?int $protocol_version=null, ?int $handshake_next_state=null, float $timeout=3.000) | Phpcraft\ServerConnection | static |
getName() | Phpcraft\ServerConnection | |
getPosition() | Phpcraft\ServerConnection | |
getRemainingData() | Phpcraft\Connection | |
getRemoteAddress() | Phpcraft\Connection | |
getServer() | Phpcraft\ServerConnection | |
getStatus(string $hostname, int $port=25565, float $timeout=3.000, int $method=ServerConnection::METHOD_ALL) | Phpcraft\ServerConnection | static |
hasPermission(string $permission) | Phpcraft\ServerConnection | |
hasPosition() | Phpcraft\ServerConnection | |
hasRemainingData() | Phpcraft\Connection | |
hasServer() | Phpcraft\ServerConnection | |
ignoreBytes(int $bytes) | Phpcraft\Connection | |
isOpen() | Phpcraft\Connection | |
LENIENCY_LENIENT | Phpcraft\Connection | |
LENIENCY_STRICT | Phpcraft\Connection | |
LENIENCY_VANILLA | Phpcraft\Connection | |
login(Account $account) | Phpcraft\ServerConnection | |
METHOD_ALL | Phpcraft\ServerConnection | |
METHOD_LEGACY | Phpcraft\ServerConnection | |
METHOD_MODERN | Phpcraft\ServerConnection | |
negotiateProtocolVersion(string $hostname, int $port, float $timeout=3.000) | Phpcraft\ServerConnection | static |
readAngle() | Phpcraft\Connection | |
readBoolean() | Phpcraft\Connection | |
readByte() | Phpcraft\Connection | |
readChat() | Phpcraft\Connection | |
readDouble() | Phpcraft\Connection | |
readFixedPointPosition() | Phpcraft\Connection | |
readFloat() | Phpcraft\Connection | |
readGMP(int $bytes, int $bits, bool $signed, int $gmp_import_options=GMP_MSW_FIRST|GMP_BIG_ENDIAN) | Phpcraft\Connection | |
readInt() | Phpcraft\Connection | |
readLong() | Phpcraft\Connection | |
readNBT(int $type=0) | Phpcraft\Connection | |
readPacket(float $timeout=3.000) | Phpcraft\Connection | |
readPosition() | Phpcraft\Connection | |
readPrecisePosition() | Phpcraft\Connection | |
readRaw(int $bytes) | Phpcraft\Connection | |
readRawPacket(float $timeout=3.000, int $bytes=0) | Phpcraft\Connection | |
readShort() | Phpcraft\Connection | |
readSlot(bool $additional_processing=true) | Phpcraft\Connection | |
readString(int $maxLength=32767, int $minLength=-1) | Phpcraft\Connection | |
readUnsignedByte() | Phpcraft\Connection | |
readUnsignedShort() | Phpcraft\Connection | |
readUUID() | Phpcraft\Connection | |
readVarInt() | Phpcraft\Connection | |
resolveAddress(string $address) | Phpcraft\ServerConnection | static |
send(bool $raw=false) | Phpcraft\Connection | |
sendAdminBroadcast($message, string $permission="everything") | Phpcraft\ServerConnection | |
sendHandshake(string $hostname, int $port, int $next_state, array $join_specs=[]) | Phpcraft\ServerConnection | |
sendMessage($message) | Phpcraft\ServerConnection | |
setReadBuffer(string $buffer) | Phpcraft\Connection | |
startPacket($packet) | Phpcraft\ServerConnection | |
STATE_HANDSHAKE | Phpcraft\Connection | |
STATE_LOGIN | Phpcraft\Connection | |
STATE_PLAY | Phpcraft\Connection | |
STATE_STATUS | Phpcraft\Connection | |
toAddress(string $address, ?int $protocol_version=null, ?int $handshake_next_state=null, float $timeout=3.000) | Phpcraft\ServerConnection | static |
varInt($value) | Phpcraft\Connection | static |
writeAngle(float $value) | Phpcraft\Connection | |
writeBoolean(bool $value) | Phpcraft\Connection | |
writeByte(int $value) | Phpcraft\Connection | |
writeChat(ChatComponent $value) | Phpcraft\Connection | |
writeDouble(float $value) | Phpcraft\Connection | |
writeFixedPointPosition(Point3D $pos) | Phpcraft\Connection | |
writeFloat(float $value) | Phpcraft\Connection | |
writeGMP($value, int $bytes, int $bits, bool $signed, int $gmp_export_options=GMP_MSW_FIRST|GMP_BIG_ENDIAN) | Phpcraft\Connection | |
writeInt($value) | Phpcraft\Connection | |
writeLong($value) | Phpcraft\Connection | |
writePosition(Point3D $pos) | Phpcraft\Connection | |
writePrecisePosition(Point3D $pos) | Phpcraft\Connection | |
writeRaw(string $value) | Phpcraft\Connection | |
writeShort($value) | Phpcraft\Connection | |
writeSlot(Slot $slot) | Phpcraft\Connection | |
writeString(string $value) | Phpcraft\Connection | |
writeUnsignedByte(int $value) | Phpcraft\Connection | |
writeUnsignedShort($value) | Phpcraft\Connection | |
writeUUID(UUID $uuid) | Phpcraft\Connection | |
writeVarInt($value) | Phpcraft\Connection | |