类 InactivityConversationCanceller

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

public class InactivityConversationCanceller extends Object implements ConversationCanceller
An InactivityConversationCanceller will cancel a Conversation after a period of inactivity by the user.
  • 字段详细资料

    • plugin

      protected Plugin plugin
    • timeoutSeconds

      protected int timeoutSeconds
    • conversation

      protected Conversation conversation
  • 构造器详细资料

    • InactivityConversationCanceller

      public InactivityConversationCanceller(@NotNull @NotNull Plugin plugin, int timeoutSeconds)
      Creates an InactivityConversationCanceller.
      参数:
      plugin - The owning plugin.
      timeoutSeconds - The number of seconds of inactivity to wait.
  • 方法详细资料