Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.conversations.Conversable Interface Reference

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

+ Inheritance diagram for org.bukkit.conversations.Conversable:

Public Member Functions

boolean isConversing ()
 Tests to see of a Conversable object is actively engaged in a conversation.
 
void acceptConversationInput (String input)
 Accepts input into the active conversation.
 
boolean beginConversation (Conversation conversation)
 Enters into a dialog with a Conversation object.
 
void abandonConversation (Conversation conversation)
 Abandons an active conversation.
 
void abandonConversation (Conversation conversation, ConversationAbandonedEvent details)
 Abandons an active conversation.
 
void sendRawMessage (String message)
 Sends this sender a message raw.
 

Detailed Description

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

Definition at line 8 of file Conversable.java.

Member Function Documentation

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

Abandons an active conversation.

Parameters
conversationThe conversation to abandon

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
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
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

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
void org.bukkit.conversations.Conversable.sendRawMessage ( String  message)

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