Package com.sucy.skill.manager
Class AttributeManager
java.lang.Object
com.sucy.skill.manager.AttributeManager
- All Implemented Interfaces:
IAttributeManager
@Deprecated(forRemoval=true)
public class AttributeManager
extends Object
implements IAttributeManager
Deprecated, for removal: This API element is subject to removal in a future version.
Handles loading and accessing individual
attributes from the configuration.
This class is strictly a wrapper for
IAttributeManager and will be removed in the future.
This should only be used by legacy plugins lacking modern support for Fabled-
Constructor Summary
ConstructorsConstructorDescriptionAttributeManager(IAttributeManager attributeManager) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddByComponent(String key, FabledAttribute fabledAttribute) Deprecated, for removal: This API element is subject to removal in a future version.voidaddByStat(String key, FabledAttribute fabledAttribute) Deprecated, for removal: This API element is subject to removal in a future version.forComponent(EffectComponent component, String key) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.forStat(String)insteadgetAttribute(String key) Deprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.getAttribute(String)insteadDeprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.getAttributes()insteadgetKeys()Deprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.getKeys()insteadDeprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.getLookupKeys()insteadDeprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.normalize(String)instead
-
Constructor Details
-
AttributeManager
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getAttributes
Deprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.getAttributes()instead- Specified by:
getAttributesin interfaceIAttributeManager- Returns:
- map of attributes
-
getAttribute
Deprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.getAttribute(String)insteadDescription copied from interface:IAttributeManagerRetrieves an attribute template- Specified by:
getAttributein interfaceIAttributeManager- Parameters:
key- attribute key- Returns:
- template for the attribute
-
forStat
Deprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.forStat(String)instead- Specified by:
forStatin interfaceIAttributeManager- Parameters:
key- key to get attributes for- Returns:
- list of attributes for the stat
-
forComponent
@Deprecated(forRemoval=true) public List<FabledAttribute> forComponent(EffectComponent component, String key) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
forComponentin interfaceIAttributeManager- Parameters:
component- component to get attributes forkey- key to get attributes for- Returns:
- list of attributes for the component
-
getKeys
Deprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.getKeys()insteadDescription copied from interface:IAttributeManagerRetrieves the available attribute keys. This does not include display names for attributes.- Specified by:
getKeysin interfaceIAttributeManager- Returns:
- set of available attribute keys
-
getLookupKeys
Deprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.getLookupKeys()insteadDescription copied from interface:IAttributeManagerRetrieves the available attribute keys including both display names and config keys.- Specified by:
getLookupKeysin interfaceIAttributeManager- Returns:
- display name and config keys for attributes
-
normalize
Deprecated, for removal: This API element is subject to removal in a future version.UseIAttributeManager.normalize(String)insteadDescription copied from interface:IAttributeManagerNormalizes a config key or name into the config key for a unified identifier to store stats under.- Specified by:
normalizein interfaceIAttributeManager- Parameters:
key- key to normalize- Returns:
- config key
-
addByComponent
@Deprecated(forRemoval=true) public void addByComponent(String key, FabledAttribute fabledAttribute) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addByComponentin interfaceIAttributeManager- Parameters:
key- key to add byfabledAttribute- attribute to add
-
addByStat
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addByStatin interfaceIAttributeManager- Parameters:
key- key to add byfabledAttribute- attribute to add
-
IAttributeManagerinstead fromFabled.getAttributesManager()