-
- All Implemented Interfaces:
-
ai.tock.bot.engine.message.Message
public final class ActionWrappedMessage implements Message
-
-
Constructor Summary
Constructors Constructor Description ActionWrappedMessage(Action action, Long delay)
-
Method Summary
Modifier and Type Method Description ActiontoAction(PlayerId playerId, String applicationId, PlayerId recipientId)StringtoPrettyString()Returns a human readable string representation of the message. BooleanisSimpleMessage()final Actioncomponent1()final Longcomponent2()final ActionWrappedMessagecopy(Action action, Long delay)EventTypegetEventType()final ActiongetAction()LonggetDelay()-
Methods inherited from class ai.tock.bot.engine.message.ActionWrappedMessage
obfuscate, toAction -
Methods inherited from class ai.tock.bot.engine.message.Message
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
toPrettyString
String toPrettyString()
Returns a human readable string representation of the message.
-
isSimpleMessage
Boolean isSimpleMessage()
-
component1
final Action component1()
-
component2
final Long component2()
-
copy
final ActionWrappedMessage copy(Action action, Long delay)
-
getEventType
EventType getEventType()
-
-
-
-