Class ServerSkinCache.SkinCacheEntry
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.profile.ServerSkinCache.SkinCacheEntry
-
- Enclosing class:
- ServerSkinCache
public class ServerSkinCache.SkinCacheEntry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ServerSkinCache.CacheCustomSkincustomSkinprotected booleanisPresetSkinprotected longlastCacheHitprotected intpresetSkinId
-
Constructor Summary
Constructors Modifier Constructor Description protectedSkinCacheEntry(int presetSkinId)protectedSkinCacheEntry(EaglerSkinTexture textureInstance, ResourceLocation resourceLocation, SkinModel model)protectedSkinCacheEntry(ResourceLocation resourceLocation, SkinModel model)Use only for the constant for the client player
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfree()ResourceLocationgetResourceLocation()SkinModelgetSkinModel()
-
-
-
Field Detail
-
isPresetSkin
protected final boolean isPresetSkin
-
presetSkinId
protected final int presetSkinId
-
customSkin
protected final ServerSkinCache.CacheCustomSkin customSkin
-
lastCacheHit
protected long lastCacheHit
-
-
Constructor Detail
-
SkinCacheEntry
protected SkinCacheEntry(EaglerSkinTexture textureInstance, ResourceLocation resourceLocation, SkinModel model)
-
SkinCacheEntry
protected SkinCacheEntry(ResourceLocation resourceLocation, SkinModel model)
Use only for the constant for the client player
-
SkinCacheEntry
protected SkinCacheEntry(int presetSkinId)
-
-
Method Detail
-
getResourceLocation
public ResourceLocation getResourceLocation()
-
getSkinModel
public SkinModel getSkinModel()
-
free
protected void free()
-
-