Class ReceivePacketEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
moe.caramel.daydream.event.packet.ReceivePacketEvent
- Direct Known Subclasses:
ReceivePlayerLoadedPacketEvent
,ReceivePongPacketEvent
서버가 클라이언트로부터 패킷을 전달받았을 때 호출됩니다.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
callEvent, getEventContext, getEventName, isAsynchronous, isSupportInterrupt
-
Constructor Details
-
ReceivePacketEvent
-
-
Method Details
-
getPacketType
클라이언트가 보낸 패킷의 종류를 가져옵니다.- Returns:
- 클라이언트가 보낸 패킷의 종류
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-