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 TextureProvider
TextureProvider.SkinAndCloakTextures -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class TextureProvider
providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()pro.gravit.launcher.base.profiles.TexturegetCloakTexture(UUID uuid, String username, String client) pro.gravit.launcher.base.profiles.TexturegetSkinTexture(UUID uuid, String username, String client) static StringgetTextureURL(String url, UUID uuid, String username, String client) Methods inherited from class TextureProvider
getAssets, getTextures, registerProvidersModifier and TypeMethodDescriptiongetTextures(UUID uuid, String username, String client) Deprecated.static void
-
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.base.profiles.Texture getCloakTexture(UUID uuid, String username, String client) throws IOException - Specified by:
getCloakTexturein classTextureProvider- Throws:
IOException
-
getSkinTexture
public pro.gravit.launcher.base.profiles.Texture getSkinTexture(UUID uuid, String username, String client) throws IOException - Specified by:
getSkinTexturein classTextureProvider- Throws:
IOException
-