Class SetQuestToTimeStampAction

java.lang.Object
games.stendhal.server.entity.npc.action.SetQuestToTimeStampAction
All Implemented Interfaces:
ChatAction, PostTransitionAction

@Dev(category=TIME, label="State") public class SetQuestToTimeStampAction extends Object implements ChatAction
Sets the state of a quest to the current timestamp.
See Also:
TimePassedCondition, SayTimeRemainingAction
  • Constructor Details

    • SetQuestToTimeStampAction

      public SetQuestToTimeStampAction(String questname)
      Creates a new SetQuestToTimeStampAction.
      Parameters:
      questname - name of quest-slot to change
    • SetQuestToTimeStampAction

      @Dev public SetQuestToTimeStampAction(String questname, @Dev(defaultValue="1") int index)
      Creates a new SetQuestToTimeStampAction.
      Parameters:
      questname - name of quest-slot to change
      index - index of sub state
  • Method Details