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