UpdateSubChunkBlocksPacketEntry
in package
Table of Contents
- $blockPosition : BlockPosition
- $blockRuntimeId : int
- $flags : int
- $syncedUpdateActorUniqueId : int
- $syncedUpdateType : int
- __construct() : mixed
- getBlockPosition() : BlockPosition
- getBlockRuntimeId() : int
- getFlags() : int
- getSyncedUpdateActorUniqueId() : int
- getSyncedUpdateType() : int
- read() : self
- simple() : self
- write() : void
Properties
$blockPosition
private
BlockPosition
$blockPosition
$blockRuntimeId
private
int
$blockRuntimeId
$flags
private
int
$flags
$syncedUpdateActorUniqueId
private
int
$syncedUpdateActorUniqueId
$syncedUpdateType
private
int
$syncedUpdateType
Methods
__construct()
public
__construct(BlockPosition $blockPosition, int $blockRuntimeId, int $flags, int $syncedUpdateActorUniqueId, int $syncedUpdateType) : mixed
Parameters
- $blockPosition : BlockPosition
- $blockRuntimeId : int
- $flags : int
- $syncedUpdateActorUniqueId : int
- $syncedUpdateType : int
Return values
mixed —getBlockPosition()
public
getBlockPosition() : BlockPosition
Return values
BlockPosition —getBlockRuntimeId()
public
getBlockRuntimeId() : int
Return values
int —getFlags()
public
getFlags() : int
Return values
int —getSyncedUpdateActorUniqueId()
public
getSyncedUpdateActorUniqueId() : int
Return values
int —getSyncedUpdateType()
public
getSyncedUpdateType() : int
Return values
int —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —simple()
public
static simple(BlockPosition $blockPosition, int $blockRuntimeId) : self
Parameters
- $blockPosition : BlockPosition
- $blockRuntimeId : int
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer