tock / ai.tock.bot.engine.message / ActionWrappedMessage

ActionWrappedMessage

data class ActionWrappedMessage : Message (source)

Constructors

<init>

ActionWrappedMessage(action: Action, delay: Long)

Properties

action

val action: Action

delay

val delay: Long

eventType

val eventType: EventType

Functions

isSimpleMessage

fun isSimpleMessage(): Boolean

toAction

fun toAction(playerId: PlayerId, applicationId: String, recipientId: PlayerId): Action

toPrettyString

Returns a human readable string representation of the message.

fun toPrettyString(): String