package ru.dbotthepony.kstarbound.defs.actor.player

import com.google.common.collect.ImmutableMap
import ru.dbotthepony.kstarbound.json.builder.JsonFactory
import ru.dbotthepony.kstarbound.util.WriteOnce

@JsonFactory
data class InventoryConfig(
	val customBarGroups: Int, // hotbar configurations / groups
	val customBarIndexes: Int, // hotbar slots

	val itemBags: ImmutableMap<String, Bag>,
) {
	@JsonFactory
	class Bag(
		val priority: Int,
		val size: Int
	)
}
