Uses of Record Class
dev.twilite.game.wrapper.Server
Packages that use Server
-
Uses of Server in dev.twilite.game
Methods in dev.twilite.game that return types with arguments of type ServerModifier and TypeMethodDescriptionGame.server()Returns the current server from the public server list when available.Methods in dev.twilite.game with parameters of type Server -
Uses of Server in dev.twilite.game.common
Methods in dev.twilite.game.common that return types with arguments of type ServerModifier and TypeMethodDescriptionServerLoader.loaded()Returns the current cached servers by id and queues a background refresh when stale.ServerLoader.loaded(int id) Returns a cached server by id and queues a background refresh when stale.ServerLoader.warmup()Loads the server list synchronously when the cache is empty. -
Uses of Server in dev.twilite.game.stream
Methods in dev.twilite.game.stream that return types with arguments of type ServerModifier and TypeMethodDescriptionServerView.next()Returns the next matching server after the current server, wrapping to the lowest id when needed.ServerView.previous()Returns the previous matching server before the current server, wrapping to the highest id when needed.ServerView.random()Returns a random matching server.ServerView.stream()Opens a stream of matching servers.Method parameters in dev.twilite.game.stream with type arguments of type ServerModifier and TypeMethodDescriptionReturns a new server view with an additional filter.Returns a new server view with the supplied filter OR'ed with the most recent filter.Constructor parameters in dev.twilite.game.stream with type arguments of type ServerModifierConstructorDescriptionServerView(Supplier<Stream<Server>> source) Creates a server view backed by a stream supplier.