接口 ConversationPrefix

所有已知实现类:
NullConversationPrefix, PluginNameConversationPrefix

public interface ConversationPrefix
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.
  • 方法概要

    修饰符和类型
    方法
    说明
    Gets the prefix to use before each message to the player.
  • 方法详细资料

    • getPrefix

      String getPrefix(ConversationContext context)
      Gets the prefix to use before each message to the player.
      参数:
      context - Context information about the conversation.
      返回:
      The prefix text.