Contents
Class ArrayMetaStore<K>
java.lang.Object
com.hypixel.hytale.server.core.meta.AbstractMetaStore<K>
com.hypixel.hytale.server.core.meta.ArrayMetaStore<K>
- All Implemented Interfaces:
IMetaStore<K>, IMetaStoreImpl<K>
-
Nested Class Summary
Nested classes/interfaces inherited from interface IMetaStore
IMetaStore.MetaEntryConsumer -
Constructor Summary
ConstructorsConstructorDescriptionArrayMetaStore(K parent, IMetaRegistry<K> registry) ArrayMetaStore(K parent, IMetaRegistry<K> registry, boolean bypassEncodedCache) -
Method Summary
Modifier and TypeMethodDescriptionvoid<T> TgetIfPresentMetaObject(MetaKey<T> key) <T> TgetMetaObject(MetaKey<T> key) Returns a meta object which is unique to the world and registered through the parent universe.booleanhasMetaObject(MetaKey<?> key) <T> TputMetaObject(MetaKey<T> key, T obj) <T> TremoveMetaObject(MetaKey<T> key) <T> TremoveSerializedMetaObject(MetaKey<T> key) Methods inherited from class AbstractMetaStore
consumeMetaStoreDirty, decode, encode, forEachUnknownEntry, getMetaStore, getRegistry, markMetaStoreDirty
-
Constructor Details
-
ArrayMetaStore
-
ArrayMetaStore
-
-
Method Details
-
getMetaObject
Description copied from interface:IMetaStoreReturns a meta object which is unique to the world and registered through the parent universe.- Type Parameters:
T- Type of the returned meta object- Parameters:
key- MetaKey from IMetaRegistry.register(Supplier)- Returns:
- Meta Object
-
getIfPresentMetaObject
-
putMetaObject
-
removeMetaObject
-
removeSerializedMetaObject
-
hasMetaObject
-
forEachMetaObject
-