Loading [MathJax]/extensions/tex2jax.js
PocketMine-MP
5.25.3 git-afc4a3c7f18d42b41cbfde84ab6a2e4dd7c03045
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
g
i
m
n
o
p
r
s
t
Functions
Variables
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
$
a
c
d
e
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Files
File List
▼
PocketMine-MP
PocketMine-MP API Documentation
Deprecated List
►
Namespaces
►
Classes
▼
Files
▼
File List
►
src
▼
vendor
▼
pocketmine
►
bedrock-data
►
bedrock-protocol
►
binaryutils
►
callback-validator
►
color
►
errorhandler
►
log
►
math
►
nbt
▼
raklib
▼
src
►
client
►
generic
►
protocol
▼
server
ProtocolAcceptor.php
vendor/pocketmine/raklib/src/server/Server.php
ServerEventListener.php
ServerEventSource.php
ServerInterface.php
ServerSession.php
ServerSocket.php
SimpleProtocolAcceptor.php
UnconnectedMessageHandler.php
►
utils
RakLib.php
►
tools
raklib/.php-cs-fixer.php
►
raklib-ipc
►
snooze
•
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Pages
Loading...
Searching...
No Matches
ProtocolAcceptor.php
1
<?php
2
3
/*
4
* This file is part of RakLib.
5
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/RakLib>
6
*
7
* RakLib is not affiliated with Jenkins Software LLC nor RakNet.
8
*
9
* RakLib is free software: you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation, either version 3 of the License, or
12
* (at your option) any later version.
13
*/
14
15
declare(strict_types=1);
16
17
namespace
raklib\server;
18
19
interface
ProtocolAcceptor
{
20
21
public
function
accepts(
int
$protocolVersion) : bool;
22
23
public
function
getPrimaryVersion() : int;
24
}
19
interface
ProtocolAcceptor
{
…
};
raklib\server\ProtocolAcceptor
Definition
ProtocolAcceptor.php:19
vendor
pocketmine
raklib
src
server
ProtocolAcceptor.php
Generated by
1.12.0