Contents
Class HytaleAssetStore<K, T extends JsonAssetWithMap<K,M> , M extends AssetMap<K,T> >
java.lang.Object
com.hypixel.hytale.assetstore.AssetStore<K,T,M>
com.hypixel.hytale.server.core.asset.HytaleAssetStore<K,T,M>
public class HytaleAssetStore<K, T extends JsonAssetWithMap<K,M>, M extends AssetMap<K,T>>
extends AssetStore<K,T,M>
- Since:
- 29/8/17.
- Version:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHytaleAssetStore.Builder<K, T extends JsonAssetWithMap<K,M>, M extends AssetMap<K, T>> -
Field Summary
FieldsFields inherited from class AssetStore
DISABLE_ASSET_COMPARE, DISABLE_DYNAMIC_DEPENDENCIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFileMonitor(String packKey, Path assetsPath) static <K, T extends JsonAssetWithMap<K,M>, M extends AssetMap<K, T>>
HytaleAssetStore.Builder<K, T, M> static <T extends JsonAssetWithMap<String,M>, M extends AssetMap<String, T>>
HytaleAssetStore.Builder<String, T, M> voidremoveFileMonitor(Path path) voidsendAssets(Consumer<ToClientPacket[]> packetConsumer) Methods inherited from class AssetStore
addChildAssetReferences, decode, decodeFilePathKey, decodeStringKey, getAssetClass, getAssetMap, getCodec, getExtension, getIdProvider, getKeyClass, getKeyFunction, getLoadsAfter, getLogger, getPath, getPreAddedAssets, getReplaceOnRemove, hasLoadedContainedAssetsFor, injectLoadsAfter, isUnmodifiable, loadAssets, loadAssets, loadAssets, loadAssetsFromDirectory, loadAssetsFromPaths, loadAssetsFromPaths, loadAssetsFromPaths, loadAssetsWithReferences, loadAssetsWithReferences, loadAssetsWithReferences, loadBuffersWithKeys, logDependencies, logUnusedKeys, removeAssetPack, removeAssets, removeAssets, removeAssetWithPath, removeAssetWithPath, removeAssetWithPaths, removeAssetWithPaths, simplifyLoadBeforeDependencies, toString, transformKey, validate, validate, validateCodecDefaults, writeAssetToDisk, writeAssetToDisk, writeAssetToDisk
-
Field Details
-
SETUP_PACKET_CONSUMERS
-
-
Constructor Details
-
HytaleAssetStore
-
-
Method Details
-
getPacketGenerator
-
getNotificationItemFunction
-
addFileMonitor
- Specified by:
addFileMonitorin classAssetStore<K, T extends JsonAssetWithMap<K,M>, M extends AssetMap<K, T>>
-
removeFileMonitor
- Specified by:
removeFileMonitorin classAssetStore<K, T extends JsonAssetWithMap<K,M>, M extends AssetMap<K, T>>
-
sendAssets
-
builder
@Nonnull public static <T extends JsonAssetWithMap<String,M>, M extends AssetMap<String, HytaleAssetStore.Builder<String,T>> T, builderM> (Class<T> tClass, M assetMap) -
builder
@Nonnull public static <K, T extends JsonAssetWithMap<K,M>, M extends AssetMap<K, HytaleAssetStore.Builder<K,T>> T, builderM> (Class<K> kClass, Class<T> tClass, M assetMap)
-