StorageUnit
inline fun <T : Data> StorageUnit(storageType: StorageType, namespace: String, identifier: String): StorageUnit<T>
Convenience function allowing you to create a StorageUnit without passing a class manually.
Parameters
storageType
The type of data to store.
namespace
The namespace - usually a plugin or extension ID. Represents a folder for file-backed storage.
identifier
The identifier - usually a specific category or name. Represents a filename for file-backed storage.