ConsoleCommandSender
, Player
public interface Conversable
Modifier and Type | Method | Description |
---|---|---|
void |
abandonConversation(Conversation conversation) |
Abandons an active conversation.
|
void |
abandonConversation(Conversation conversation,
ConversationAbandonedEvent details) |
Abandons an active conversation.
|
void |
acceptConversationInput(String input) |
Accepts input into the active conversation.
|
boolean |
beginConversation(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(String message) |
Sends this sender a message raw
|
boolean isConversing()
void acceptConversationInput(@NotNull String input)
input
- The input message into the conversationboolean beginConversation(@NotNull Conversation conversation)
conversation
- The conversation to beginvoid abandonConversation(@NotNull Conversation conversation)
conversation
- The conversation to abandonvoid abandonConversation(@NotNull Conversation conversation, @NotNull ConversationAbandonedEvent details)
conversation
- The conversation to abandondetails
- Details about why the conversation was abandonedvoid sendRawMessage(@NotNull String message)
message
- Message to be displayedCopyright © 2019. All rights reserved.