Class RequestTextureProvider
java.lang.Object
pro.gravit.launchserver.auth.texture.TextureProvider
pro.gravit.launchserver.auth.texture.RequestTextureProvider
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class pro.gravit.launchserver.auth.texture.TextureProvider
TextureProvider.SkinAndCloakTextures -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class pro.gravit.launchserver.auth.texture.TextureProvider
providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()pro.gravit.launcher.profiles.TexturegetCloakTexture(UUID uuid, String username, String client) pro.gravit.launcher.profiles.TexturegetSkinTexture(UUID uuid, String username, String client) static StringgetTextureURL(String url, UUID uuid, String username, String client) Methods inherited from class pro.gravit.launchserver.auth.texture.TextureProvider
getAssets, getTextures, registerProviders
-
Field Details
-
skinURL
-
cloakURL
-
skinLocalPath
-
cloakLocalPath
-
-
Constructor Details
-
RequestTextureProvider
public RequestTextureProvider() -
RequestTextureProvider
-
-
Method Details
-
getTextureURL
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classTextureProvider
-
getCloakTexture
public pro.gravit.launcher.profiles.Texture getCloakTexture(UUID uuid, String username, String client) throws IOException - Specified by:
getCloakTexturein classTextureProvider- Throws:
IOException
-
getSkinTexture
public pro.gravit.launcher.profiles.Texture getSkinTexture(UUID uuid, String username, String client) throws IOException - Specified by:
getSkinTexturein classTextureProvider- Throws:
IOException
-