com.skillw.attsystem.api.manager.AttributeManager.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AttributeSystem Show documentation
Show all versions of AttributeSystem Show documentation
Bukkit Attribute Engine Plugin.
The newest version!
package com.skillw.attsystem.api.manager
import com.skillw.attsystem.api.attribute.Attribute
import com.skillw.pouvoir.api.manager.Manager
import com.skillw.pouvoir.api.plugin.SubPouvoir
import com.skillw.pouvoir.api.plugin.map.LowerKeyMap
import com.skillw.pouvoir.api.plugin.map.LowerMap
import java.io.File
/**
* Attribute manager
*
* @constructor Create empty Attribute manager
*/
abstract class AttributeManager : LowerKeyMap(), Manager {
abstract val nameMap: LowerMap
/** Attributes (按权重排列) */
abstract val attributes: List
abstract fun reloadFolder(folder: File)
abstract fun addDataFolders(folder: File)
abstract fun addSubPouvoir(subPouvoir: SubPouvoir)
abstract fun unregister(key: String)
abstract fun find(text: String): Attribute?
}