Class ProgressStatusEvent

All Implemented Interfaces:
Cloneable, Iterable<String>, Serializable

public class ProgressStatusEvent extends RPEvent
tell the client about the progress of the players for quests or producers
Author:
hendrik
  • Constructor Details

    • ProgressStatusEvent

      public ProgressStatusEvent(List<String> progressTypes)
      creates a new ProgressStatusEvent
      Parameters:
      progressTypes - list of progressTypes supported
    • ProgressStatusEvent

      public ProgressStatusEvent(String type, List<String> items)
      creates a new ProgressStatusEvent
      Parameters:
      type - type of status (open_quests, completed_quests, producing, ...)
      items - list of items to display
    • ProgressStatusEvent

      public ProgressStatusEvent(String type, String item, String description, List<String> data)
      creates a new ProgressStatusEvent
      Parameters:
      type - type of status (open_quests, completed_quests, producing, ...)
      item - the selected item
      description - description
      data - details for the selected item
    • ProgressStatusEvent

      public ProgressStatusEvent(String type, String item, String description, String information, List<String> data)
      creates a new ProgressStatusEvent
      Parameters:
      type - type of status (open_quests, completed_quests, producing, ...)
      item - the selected item
      description - description
      information - information e. g. quest too dangerous
      data - details for the selected item
  • Method Details

    • generateRPClass

      public static void generateRPClass()
      Creates the rpclass.