Class UUIDElectroidAPIStrategy
java.lang.Object
com.janboerman.invsee.spigot.api.resolve.UUIDElectroidAPIStrategy
- All Implemented Interfaces:
UUIDResolveStrategy
-
Constructor Summary
ConstructorDescriptionUUIDElectroidAPIStrategy
(Plugin plugin, com.janboerman.invsee.mojangapi.ElectroidAPI electroidApi) -
Method Summary
Modifier and TypeMethodDescriptionresolveUniqueId
(String userName) Resolve the player's Unique ID.
-
Constructor Details
-
UUIDElectroidAPIStrategy
public UUIDElectroidAPIStrategy(Plugin plugin, com.janboerman.invsee.mojangapi.ElectroidAPI electroidApi)
-
-
Method Details
-
resolveUniqueId
Description copied from interface:UUIDResolveStrategy
Resolve the player's Unique ID.- Specified by:
resolveUniqueId
in interfaceUUIDResolveStrategy
- Parameters:
userName
- the player's username- Returns:
- a future which, when completed, will supply the player's Unique ID optionally, if it could be found.
-