Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.conversations.Conversable Interface Reference
Inheritance diagram for org.bukkit.conversations.Conversable:
org.bukkit.command.ConsoleCommandSender org.bukkit.conversations.FakeConversable org.bukkit.entity.Player

Public Member Functions

boolean isConversing ()
 
void acceptConversationInput (String input)
 
boolean beginConversation (Conversation conversation)
 
void abandonConversation (Conversation conversation)
 
void abandonConversation (Conversation conversation, ConversationAbandonedEvent details)
 
void sendRawMessage (String message)
 

Detailed Description

The Conversable interface is used to indicate objects that can have conversations.

Definition at line 9 of file Conversable.java.

Member Function Documentation

void org.bukkit.conversations.Conversable.abandonConversation ( Conversation  conversation)

Abandons an active conversation.

Parameters
conversationThe conversation to abandon

Implemented in org.bukkit.conversations.FakeConversable.

Referenced by org.bukkit.conversations.Conversation.abandon().

void org.bukkit.conversations.Conversable.abandonConversation ( Conversation  conversation,
ConversationAbandonedEvent  details 
)

Abandons an active conversation.

Parameters
conversationThe conversation to abandon
detailsDetails about why the conversation was abandoned

Implemented in org.bukkit.conversations.FakeConversable.

void org.bukkit.conversations.Conversable.acceptConversationInput ( String  input)

Accepts input into the active conversation. If no conversation is in progress, this method does nothing.

Parameters
inputThe input message into the conversation

Implemented in org.bukkit.conversations.FakeConversable.

boolean org.bukkit.conversations.Conversable.beginConversation ( Conversation  conversation)

Enters into a dialog with a Conversation object.

Parameters
conversationThe conversation to begin
Returns
True if the conversation should proceed, false if it has been enqueued

Implemented in org.bukkit.conversations.FakeConversable.

Referenced by org.bukkit.conversations.Conversation.begin().

boolean org.bukkit.conversations.Conversable.isConversing ( )

Tests to see of a Conversable object is actively engaged in a conversation.

Returns
True if a conversation is in progress

Implemented in org.bukkit.conversations.FakeConversable.

void org.bukkit.conversations.Conversable.sendRawMessage ( String  message)

The documentation for this interface was generated from the following file: