Package de.oliver.fancynpcs.api.utils
Schnittstelle SkinCache
public interface SkinCache
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungload()Load all cached skins from the cache and removes all expired skinsdefault voidupsert(SkinFetcher.SkinCacheData skinCacheData) voidupsert(SkinFetcher.SkinCacheData skinCacheData, boolean onlyIfExists) Save a skin to the cache
-
Methodendetails
-
load
List<SkinFetcher.SkinCacheData> load()Load all cached skins from the cache and removes all expired skins- Gibt zurück:
- List of cached skins
-
upsert
Save a skin to the cache- Parameter:
skinCacheData- Skin data to saveonlyIfExists- If true, the skin will only be replaced/updated if it already exists in the cache
-
upsert
-