Class SimplePlayerLookup
java.lang.Object
com.xpdustry.distributor.api.player.SimplePlayerLookup
- All Implemented Interfaces:
PlayerLookup
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.xpdustry.distributor.api.player.PlayerLookup
PlayerLookup.Field, PlayerLookup.Query -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<mindustry.gen.Player>findOnlinePlayers(Collection<mindustry.gen.Player> players, PlayerLookup.Query query) Finds online players matching the given query.protected voidfindOnlinePlayers0(Collection<mindustry.gen.Player> players, PlayerLookup.Query query, List<mindustry.gen.Player> result) protected StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.xpdustry.distributor.api.player.PlayerLookup
findOnlinePlayers
-
Constructor Details
-
SimplePlayerLookup
public SimplePlayerLookup()
-
-
Method Details
-
findOnlinePlayers
public List<mindustry.gen.Player> findOnlinePlayers(Collection<mindustry.gen.Player> players, PlayerLookup.Query query) Description copied from interface:PlayerLookupFinds online players matching the given query.- Specified by:
findOnlinePlayersin interfacePlayerLookup- Parameters:
players- the players to searchquery- the query- Returns:
- the matching players
-
findOnlinePlayers0
protected void findOnlinePlayers0(Collection<mindustry.gen.Player> players, PlayerLookup.Query query, List<mindustry.gen.Player> result) -
normalize
-