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.CacheCustomSkin
customSkin
protected boolean
isPresetSkin
protected long
lastCacheHit
protected int
presetSkinId
-
Constructor Summary
Constructors Modifier Constructor Description protected
SkinCacheEntry(int presetSkinId)
protected
SkinCacheEntry(EaglerSkinTexture textureInstance, ResourceLocation resourceLocation, SkinModel model)
protected
SkinCacheEntry(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 void
free()
ResourceLocation
getResourceLocation()
SkinModel
getSkinModel()
-
-
-
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()
-
-