Uses of Class
games.stendhal.common.parser.Sentence
Packages that use Sentence
Package
Description
implements the NPC conversation parser.
This package contains conditions frequently used in quests.
Deathmatch: Actions for SpeakerNPCs and internal handling.
Interactive scripts that high level admins can invoke.
-
Uses of Sentence in games.stendhal.common.grammar
Methods in games.stendhal.common.grammar with parameters of type SentenceModifier and TypeMethodDescriptionSearch for a matching name in the available names. -
Uses of Sentence in games.stendhal.common.parser
Subclasses of Sentence in games.stendhal.common.parserModifier and TypeClassDescriptionfinal classSentenceImplementation contains the implementation details of building Sentence objects.Methods in games.stendhal.common.parser that return SentenceModifier and TypeMethodDescriptionstatic SentenceParse function without conversation context.static SentenceConversationParser.parse(String text, ConversationContext ctx) Parse the given text sentence.static SentenceConversationParser.parse(String text, ConversationContext ctx, ExpressionMatcher matcher) Parse the given text sentence using an ConversationContext and an explicit Expression matcher.static SentenceConversationParser.parse(String text, ExpressionMatcher matcher) Parse the given text sentence using an explicit Expression matcher.Sentence.parse(ConversationContext ctx) Parse the sentence again, using the given conversation context.static SentenceConversationParser.parseAsMatcher(String text) Parse the given text sentence to be used for sentence matching.static SentenceConversationParser.parseAsMatchingSource(String text) Parse the given text sentence to be used as matching source.Sentence.parseAsMatchingSource()Return a parsed sentence object to be used as source in matching.Methods in games.stendhal.common.parser with parameters of type SentenceModifier and TypeMethodDescriptionstatic StringConversationParser.detectSentenceType(String text, Sentence sentence) Evaluates and sets sentence type by looking at the trailing punctuation characters.Sentence.diffNormalized(Sentence other) Compare two sentences and return the difference as String.booleanSentence.equalsNormalized(Sentence other) Check if two Sentences consist of identical normalized Expressions.booleanSentence.matchesFull(Sentence other) Check if the Sentence completely matches the given Sentence.booleanSentence.matchesStart(Sentence other) Check if the Sentence start matches the given Sentence.Constructors in games.stendhal.common.parser with parameters of type Sentence -
Uses of Sentence in games.stendhal.server.core.rp.achievement.condition
Methods in games.stendhal.server.core.rp.achievement.condition with parameters of type SentenceModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean -
Uses of Sentence in games.stendhal.server.entity.npc
Methods in games.stendhal.server.entity.npc with parameters of type SentenceModifier and TypeMethodDescriptionvoidChatAction.fire(Player player, Sentence sentence, EventRaiser npc) booleanbooleanSpeakerNPC.mayGreetingConditionBeExecuted(Object owner, Player player, Sentence sentence) checks that there are no other greeting transitions with higher priority -
Uses of Sentence in games.stendhal.server.entity.npc.action
Methods in games.stendhal.server.entity.npc.action with parameters of type SentenceModifier and TypeMethodDescriptionvoidAddItemToCollectionAction.fire(Player player, Sentence sentence, EventRaiser npc) voidChangePlayerOutfitAction.fire(Player player, Sentence sentence, EventRaiser npc) voidChangePlayerOutfitAndPreserveTempAction.fire(Player player, Sentence sentence, EventRaiser npc) voidCollectRequestedItemsAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidComplainAboutSentenceErrorAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidConditionalAction.fire(Player player, Sentence sentence, EventRaiser npc) voidCreateSlotAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDecreaseKarmaAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidDisableFeatureAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDropFirstOwnedItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDropItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDropItemdataItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDropRecordedItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidEnableFeatureAction.fire(Player player, Sentence sentence, EventRaiser npc) voidEquipItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidEquipRandomAmountOfItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidEquipRandomItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidExamineChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidIncreaseItemExchangeAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidIncreaseKarmaAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidIncreaseXPAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidIncreaseXPDependentOnLevelAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidIncrementQuestAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidInflictStatusOnNPCAction.fire(Player player, Sentence sentence, EventRaiser npc) voidJailAction.fire(Player player, Sentence sentence, EventRaiser npc) voidListProducedItemDetailAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidListProducedItemsOfClassAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidLoadSignFromHallOfFameAction.fire(Player player, Sentence sentence, EventRaiser npc) voidMultipleActions.fire(Player player, Sentence sentence, EventRaiser npc) voidNPCEmoteAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidNPCSetDirection.fire(Player player, Sentence sentence, EventRaiser npc) voidOutputQuestSlotAction.fire(Player player, Sentence sentence, EventRaiser npc) voidPlaySoundAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidRandomAction.fire(Player player, Sentence sentence, EventRaiser npc) voidRemoveStorableEntityAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidResetBlockChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidSayNPCNamesForUnstartedQuestsAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayRequiredItemAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayRequiredItemsFromCollectionAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayTextAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayTimeRemainingAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayTimeRemainingUntilTimeReachedAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayUnstartedQuestDescriptionFromNPCNameAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSendPrivateMessageAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetHallOfFameToAgeDiffAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestAndModifyKarmaAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestToFutureRandomTimeStampAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestToPlayerAgeAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestToTimeStampAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestToYearAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidStartItemsCollectionWithLimitAction.fire(Player player, Sentence sentence, EventRaiser npc) voidStartRecordingKillsAction.fire(Player player, Sentence sentence, EventRaiser npc) voidStartRecordingRandomItemCollectionAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidStoreMessageAction.fire(Player player, Sentence sentence, EventRaiser npc) voidTargetNPCSayTextAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidTeleportAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidBehaviourAction.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 Sentence in games.stendhal.server.entity.npc.condition
Methods in games.stendhal.server.entity.npc.condition with parameters of type SentenceModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanreturn true if player have killed proper creature numbers.booleanreturn true if player have killed proper sum of creatures.booleanreturn true if player need update, or if required update was unsuccessful.booleanbooleanbooleanDoes the checking for number of creatures killedbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean -
Uses of Sentence in games.stendhal.server.entity.npc.fsm
Methods in games.stendhal.server.entity.npc.fsm with parameters of type SentenceModifier and TypeMethodDescriptionvoidPostTransitionAction.fire(Player player, Sentence sentence, EventRaiser raiser) does some action after a transition.booleancan the transition be done?booleanTransition.isConditionFulfilled(Player player, Sentence sentence, SpeakerNPC npc) Checks whether this transition's condition is fulfilled.booleanMatchType.match(Transition transition, ConversationStates currentState, Sentence sentence) booleanTransition.matches(ConversationStates currentState, Sentence sentence) Checks whether this transition is possible now.booleanTransition.matchesNormalized(ConversationStates state, Sentence sentence) Checks whether this transition is possible now by using matching of the normalized expression.booleanTransition.matchesSimilar(ConversationStates state, Sentence sentence) Checks whether this transition is possible now by checking the similarity of the normalized expression.booleanTransition.matchesWild(Sentence sentence) Checks whether this is a "wildcard" transition (see class comment of SpeakerNPC) which can be fired by the given text.booleanTransition.matchesWildNormalized(Sentence sentence) Checks whether this is a "wildcard" transition (see class comment of SpeakerNPC) and the normalized text matches the trigger.booleanTransition.matchesWildSimilar(Sentence sentence) Checks whether this is a "wildcard" transition (see class comment of SpeakerNPC) and the normalized text is similar to the trigger.booleanDo one transition of the finite state machine. -
Uses of Sentence in games.stendhal.server.maps.deathmatch
Methods in games.stendhal.server.maps.deathmatch with parameters of type SentenceModifier and TypeMethodDescriptionvoidBailAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidDoneAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidLeaveAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidStartAction.fire(Player player, Sentence sentence, EventRaiser raiser) -
Uses of Sentence in games.stendhal.server.maps.quests
Methods in games.stendhal.server.maps.quests with parameters of type Sentence -
Uses of Sentence in games.stendhal.server.maps.quests.captureflag
Methods in games.stendhal.server.maps.quests.captureflag with parameters of type SentenceModifier and TypeMethodDescriptionvoidJoinCaptureFlagAction.fire(Player player, Sentence sentence, EventRaiser npc) voidLeaveCaptureFlagAction.fire(Player player, Sentence sentence, EventRaiser npc) booleanvoidProvideArrowsAction.fire(Player player, Sentence sentence, EventRaiser npc) voidProvideCTFFlagsAction.fire(Player player, Sentence sentence, EventRaiser npc) -
Uses of Sentence in games.stendhal.server.maps.quests.piedpiper
Methods in games.stendhal.server.maps.quests.piedpiper with parameters of type Sentence -
Uses of Sentence in games.stendhal.server.maps.quests.revivalweeks
Methods in games.stendhal.server.maps.quests.revivalweeks with parameters of type SentenceModifier and TypeMethodDescriptionvoidPhotographerChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidPhotographerSellChatAction.fire(Player player, Sentence sentence, EventRaiser npc) -
Uses of Sentence in games.stendhal.server.maps.semos.jail
Methods in games.stendhal.server.maps.semos.jail with parameters of type Sentence -
Uses of Sentence in games.stendhal.server.maps.semos.tavern.market
Methods in games.stendhal.server.maps.semos.tavern.market with parameters of type SentenceModifier and TypeMethodDescriptionvoidExamineOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidFetchEarningsChatAction.fire(Player player, Sentence sentence, EventRaiser npc) booleanvoidProlongOfferHandler.ConfirmProlongOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidProlongOfferHandler.ProlongOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidRemoveOfferHandler.ConfirmRemoveOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidRemoveOfferHandler.RemoveOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidShowOfferItemsChatAction.fire(Player player, Sentence sentence, EventRaiser npc) show a list of all items for which offers exist.voidShowOffersChatAction.fire(Player player, Sentence sentence, EventRaiser npc) protected IntegerKnownOffersChatAction.getOfferNumberFromSentence(Sentence sentence) -
Uses of Sentence in games.stendhal.server.script
Methods in games.stendhal.server.script with parameters of type SentenceModifier and TypeMethodDescriptionvoidAdminMaker.TeleportAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidAdminMaker.UpgradeAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidBetManager.BetAction.fire(Player player, Sentence sentence, EventRaiser raiser) booleanbooleanvoidDebuggera.SightseeingAction.fire(Player player, Sentence sentence, EventRaiser raiser)