Interface IFaction


public interface IFaction
  • Method Details

    • getId

      int getId()
    • getName

      java.lang.String getName()
    • getDefaultPoints

      int getDefaultPoints()
    • setDefaultPoints

      void setDefaultPoints​(int points)
    • getColor

      int getColor()
    • playerStatus

      int playerStatus​(IPlayer player)
      Returns:
      Returns -1:Unfriendly, 0:Neutral, 1:Friendly
    • hostileToNpc

      boolean hostileToNpc​(ICustomNpc npc)
    • hostileToFaction

      boolean hostileToFaction​(int factionId)
    • getHostileList

      int[] getHostileList()
    • addHostile

      void addHostile​(int id)
    • removeHostile

      void removeHostile​(int id)
    • hasHostile

      boolean hasHostile​(int id)
    • getIsHidden

      boolean getIsHidden()
    • setIsHidden

      void setIsHidden​(boolean bo)
    • getAttackedByMobs

      boolean getAttackedByMobs()
    • setAttackedByMobs

      void setAttackedByMobs​(boolean bo)
    • save

      void save()