mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-09 12:20:08 +01:00
Comments for packet handler getter
This commit is contained in:
parent
6586ca39bc
commit
2ea2efb5a2
@ -108,14 +108,35 @@ public final class PacketProcessor {
|
|||||||
connectionPlayerConnectionMap.remove(channel);
|
connectionPlayerConnectionMap.remove(channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the handler for client status packets.
|
||||||
|
*
|
||||||
|
* @return the status packets handler
|
||||||
|
* @see <a href="https://wiki.vg/Protocol#Status">Status packets</a>
|
||||||
|
*/
|
||||||
|
@NotNull
|
||||||
public ClientStatusPacketsHandler getStatusPacketsHandler() {
|
public ClientStatusPacketsHandler getStatusPacketsHandler() {
|
||||||
return statusPacketsHandler;
|
return statusPacketsHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the handler for client login packets.
|
||||||
|
*
|
||||||
|
* @return the status login handler
|
||||||
|
* @see <a href="https://wiki.vg/Protocol#Login">Login packets</a>
|
||||||
|
*/
|
||||||
|
@NotNull
|
||||||
public ClientLoginPacketsHandler getLoginPacketsHandler() {
|
public ClientLoginPacketsHandler getLoginPacketsHandler() {
|
||||||
return loginPacketsHandler;
|
return loginPacketsHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the handler for client play packets.
|
||||||
|
*
|
||||||
|
* @return the play packets handler
|
||||||
|
* @see <a href="https://wiki.vg/Protocol#Play">Play packets</a>
|
||||||
|
*/
|
||||||
|
@NotNull
|
||||||
public ClientPlayPacketsHandler getPlayPacketsHandler() {
|
public ClientPlayPacketsHandler getPlayPacketsHandler() {
|
||||||
return playPacketsHandler;
|
return playPacketsHandler;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user