本文整理汇总了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)