ConsoleCommandSender
, Player
public interface Conversable
Modifier and Type | Method | Description |
---|---|---|
void |
abandonConversation(@NotNull Conversation conversation) |
Abandons an active conversation.
|
void |
abandonConversation(@NotNull Conversation conversation,
@NotNull ConversationAbandonedEvent details) |
Abandons an active conversation.
|
void |
acceptConversationInput(@NotNull String input) |
Accepts input into the active conversation.
|
boolean |
beginConversation(@NotNull Conversation conversation) |
Enters into a dialog with a Conversation object.
|
boolean |
isConversing() |
Tests to see of a Conversable object is actively engaged in a
conversation.
|
void |
sendRawMessage(@NotNull String message) |
Sends this sender a message raw
|
boolean isConversing()
void acceptConversationInput(@NotNull @NotNull String input)
input
- The input message into the conversationboolean beginConversation(@NotNull @NotNull Conversation conversation)
conversation
- The conversation to beginvoid abandonConversation(@NotNull @NotNull Conversation conversation)
conversation
- The conversation to abandonvoid abandonConversation(@NotNull @NotNull Conversation conversation, @NotNull @NotNull ConversationAbandonedEvent details)
conversation
- The conversation to abandondetails
- Details about why the conversation was abandonedvoid sendRawMessage(@NotNull @NotNull String message)
message
- Message to be displayedCopyright © 2020. All rights reserved.