SystemActionclassaction.t[1022], objtime.t[221]

The SystemAction class is for actions not affecting the game world but rather acting on the game session, such as SAVE, RESTORE and QUIT.

class SystemAction :   IAction

Superclass Tree   (in declaration order)

SystemAction
        IAction
                Action
                        ReplaceRedirector
                                Redirector
                                        object

Subclass Tree  

SystemAction
        FileOpAction

Global Objects  

About  Again  Brief  CmdMenu  Credits  Debug  DebugI  EnumerateSuggestions  Exits  ExitsColour  ExitsMode  ExtraHints  FactInfo  FootnoteAction  Footnotes  FootnotesStatus  FullScore  Help  Hints  HintsOff  HyperlinkSuggestions  Instructions  Intro  InventoryTall  InventoryWide  ListFacts  ListRelations  ListTests  Notify  NotifyOff  NotifyOn  Quit  RecordOff  RelationDetails  Restart  Restore  Sample  Score  ScriptOff  ToggleDisambigEnumeration  Topics  Undo  Verbose  Version  WhereHelp 

Summary of Properties  

includeInUndo  isRepeatable  timeTaken  turnsTaken 

Inherited from IAction :
againRepeatsParse 

Inherited from Action :
actionFailed  advanceOnFailure  allowAll  extraMessageParams  failCheckMsg  failedActionCountsAsTurn  implicitTimeTaken  isConversational  isImplicit  oldRoom  parentAction  parentAllowAll  preCond  redirectParent  reportImplicitActions  scopeList  spellingPriority  synthParamID  unhides  verbRule  verifyObj  wasIlluminated 

Summary of Methods  

afterAction  exec  execCycle  getInputFile  turnSequence 

Inherited from IAction :
execResolvedAction  resolvedObjectsInScope  scoreObjects  setResolvedObjects 

Inherited from Action :
acknowledgeNotifyStatus  addExtraScopeItems  addImplicitTime  advanceTime  announceObject  beforeAction  buildImplicitActionAnnouncement  buildScopeList  checkAction  checkActionPreconditions  commandNotPresent  execAction  execGroup  getAll  getAllUnhidden  getMessageParam  getPostImplicitReports  implicitAnnouncement  reportAction  setMessageParam  setMessageParams  spPrefix  spSuffix  synthMessageParam  verify  verifyObjRole  wrapObjectsNP 

Inherited from ReplaceRedirector :
redirect 

Inherited from Redirector :
askMissingLiteral  doInstead  doNested  doOtherAction 

Properties  

includeInUndoOVERRIDDENaction.t[1024]

A SystemAction is not normally undo-able

isRepeatableOVERRIDDENaction.t[1027]
A SystemAction is not normally repeatable

timeTakenOVERRIDDENobjtime.t[226]
For OBJTIME extension; a SystemAction shouldn't normally take any game clock time.

turnsTakenOVERRIDDENaction.t[1046]
A SystemAction doesn't take any turns (this is a bit belt-and-braces since turnSequence does nothing in any case).

Methods  

afterAction ( )OVERRIDDENaction.t[1033]

Since a SystemAction isn't an action in the game world, we don't want it to trigger any after action notifications.

exec (cmd)OVERRIDDENaction.t[1052]
Since this isn't an action within the game world we bypass all the normal pre-action handling and just execute a reduced cycle.

execCycle (cmd)OVERRIDDENaction.t[1059]
There's no before notifications for a SystemAction so we simply execute the action and, if we should define it as repeatable, make a note of it in case the player issues an AGAIN command on the next turn.

getInputFile (prompt, dialogType, fileType, flags)action.t[1093]
Ask for an input file. We call the input manager, which displays the appropriate local file selector dialog. This is used for SystemActions that need a file to act on, such as SAVE, RESTORE and QUIT.

turnSequence ( )OVERRIDDENaction.t[1040]
Since a SystemAction isn't an action in the game world, we don't want it to count as a turn, so we don't run any Daemons or Fuses and we don't advance the turn count.

Adv3Lite Library Reference Manual
Generated on 03/07/2024 from adv3Lite version 2.1