PocketMine-MP 5.21.2 git-09bf203267aca9b83a09640e17bfac0fc7b58ff8
Loading...
Searching...
No Matches
raklib\server\SimpleProtocolAcceptor Class Reference
+ Inheritance diagram for raklib\server\SimpleProtocolAcceptor:
+ Collaboration diagram for raklib\server\SimpleProtocolAcceptor:

Public Member Functions

 __construct (private int $protocolVersion)
 
 accepts (int $protocolVersion)
 
 getPrimaryVersion ()
 

Detailed Description

Definition at line 19 of file SimpleProtocolAcceptor.php.

Constructor & Destructor Documentation

◆ __construct()

raklib\server\SimpleProtocolAcceptor::__construct ( private int $protocolVersion)

Definition at line 21 of file SimpleProtocolAcceptor.php.

Member Function Documentation

◆ accepts()

raklib\server\SimpleProtocolAcceptor::accepts ( int $protocolVersion)

Implements raklib\server\ProtocolAcceptor.

Definition at line 25 of file SimpleProtocolAcceptor.php.

◆ getPrimaryVersion()

raklib\server\SimpleProtocolAcceptor::getPrimaryVersion ( )

Implements raklib\server\ProtocolAcceptor.

Definition at line 29 of file SimpleProtocolAcceptor.php.


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