Module qilletni.api

Record Class CollectionLimit

java.lang.Object
java.lang.Record
dev.qilletni.api.lang.types.collection.CollectionLimit
Record Components:
limitCount - The numerical part of the limit
limitUnit - The unit of the limit

public record CollectionLimit(int limitCount, CollectionLimitUnit limitUnit) extends Record
A backing type for the limit type on a collection, e.g. limit[5] or limit[3h]. This defines how much of a collection should be played.