Interface ITag


  • public interface ITag
    Represents a tag that can be applied to NPCs for categorization and filtering.
    • Method Detail

      • getUuid

        String getUuid()
        Returns:
        the unique UUID string for this tag.
      • getName

        String getName()
        Returns:
        the tag display name.
      • setName

        void setName​(String name)
        Parameters:
        name - the tag display name.
      • setColor

        void setColor​(int c)
        Parameters:
        c - the tag color as a packed RGB integer.
      • getId

        int getId()
        Returns:
        the unique tag ID.
      • getColor

        int getColor()
        Returns:
        the tag color as a packed RGB integer.
      • getIsHidden

        boolean getIsHidden()
        Returns:
        true if this tag is hidden from display.
      • setIsHidden

        void setIsHidden​(boolean hidden)
        Parameters:
        hidden - true to hide this tag from display.
      • save

        void save()
        Saves this tag to disk.