PocketMine-MP 5.44.4 git-bc94a0da0c87abe7eb99d229a9ec672b3c405d11
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState:

Public Member Functions

 __construct (private array $clockData,)
 
 getClockData ()
 
 getTypeId ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Public Attributes

const ID = SyncWorldClocksType::SYNC_STATE
 

Detailed Description

See also
SyncWorldClocksPacket

Definition at line 25 of file SyncWorldClocksSyncState.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState::__construct ( private array $clockData)
Parameters
SyncWorldClockStateData[]$clockData@phpstan-param list<SyncWorldClockStateData> $clockData

Definition at line 32 of file SyncWorldClocksSyncState.php.

Member Function Documentation

◆ getClockData()

pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState::getClockData ( )
Returns
SyncWorldClockStateData[] @phpstan-return list<SyncWorldClockStateData>

Definition at line 44 of file SyncWorldClocksSyncState.php.

◆ getTypeId()

pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState::getTypeId ( )

◆ read()

static pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState::read ( ByteBufferReader $in)
static

Definition at line 46 of file SyncWorldClocksSyncState.php.

◆ write()

pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState::write ( ByteBufferWriter $out)

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState::ID = SyncWorldClocksType::SYNC_STATE

Definition at line 26 of file SyncWorldClocksSyncState.php.


The documentation for this class was generated from the following file: