Contents
Interface IMetaStore<K>
- All Known Subinterfaces:
IMetaStoreImpl<K>
- All Known Implementing Classes:
AbstractMetaStore, ArrayMetaStore, Damage, DynamicMetaStore
public interface IMetaStore<K>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault voiddefault <T> TgetIfPresentMetaObject(MetaKey<T> key) default <T> TgetMetaObject(MetaKey<T> key) Returns a meta object which is unique to the world and registered through the parent universe.Returns the meta store object.default booleanhasMetaObject(MetaKey<?> key) default voiddefault <T> TputMetaObject(MetaKey<T> key, T obj) default <T> TremoveMetaObject(MetaKey<T> key) default <T> TremoveSerializedMetaObject(MetaKey<T> key)
-
Method Details
-
getMetaStore
-
getMetaObject
Returns 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
-
markMetaStoreDirty
default void markMetaStoreDirty() -
consumeMetaStoreDirty
default boolean consumeMetaStoreDirty()
-