Class NameElectroidAPIStrategy
java.lang.Object
com.janboerman.invsee.spigot.api.resolve.NameElectroidAPIStrategy
- All Implemented Interfaces:
NameResolveStrategy
-
Constructor Summary
ConstructorDescriptionNameElectroidAPIStrategy
(Plugin plugin, com.janboerman.invsee.mojangapi.ElectroidAPI electroidApi) -
Method Summary
-
Constructor Details
-
NameElectroidAPIStrategy
public NameElectroidAPIStrategy(Plugin plugin, com.janboerman.invsee.mojangapi.ElectroidAPI electroidApi)
-
-
Method Details
-
resolveUserName
Description copied from interface:NameResolveStrategy
Resove the player's username- Specified by:
resolveUserName
in interfaceNameResolveStrategy
- Parameters:
uniqueId
- the player's unique id- Returns:
- a future which, when completed, will supply the player's username optionally, if it could be found.
-