Uses of Class
games.stendhal.common.grammar.ItemParserResult
Packages that use ItemParserResult
Package
Description
-
Uses of ItemParserResult in games.stendhal.common.grammar
Methods in games.stendhal.common.grammar that return ItemParserResultModifier and TypeMethodDescriptionSearch for a matching name in the available names.Methods in games.stendhal.common.grammar with parameters of type ItemParserResultModifier and TypeMethodDescriptionItemParser.getErrormessage(ItemParserResult res, String userAction, String npcAction) Answer with an error message in case the request could not be fulfilled. -
Uses of ItemParserResult in games.stendhal.server.entity.npc.action
Methods in games.stendhal.server.entity.npc.action with parameters of type ItemParserResultModifier and TypeMethodDescriptionvoidBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc) voidMultiProducerBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser raiser) voidProducerBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser raiser) voidRepairingBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc) voidRepairingBehaviourAction.fireRequestOK(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc) -
Uses of ItemParserResult in games.stendhal.server.entity.npc.behaviour.impl
Subclasses of ItemParserResult in games.stendhal.server.entity.npc.behaviour.implModifier and TypeClassDescriptionfinal classResult of parsing an user request in Behaviour classes.Methods in games.stendhal.server.entity.npc.behaviour.impl with parameters of type ItemParserResultModifier and TypeMethodDescriptionbooleanMultiProducerBehaviour.askForResources(ItemParserResult res, EventRaiser npc, Player player) At the time the order is made, Tries to take all the resources required to produce amount units of the product from the player.booleanProducerBehaviour.askForResources(ItemParserResult res, EventRaiser npc, Player player) Tries to take all the resources required to produce amount units of the product from the player.intMerchantBehaviour.getCharge(ItemParserResult res, Player player) Returns the price of the desired amount of the chosen item.MultiProducerBehaviour.getErrormessage(ItemParserResult res, String npcAction) Answer with an error message in case the request could not be fulfilled.ProducerBehaviour.getErrormessage(ItemParserResult res, String npcAction) Answer with an error message in case the request could not be fulfilled.protected voidBuyerBehaviour.payPlayer(ItemParserResult res, Player player) Gives the money for the deal to the player.booleanBuyerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) Transacts the deal that is described in BehaviourResult.booleanMultiProducerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser npc, Player player) At the time the order is made, tries to take all the resources required to produce the agreed amount of the chosen product from the player.booleanOutfitChangerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) Transacts the sale that has been agreed on earlier via setChosenItem() and setAmount().booleanProducerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser npc, Player player) Tries to take all the resources required to produce the agreed amount of the product from the player.booleanRepairerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) booleanSellerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) Transacts the sale that has been agreed on earlier via setChosenItem() and setAmount().abstract booleanTransactionBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) Transacts the deal that is described in BehaviourResult.protected voidBuyerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res) Updates stored information about Player-NPC commerce transactions.protected voidOutfitChangerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res) Updates stored information about Player-NPC commerce transactions.protected voidSellerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res) Updates stored information about Player-NPC commerce transactions.