ActorTopicDatabaseclass | actor.t[2841], scenetopic.t[78]

A TopicDatabase is an object that can contain TopicEntries and return the best match on request. ActorTopicDatabase is a specialization of TopicDatabase for use with the conversation system, and is used as a mix-in class in the list of classes from which Actor and ActorState inherit.

Modified in scenetopic.t[78]:
Modifications to ActorTopicDatabase for SceneTopic extension

`class ActorTopicDatabase : TopicDatabase`

Superclass Tree (in declaration order)

`ActorTopicDatabase`
`TopicDatabase`
`object`

Subclass Tree

`ActorTopicDatabase`
`Actor`
`ActorState`

Global Objects

(none)

Summary of Properties

`askForTopics askTopics commandTopics defaultAgendaTopic giveTopics initiateTopics miscTopics queryTopics sayTopics sceneEndTopics sceneStartTopics showTopics talkTopics tellTopics`

``

Summary of Methods

`initiateTopic listableTopics`

Inherited from `TopicDatabase` :
`addTopic getBestMatch`

Properties

`askForTopics` | `actor.t[2857]`

no description available

`askTopics` | `actor.t[2851]`

The various lists of TopicEntries located within this TopicDatabase. For exampel the askTopics list would contain a list of all our AskTopics. Note that the same TopicEntry can appear in more than one list; for example an AskTellTopic would appear in both the askTopics list and the tellTopics list, and a DefaultAnyTopic would appear in all the lists apart from initiateTopics.

`commandTopics` | `actor.t[2861]`

no description available

`defaultAgendaTopic` | `actor.t[2921]`

Obtain the identify of any DefaultAgendaTopic contained in this database

`giveTopics` | `actor.t[2855]`

no description available

`initiateTopics` | `actor.t[2859]`

no description available

`miscTopics` | `actor.t[2860]`

no description available

`queryTopics` | `actor.t[2854]`

no description available

`sayTopics` | `actor.t[2853]`

no description available

`sceneEndTopics` | `scenetopic.t[80]`

no description available

`sceneStartTopics` | `scenetopic.t[79]`

no description available

`showTopics` | `actor.t[2856]`

no description available

`talkTopics` | `actor.t[2858]`

no description available

`tellTopics` | `actor.t[2852]`

no description available

Methods

`initiateTopic (top)` | `actor.t[2925]`

Handle an InitiateTopic

`listableTopics ( )` | `actor.t[2870]`

Return a list of our listable topics, that is the topic entries located within us that should be included in a topic inventory listing because they are (a) currently reachable and (b) currently marked for listing. The resulting list forms part of the list passed to the suggestedTopicLister.

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2