Pair Persistent Data Type
class PairPersistentDataType<F : Any, S : Any>(val first: PersistentDataType<*, F>, val second: PersistentDataType<*, S>) : PersistentDataType<PersistentDataContainer, Pair<F, S>> (source)
Properties
Functions
Link copied to clipboard
open override fun fromPrimitive(primitive: PersistentDataContainer, context: PersistentDataAdapterContext): Pair<F, S>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toPrimitive(complex: Pair<F, S>, context: PersistentDataAdapterContext): PersistentDataContainer