类 InactivityConversationCanceller

java.lang.Object
org.bukkit.conversations.InactivityConversationCanceller
所有已实现的接口:
Cloneable, ConversationCanceller

public class InactivityConversationCanceller extends Object implements ConversationCanceller
InactivityConversationCanceller 会在用户一段时间不活动后取消 Conversation。
  • 字段详细资料

    • plugin

      protected Plugin plugin
    • timeoutSeconds

      protected int timeoutSeconds
    • conversation

      protected Conversation conversation
  • 构造器详细资料

    • InactivityConversationCanceller

      public InactivityConversationCanceller(@NotNull @NotNull Plugin plugin, int timeoutSeconds)
      创建一个 InactivityConversationCanceller。

      原文: Creates an InactivityConversationCanceller.

      参数:
      plugin - 拥有此取消器的插件。
      timeoutSeconds - 等待不活动的秒数。
  • 方法详细资料