PlayerMovementSettings
Table of Contents
-
$movementType
: int
-
$rewindHistorySize
: int
-
$serverAuthoritativeBlockBreaking
: bool
-
__construct()
: mixed
-
getMovementType()
: int
-
getRewindHistorySize()
: int
-
isServerAuthoritativeBlockBreaking()
: bool
-
read()
: self
-
write()
: void
$movementType
private
int
$movementType
$rewindHistorySize
private
int
$rewindHistorySize
$serverAuthoritativeBlockBreaking
private
bool
$serverAuthoritativeBlockBreaking
__construct()
public
__construct(int $movementType, int $rewindHistorySize, bool $serverAuthoritativeBlockBreaking) : mixed
Parameters
-
$movementType
: int
-
-
$rewindHistorySize
: int
-
-
$serverAuthoritativeBlockBreaking
: bool
-
Return values
mixed
—
getMovementType()
public
getMovementType() : int
Return values
int
—
getRewindHistorySize()
public
getRewindHistorySize() : int
Return values
int
—
isServerAuthoritativeBlockBreaking()
public
isServerAuthoritativeBlockBreaking() : bool
Return values
bool
—
read()
public
static read(PacketSerializer $in) : self
Parameters
-
$in
: PacketSerializer
-
Return values
self
—
write()
public
write(PacketSerializer $out) : void
Parameters
-
$out
: PacketSerializer
-
Return values
void
—