Class BridgeProxyPlayerLoginEvent
java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.modules.bridge.event.BridgeProxyPlayerLoginEvent
public final class BridgeProxyPlayerLoginEvent
extends eu.cloudnetservice.driver.event.Event
Called after the cloud player connected to the proxy AND connected successfully to a downstream
server. 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
ConstructorsConstructorDescriptionBridgeProxyPlayerLoginEvent(@NonNull CloudPlayer cloudPlayer) Constructs a new proxy login event with the given cloud player. -
Method Summary
Modifier and TypeMethodDescriptionGets the cloud player that connected to a proxy and a service.
-
Field Details
-
cloudPlayer
-
-
Constructor Details
-
BridgeProxyPlayerLoginEvent
Constructs a new proxy login event with the given cloud player.- Parameters:
cloudPlayer- the cloud player that connected.- Throws:
NullPointerException- if the given player is null.
-
-
Method Details
-
cloudPlayer
Gets the cloud player that connected to a proxy and a service.- Returns:
- the connected cloud player.
-