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:
-
Constructor Summary
ConstructorsConstructorDescriptionSetQuestToTimeStampAction(String questname) Creates a new SetQuestToTimeStampAction.SetQuestToTimeStampAction(String questname, int index) Creates a new SetQuestToTimeStampAction. -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidfire(Player player, Sentence sentence, EventRaiser raiser) does some action after a transition.inthashCode()static ChatActionsetQuestToTimestamp(String questName, int index) toString()
-
Constructor Details
-
SetQuestToTimeStampAction
Creates a new SetQuestToTimeStampAction.- Parameters:
questname- name of quest-slot to change
-
SetQuestToTimeStampAction
Creates a new SetQuestToTimeStampAction.- Parameters:
questname- name of quest-slot to changeindex- index of sub state
-
-
Method Details
-
fire
Description copied from interface:PostTransitionActiondoes some action after a transition.- Specified by:
firein interfaceChatAction- Specified by:
firein interfacePostTransitionAction- Parameters:
player- player who caused the transitionsentence- text he/she saidraiser- the NPC doing the transition
-
toString
-
hashCode
public int hashCode() -
equals
-
setQuestToTimestamp
-