tock / ai.tock.bot.definition / StoryDataStepBase / <init>

<init>

StoryDataStepBase(select: TD.(T) -> Boolean = { false }, setup: T.(TD) -> D = { @Suppress("UNCHECKED_CAST") EmptyData as D }, reply: T.(D) -> Any?)

Base class for StoryDataStep implementations.

Parameters

T - the StoryDef

TD - the StoryDef data

D - the step data