Uses of Record Class
eu.cloudnetservice.modules.bridge.player.NetworkServiceInfo
Packages that use NetworkServiceInfo
Package
Description
-
Uses of NetworkServiceInfo in eu.cloudnetservice.modules.bridge.event
Fields in eu.cloudnetservice.modules.bridge.event declared as NetworkServiceInfoModifier and TypeFieldDescriptionprivate final NetworkServiceInfoBridgeProxyPlayerServerSwitchEvent.previousprivate final NetworkServiceInfoBridgeServerPlayerDisconnectEvent.serviceInfoMethods in eu.cloudnetservice.modules.bridge.event that return NetworkServiceInfoModifier and TypeMethodDescriptionBridgeProxyPlayerServerSwitchEvent.previous()Gets the network service info that the cloud player was connected to previously.BridgeServerPlayerDisconnectEvent.service()Gets the network service info of the service the player disconnected from.BridgeProxyPlayerServerSwitchEvent.target()Gets the network service info that the cloud player is now connected to.Constructors in eu.cloudnetservice.modules.bridge.event with parameters of type NetworkServiceInfoModifierConstructorDescriptionBridgeProxyPlayerServerSwitchEvent(@NonNull CloudPlayer player, @Nullable NetworkServiceInfo previous) Constructs a new server switch event with the given cloud player and the previous service.BridgeServerPlayerDisconnectEvent(@NonNull CloudPlayer cloudPlayer, @NonNull NetworkServiceInfo serviceInfo) Constructs a new player server disconnect event for the given cloud player and the service the player disconnected from. -
Uses of NetworkServiceInfo in eu.cloudnetservice.modules.bridge.player
Fields in eu.cloudnetservice.modules.bridge.player declared as NetworkServiceInfoModifier and TypeFieldDescriptionprotected NetworkServiceInfoCloudPlayer.connectedServiceprotected NetworkServiceInfoCloudPlayer.loginServiceprivate final @NonNull NetworkServiceInfoNetworkPlayerProxyInfo.networkServiceThe field for thenetworkServicerecord component.private final @NonNull NetworkServiceInfoNetworkPlayerServerInfo.networkServiceThe field for thenetworkServicerecord component.Methods in eu.cloudnetservice.modules.bridge.player that return NetworkServiceInfoModifier and TypeMethodDescriptionCloudPlayer.connectedService()Gets the downstream service the player is connected to.static @NonNull NetworkServiceInfoNetworkServiceInfo.fromServiceInfoSnapshot(@NonNull eu.cloudnetservice.driver.service.ServiceInfoSnapshot snapshot) Creates a new network service info with groups and the service id from the given service.CloudPlayer.loginService()Gets the service info of the proxy the player used to connect to the network.NetworkPlayerProxyInfo.networkService()Returns the value of thenetworkServicerecord component.NetworkPlayerServerInfo.networkService()Returns the value of thenetworkServicerecord component.Methods in eu.cloudnetservice.modules.bridge.player with parameters of type NetworkServiceInfoModifier and TypeMethodDescriptionvoidCloudPlayer.connectedService(@Nullable NetworkServiceInfo connectedService) Sets the downstream service the player is currently connected to.voidCloudPlayer.loginService(@NonNull NetworkServiceInfo loginService) Sets the login service info that indicates the proxy the player used to connect to the network.Constructors in eu.cloudnetservice.modules.bridge.player with parameters of type NetworkServiceInfoModifierConstructorDescriptionCloudPlayer(@NonNull NetworkPlayerProxyInfo networkPlayerProxyInfo, @NonNull NetworkServiceInfo loginService, @NonNull NetworkServiceInfo connectedService, @Nullable NetworkPlayerServerInfo networkPlayerServerInfo, @NonNull eu.cloudnetservice.driver.document.Document onlineProperties, @NonNull String name, long firstLoginTimeMillis, long lastLoginTimeMillis, @NonNull NetworkPlayerProxyInfo lastNetworkPlayerProxyInfo, @NonNull eu.cloudnetservice.driver.document.Document properties) Constructs a new online cloud player.NetworkPlayerProxyInfo(@NonNull UUID uniqueId, @NonNull String name, @Nullable String xBoxId, @Range(from=47L,to=2147483647L) int version, @NonNull eu.cloudnetservice.driver.network.HostAndPort address, @NonNull eu.cloudnetservice.driver.network.HostAndPort listener, boolean onlineMode, @NonNull NetworkServiceInfo networkService) Creates an instance of aNetworkPlayerProxyInforecord class.NetworkPlayerServerInfo(@NonNull UUID uniqueId, @NonNull String name, @Nullable String xBoxId, @NonNull eu.cloudnetservice.driver.network.HostAndPort address, @NonNull NetworkServiceInfo networkService) Creates an instance of aNetworkPlayerServerInforecord class.