Uses of Class
games.stendhal.common.grammar.ItemParserResult
Package
Description
-
Uses of ItemParserResult in games.stendhal.common.grammar
Modifier and TypeMethodDescriptionSearch for a matching name in the available names.Modifier 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
Modifier and TypeMethodDescriptionvoid
BehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc)
void
MultiProducerBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser raiser)
void
ProducerBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser raiser)
void
RepairingBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc)
void
RepairingBehaviourAction.fireRequestOK(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc)
-
Uses of ItemParserResult in games.stendhal.server.entity.npc.behaviour.impl
Modifier and TypeClassDescriptionclass
Result of parsing an user request in Behaviour classes.Modifier and TypeMethodDescriptionboolean
MultiProducerBehaviour.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.boolean
ProducerBehaviour.askForResources(ItemParserResult res, EventRaiser npc, Player player)
Tries to take all the resources required to produce amount units of the product from the player.int
MerchantBehaviour.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 void
BuyerBehaviour.payPlayer(ItemParserResult res, Player player)
Gives the money for the deal to the player.boolean
BuyerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
Transacts the deal that is described in BehaviourResult.boolean
MultiProducerBehaviour.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.boolean
OutfitChangerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
Transacts the sale that has been agreed on earlier via setChosenItem() and setAmount().boolean
ProducerBehaviour.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.boolean
RepairerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
boolean
SellerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
Transacts the sale that has been agreed on earlier via setChosenItem() and setAmount().abstract boolean
TransactionBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
Transacts the deal that is described in BehaviourResult.protected void
BuyerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res)
Updates stored information about Player-NPC commerce transactions.protected void
SellerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res)
Updates stored information about Player-NPC commerce transactions.