# 类的使用
org.bukkit.conversations.Conversation

使用Conversation的程序包
程序包
说明
org.bukkit.conversations
致力于简化玩家与插件的直接通信的类(玩家与插件的对话，典型的场景比如操作的确认、提供插件所需数据).

- ## org.bukkit.conversations中Conversation的使用

  声明为Conversation的org.bukkit.conversations中的字段
  修饰符和类型
  字段
  说明
  `protected Conversation`
  InactivityConversationCanceller.`conversation`
  返回Conversation的org.bukkit.conversations中的方法
  修饰符和类型
  方法
  说明
  `@NotNull Conversation`
  ConversationFactory.`buildConversation(@NotNull Conversable forWhom)`
  Constructs a `Conversation` in accordance with the defaults set for this factory.
  参数类型为Conversation的org.bukkit.conversations中的方法
  修饰符和类型
  方法
  说明
  `void`
  Conversable.`abandonConversation(@NotNull Conversation conversation)`
  Abandons an active conversation.
  `void`
  Conversable.`abandonConversation(@NotNull Conversation conversation, @NotNull ConversationAbandonedEvent details)`
  Abandons an active conversation.
  `boolean`
  Conversable.`beginConversation(@NotNull Conversation conversation)`
  Enters into a dialog with a Conversation object.
  `protected void`
  InactivityConversationCanceller.`cancelling(@NotNull Conversation conversation)`
  Subclasses of InactivityConversationCanceller can override this method to take additional actions when the inactivity timer abandons the conversation.
  `void`
  ConversationCanceller.`setConversation(@NotNull Conversation conversation)`
  设置本ConversationCanceller可以取消的会话.
  `void`
  ExactMatchConversationCanceller.`setConversation(@NotNull Conversation conversation)`
  `void`
  InactivityConversationCanceller.`setConversation(@NotNull Conversation conversation)`
  `void`
  ManuallyAbandonedConversationCanceller.`setConversation(@NotNull Conversation conversation)`
  参数类型为Conversation的org.bukkit.conversations中的构造器
  限定符
  构造器
  说明
  ``
  `ConversationAbandonedEvent(@NotNull Conversation conversation)`
  ``
  `ConversationAbandonedEvent(@NotNull Conversation conversation, @Nullable ConversationCanceller canceller)`