Package valorless.valorlessutils.uuid
Class UUIDFetcher
java.lang.Object
valorless.valorlessutils.uuid.UUIDFetcher
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final longDate when name changes were introduced
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringFetches the name synchronously and returns itstatic voidFetches the name asynchronously and passes it to the consumerstatic UUIDFetches the uuid synchronously and returns itstatic voidFetches the uuid asynchronously and passes it to the consumerstatic UUIDFetches the uuid synchronously for a specified name and timestatic voidFetches the uuid synchronously for a specified name and time and passes the result to the consumer
- 
Field Details- 
FEBRUARY_2015public static final long FEBRUARY_2015Date when name changes were introduced- See Also:
 
 
- 
- 
Constructor Details- 
UUIDFetcherpublic UUIDFetcher()
 
- 
- 
Method Details- 
getUUIDFetches the uuid asynchronously and passes it to the consumer- Parameters:
- name- The name
- action- Do what you want to do with the uuid her
 
- 
getUUIDFetches the uuid synchronously and returns it- Parameters:
- name- The name
- Returns:
- The uuid
 
- 
getUUIDAtFetches the uuid synchronously for a specified name and time and passes the result to the consumer- Parameters:
- name- The name
- timestamp- Time when the player had this name in milliseconds
- action- Do what you want to do with the uuid her
 
- 
getUUIDAtFetches the uuid synchronously for a specified name and time- Parameters:
- name- The name
- timestamp- Time when the player had this name in milliseconds
- See Also:
 
- 
getNameFetches the name asynchronously and passes it to the consumer- Parameters:
- uuid- The uuid
- action- Do what you want to do with the name her
 
- 
getNameFetches the name synchronously and returns it- Parameters:
- uuid- The uuid
- Returns:
- The name
 
 
-