Class BridgeUpdateCloudPlayerEvent
java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.modules.bridge.event.BridgeUpdateCloudPlayerEvent
public final class BridgeUpdateCloudPlayerEvent
extends eu.cloudnetservice.driver.event.Event
Called after a cloud player was updated in both the database and all caches. 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
ConstructorsConstructorDescriptionBridgeUpdateCloudPlayerEvent(@NonNull CloudPlayer cloudPlayer) Constructs a new cloud player update event with the given cloud player. -
Method Summary
Modifier and TypeMethodDescriptionGets the cloud player that was updated.
-
Field Details
-
cloudPlayer
-
-
Constructor Details
-
BridgeUpdateCloudPlayerEvent
Constructs a new cloud player update event with the given cloud player.- Parameters:
cloudPlayer- the cloud player that was updated.- Throws:
NullPointerException- if the given cloud player is null.
-
-
Method Details
-
cloudPlayer
Gets the cloud player that was updated.- Returns:
- the updated cloud player.
-