程序包 | 说明 |
---|---|
org.bukkit.conversations |
致力于简化玩家与插件的直接通信的类(玩家与插件的对话,典型的场景比如操作的确认、提供插件所需数据).
|
限定符和类型 | 字段和说明 |
---|---|
protected Conversation |
InactivityConversationCanceller.conversation |
限定符和类型 | 方法和说明 |
---|---|
Conversation |
ConversationFactory.buildConversation(Conversable forWhom)
Constructs a
Conversation in accordance with the defaults set
for this factory. |
限定符和类型 | 方法和说明 |
---|---|
void |
Conversable.abandonConversation(Conversation conversation)
Abandons an active conversation.
|
void |
Conversable.abandonConversation(Conversation conversation,
ConversationAbandonedEvent details)
Abandons an active conversation.
|
boolean |
Conversable.beginConversation(Conversation conversation)
Enters into a dialog with a Conversation object.
|
protected void |
InactivityConversationCanceller.cancelling(Conversation conversation)
Subclasses of InactivityConversationCanceller can override this method
to take additional actions when the inactivity timer abandons the
conversation.
|
void |
ManuallyAbandonedConversationCanceller.setConversation(Conversation conversation) |
void |
InactivityConversationCanceller.setConversation(Conversation conversation) |
void |
ExactMatchConversationCanceller.setConversation(Conversation conversation) |
void |
ConversationCanceller.setConversation(Conversation conversation)
设置本ConversationCanceller可以取消的会话.
|
构造器和说明 |
---|
ConversationAbandonedEvent(Conversation conversation) |
ConversationAbandonedEvent(Conversation conversation,
ConversationCanceller canceller) |