ReplaceRedirectorclass | thing.t[950]

A ReplaceRedirector is a Redirector that uses replaceAction (or its execNestedAction equivalent) to redirect one action to another.

`class ReplaceRedirector : Redirector`

Superclass Tree (in declaration order)

`ReplaceRedirector`
`Redirector`
`object`

Subclass Tree

`ReplaceRedirector`
`Action`
`IAction`
`LiteralAction`
`MiscConvAction`
`NumericAction`
`SystemAction`
`FileOpAction`
`TopicAction`
`ImplicitConversationAction`
`TAction`
`LiteralTAction`
`NumericTAction`
`TIAction`
`TopicTAction`
`TravelAction`
`ActorTopicEntry`
`AltTopic`
`AskAboutForTopic`
`AskForTopic`
`AskTellGiveShowTopic`
`AskTellShowTopic`
`AskTellTopic`
`AskTopic`
`CommandTopic`
`DefaultTopic`
`DefaultAnyTopic`
`DefaultAgendaTopic`
`DefaultAskForTopic`
`DefaultAskQueryTopic`
`DefaultAskTellTopic`
`DefaultAskTopic`
`DefaultCommandTopic`
`DefaultConversationTopic`
`DefaultGiveShowTopic`
`DefaultGiveTopic`
`DefaultQueryTopic`
`DefaultSayQueryTopic`
`DefaultSayTellTalkTopic`
`DefaultSayTellTopic`
`DefaultSayTopic`
`DefaultShowTopic`
`DefaultTalkTopic`
`DefaultTellTalkTopic`
`DefaultTellTopic`
`GiveShowTopic`
`GiveTopic`
`InitiateTopic`
`NodeContinuationTopic`
`NodeEndCheck`
`MiscTopic`
`GreetingTopic`
`ActorByeTopic`
`BoredByeTopic`
`ByeTopic`
`HelloGoodbyeTopic`
`HelloTopic`
`ActorHelloTopic`
`ImpHelloTopic`
`ImpByeTopic`
`LeaveByeTopic`
`HitTopic`
`KissTopic`
`NoTopic`
`TouchTopic`
`YesNoTopic`
`YesTopic`
`ShowTopic`
`SlaveTopic`
`SpecialTopic`
`QueryTopic`
`SayTopic`
`TalkTopic`
`AskTalkTopic`
`AskTellTalkTopic`
`TellTalkTopic`
`TellTalkShowTopic`
`TellTopic`
`Thing`
`Actor`
`Button`
`Consultable`
`Container`
`Booth`
`OpenableContainer`
`KeyedContainer`
`LockableContainer`
`Door`
`SecretDoor`
`Fixture`
`CollectiveGroup`
`Component`
`ContainerDoor`
`Decoration`
`Distant`
`SensoryEmanation`
`Noise`
`Odor`
`Unthing`
`Enterable`
`Heavy`
`Floor`
`Food`
`Immovable`
`Key`
`Lever`
`Passage`
`PathPassage`
`RearContainer`
`Room`
`Settable`
`Dial`
`NumberedDial`
`SimpleAttachable`
`AttachableComponent`
`NearbyAttachable`
`Attachable`
`StairwayDown`
`StairwayUp`
`SubComponent`
`Surface`
`Platform`
`Switch`
`Flashlight`
`Underside`
`Wearable`

Global Objects

(none)

Summary of Properties

``

``

(none)

Summary of Methods

`redirect`

Inherited from `Redirector` :
`doInstead doNested doOtherAction`

Properties

(none)

Methods

`redirect (cmd, altAction, dobj, :?, iobj, :?, aobj, :?, isReplacement, :, =, true)` | `thing.t[961]`

User code should normally call this method via doInstead rather than directly. cmd is the current command object, altAction is the action we want to perform instead of the current action, dobj and iobj are the direct and indirect objects of the new action, and isReplacement determines whether the new action replaces the original one (if true) or merely takes place during the execution of the original one, which then resumes when the new action is complete (if isReplacement is nil).

Adv3Lite Library Reference Manual
Generated on 28/03/2016 from adv3Lite version 1.5