本文整理匯總了Python中hypershade.usersession.UserSessionManager.destroy方法的典型用法代碼示例。如果您正苦於以下問題:Python UserSessionManager.destroy方法的具體用法?Python UserSessionManager.destroy怎麽用?Python UserSessionManager.destroy使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類hypershade.usersession.UserSessionManager
的用法示例。
在下文中一共展示了UserSessionManager.destroy方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: userKicked
# 需要導入模塊: from hypershade.usersession import UserSessionManager [as 別名]
# 或者: from hypershade.usersession.UserSessionManager import destroy [as 別名]
def userKicked(self, kickee, channel, kicker, message):
UserSessionManager.destroy(("irc",kickee))
示例2: userQuit
# 需要導入模塊: from hypershade.usersession import UserSessionManager [as 別名]
# 或者: from hypershade.usersession.UserSessionManager import destroy [as 別名]
def userQuit(self, user, quitMessage):
UserSessionManager.destroy(("irc",user))
示例3: playerdisconnect
# 需要導入模塊: from hypershade.usersession import UserSessionManager [as 別名]
# 或者: from hypershade.usersession.UserSessionManager import destroy [as 別名]
def playerdisconnect(cn):
UserSessionManager.destroy(("ingame",cn))
示例4: userLeft
# 需要導入模塊: from hypershade.usersession import UserSessionManager [as 別名]
# 或者: from hypershade.usersession.UserSessionManager import destroy [as 別名]
def userLeft(self, user, channel):
UserSessionManager.destroy(("irc",user))
示例5: playerdisconnect
# 需要導入模塊: from hypershade.usersession import UserSessionManager [as 別名]
# 或者: from hypershade.usersession.UserSessionManager import destroy [as 別名]
def playerdisconnect(cn):
UserSessionManager.destroy(("ingame",cn))
if cn in muted_cns:
muted_cns.remove(cn)