Class PhotographerChatAction
java.lang.Object
games.stendhal.server.maps.quests.revivalweeks.PhotographerChatAction
- All Implemented Interfaces:
ChatAction
,PostTransitionAction
-
Constructor Summary
ConstructorDescriptioncreates a PhotographerChatAction -
Method Summary
-
Constructor Details
-
PhotographerChatAction
creates a PhotographerChatAction- Parameters:
zone
- StendhalRPZone
-
-
Method Details
-
fire
Description copied from interface:PostTransitionAction
does some action after a transition.- Specified by:
fire
in interfaceChatAction
- Specified by:
fire
in interfacePostTransitionAction
- Parameters:
player
- player who caused the transitionsentence
- text he/she saidnpc
- the NPC doing the transition
-
hmac
public static String hmac(String data, String key) throws NoSuchAlgorithmException, InvalidKeyException, UnsupportedEncodingExceptioncalculates the hamc- Parameters:
data
- datakey
- key- Returns:
- hmac
- Throws:
NoSuchAlgorithmException
InvalidKeyException
UnsupportedEncodingException
-
toString
-
hashCode
public int hashCode() -
equals
-