Interface IQuestObjective


  • public interface IQuestObjective
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAdditionalText()  
      int getMaxProgress()  
      int getProgress()
      If this function is used on a player within a party and the quest objective type is set to ALL.
      java.lang.String getText()  
      boolean isCompleted()  
      void setPlayerProgress​(java.lang.String playerName, int progress)
      This function is typically used for setting individual progress for a player in a party for a Quest Objective that is set for ALL Players.
      void setProgress​(int progress)
      If this function is used on a player within a party and the quest objective type is set to ALL.
    • Method Detail

      • getProgress

        int getProgress()
        If this function is used on a player within a party and the quest objective type is set to ALL. The return progress will be set to 0 for handling multiple players.
        Returns:
        progress of objective
      • setProgress

        void setProgress​(int progress)
        If this function is used on a player within a party and the quest objective type is set to ALL. It will set everyone to have the same progress within the party.
        Parameters:
        progress - Progress Amount
      • setPlayerProgress

        void setPlayerProgress​(java.lang.String playerName,
                               int progress)
        This function is typically used for setting individual progress for a player in a party for a Quest Objective that is set for ALL Players. This function will work like the normal setProgress if the player does not have a party
        Parameters:
        playerName - Name of Player
        progress - Progress Amount
      • getMaxProgress

        int getMaxProgress()
      • isCompleted

        boolean isCompleted()
      • getText

        java.lang.String getText()
      • getAdditionalText

        java.lang.String getAdditionalText()