ReplaceRedirectorclass

thing.t[950]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

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
TIAAction
TopicTAction
TravelAction
ActorTopicEntry
AltTopic
AskAboutForTopic
AskForTopic
AskTellGiveShowTopic
AskTellShowTopic
AskTellTopic
AskTopic
CommandTopic
DefaultTopic
DefaultAnyTopic
DefaultAgendaTopic
DefaultAnyNonSayTopic
DefaultAskForTopic
DefaultAskQueryTopic
DefaultAskTellTopic
DefaultAskTopic
DefaultCommandTopic
DefaultConversationTopic
DefaultNonSayTopic
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
SceneTopic
SceneEndTopic
SceneStartTopic
ShowTopic
SlaveTopic
SpecialTopic
QueryTopic
SayTopic
TalkTopic
AskTalkTopic
AskTellTalkTopic
TellTalkTopic
TellTalkShowTopic
TellTopic
BeforeRule
Thing
Actor
Button
Collective
DispensingCollective
Consultable
Container
Booth
OpenableContainer
KeyedContainer
LockableContainer
Door
SecretDoor
Fixture
CollectiveGroup
MobileCollectiveGroup
Component
ContainerDoor
Decoration
Distant
RoomPart
Ceiling
DefaultWall
SensoryEmanation
Noise
SimpleNoise
Odor
SimpleOdor
Unthing
Enterable
Heavy
Floor
Food
Immovable
Key
Lever
MinorItem
Passage
PathPassage
Player
RearContainer
Room
OutdoorRoom
Settable
Dial
NumberedDial
SimpleAttachable
AttachableComponent
NearbyAttachable
Attachable
StairwayDown
StairwayUp
SubComponent
Surface
Platform
Bed
Chair
Switch
Flashlight
SymPassage
SymDoor
SymPathPassage
SymStairway
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 15/03/2023 from adv3Lite version 1.6.1