Class BridgeProxyPlayerDisconnectEvent
java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.modules.bridge.event.BridgeProxyPlayerDisconnectEvent
public final class BridgeProxyPlayerDisconnectEvent
extends eu.cloudnetservice.driver.event.Event
Called after a cloud player has disconnected from the proxy he was connected to. This event is called both on all
nodes in the cluster and all services running the bridge.
- Since:
- 4.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBridgeProxyPlayerDisconnectEvent(@NonNull CloudPlayer cloudPlayer) Constructs a new proxy disconnect event with the given cloud player. -
Method Summary
Modifier and TypeMethodDescriptionGets the cloud player that disconnected from a proxy.
-
Field Details
-
cloudPlayer
-
-
Constructor Details
-
BridgeProxyPlayerDisconnectEvent
Constructs a new proxy disconnect event with the given cloud player.- Parameters:
cloudPlayer- the cloud player that disconnected.- Throws:
NullPointerException- if the given player is null.
-
-
Method Details
-
cloudPlayer
Gets the cloud player that disconnected from a proxy.- Returns:
- the player that disconnected.
-