Interface IAttributeManager

All Known Implementing Classes:
AttributeManager, AttributeManager, NullAttributeManager

public interface IAttributeManager
  • Method Details

    • getAttributes

      Map<String,FabledAttribute> getAttributes()
    • getAttribute

      FabledAttribute getAttribute(String key)
      Retrieves an attribute template
      Parameters:
      key - attribute key
      Returns:
      template for the attribute
    • forStat

      List<FabledAttribute> forStat(String key)
    • forComponent

      List<FabledAttribute> forComponent(EffectComponent component, String key)
    • getKeys

      Set<String> getKeys()
      Retrieves the available attribute keys. This does not include display names for attributes.
      Returns:
      set of available attribute keys
    • getLookupKeys

      Set<String> getLookupKeys()
      Retrieves the available attribute keys including both display names and config keys.
      Returns:
      display name and config keys for attributes
    • normalize

      String normalize(String key)
      Normalizes a config key or name into the config key for a unified identifier to store stats under.
      Parameters:
      key - key to normalize
      Returns:
      config key
    • addByComponent

      void addByComponent(String key, FabledAttribute fabledAttribute)
    • addByStat

      void addByStat(String key, FabledAttribute fabledAttribute)