TopicEntry

Class · class TopicEntry: object · Source

An ask or tell response matched to a topic and optionally an actor state.

Audience: author

Superclass: object

Declared members

  • actor — property; Actor who offers this topic response.
  • id — property; Message id used for the response.
  • inState — property; Restrict the entry to this actor state, or nil for any state.
  • isActive — property; Whether this entry currently participates in topic matching.
  • isAsk — property; Match ask exchanges when true and tell exchanges otherwise.
  • matchObj — property; Topic or object matched by this entry.
  • once — property; Retire this topic entry after its first accepted exchange.
  • reply — property; internal
  • used — property; Library-maintained record of whether this entry was accepted.
  • waits — property; Advance a turn after delivering the topic response.

Member details

actor

actor = nil · Source

Actor who offers this topic response.

id

id = nil · Source

Message id used for the response.

inState

inState = nil · Source

Restrict the entry to this actor state, or nil for any state.

isActive

isActive = true · Source

Whether this entry currently participates in topic matching.

isAsk

isAsk = true · Source

Match ask exchanges when true and tell exchanges otherwise.

matchObj

matchObj = nil · Source

Topic or object matched by this entry.

once

once = nil · Source

Retire this topic entry after its first accepted exchange.

reply

reply = nil · Source

Literal response text for a terminal-only game.

reply ="There is no answer. " · Source

Internal implementation detail; no supported authoring contract is documented.

used

used = nil · Source

Library-maintained record of whether this entry was accepted.

waits

waits = nil · Source

Advance a turn after delivering the topic response.