Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.conversations.ConversationPrefix Interface Reference
Inheritance diagram for org.bukkit.conversations.ConversationPrefix:
org.bukkit.conversations.NullConversationPrefix org.bukkit.conversations.PluginNameConversationPrefix

Public Member Functions

String getPrefix (ConversationContext context)
 

Detailed Description

A ConversationPrefix implementation prepends all output from the conversation to the player. The ConversationPrefix can be used to display the plugin name or conversation status as the conversation evolves.

Definition at line 10 of file ConversationPrefix.java.

Member Function Documentation

String org.bukkit.conversations.ConversationPrefix.getPrefix ( ConversationContext  context)

Gets the prefix to use before each message to the player.

Parameters
contextContext information about the conversation.
Returns
The prefix text.

Implemented in org.bukkit.conversations.PluginNameConversationPrefix, and org.bukkit.conversations.NullConversationPrefix.

Referenced by org.bukkit.conversations.Conversation.acceptInput(), and org.bukkit.conversations.Conversation.outputNextPrompt().


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