本文整理汇总了Python中gui.Scaleform.daapi.view.lobby.customization.CustomizationHelper.clearStoredCustomizationData方法的典型用法代码示例。如果您正苦于以下问题:Python CustomizationHelper.clearStoredCustomizationData方法的具体用法?Python CustomizationHelper.clearStoredCustomizationData怎么用?Python CustomizationHelper.clearStoredCustomizationData使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类gui.Scaleform.daapi.view.lobby.customization.CustomizationHelper
的用法示例。
在下文中一共展示了CustomizationHelper.clearStoredCustomizationData方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: _dispose
# 需要导入模块: from gui.Scaleform.daapi.view.lobby.customization import CustomizationHelper [as 别名]
# 或者: from gui.Scaleform.daapi.view.lobby.customization.CustomizationHelper import clearStoredCustomizationData [as 别名]
def _dispose(self):
self.fireEvent(LobbySimpleEvent(LobbySimpleEvent.HIDE_HANGAR, False))
self.__resetPreviewMode()
for interface in self.__interfaces.itervalues():
interface.destroy()
interface.onDataInited -= self.__ci_onDataInited
interface.onCustomizationChangeSuccess -= self.__ci_onCustomizationChangeSuccess
interface.onCustomizationChangeFailed -= self.__ci_onCustomizationChangeFailed
interface.onCustomizationDropSuccess -= self.__ci_onCustomizationDropSuccess
interface.onCustomizationDropFailed -= self.__ci_onCustomizationDropFailed
interface.onCurrentItemChange -= self.__ci_onCurrentItemChanged
self.__interfaces.clear()
self.__onceDataInited = False
g_itemsCache.onSyncCompleted -= self.__pe_onShopResync
game_control.g_instance.igr.onIgrTypeChanged -= self.__onIGRTypeChanged
g_currentVehicle.onChanged -= self.__cv_onChanged
g_hangarSpace.onSpaceCreate -= self.__hs_onSpaceCreate
g_playerEvents.onDossiersResync -= self.__pe_onDossiersResync
g_clientUpdateManager.removeObjectCallbacks(self)
CustomizationHelper.clearStoredCustomizationData()
View._dispose(self)