def setHangarSpace(self, hangarSpace, hangarSpacePremium): g_clientHangarSpaceOverride.setPath(hangarSpacePremium, SPACE_FULL_VISIBILITY_MASK, True, False) g_clientHangarSpaceOverride.setPath(hangarSpace, SPACE_FULL_VISIBILITY_MASK, False, False)
def setHangarSpace(self, hangarSpace, hangarSpacePremium): g_clientHangarSpaceOverride.setPath(hangarSpacePremium, isPremium=True, isReload=False) g_clientHangarSpaceOverride.setPath(hangarSpace, isPremium=False, isReload=False)
def __changeHangarSpace(spacePath, visibilityMask=None): if not spacePath: return False else: from gui.ClientHangarSpace import g_clientHangarSpaceOverride if visibilityMask is None: g_clientHangarSpaceOverride.setPath(spacePath, isReload=True) else: g_clientHangarSpaceOverride.setPath( spacePath, visibilityMask=visibilityMask, isReload=True) return True
def setHangarSpace(self, hangarSpace, hangarSpacePremium): from gui.ClientHangarSpace import g_clientHangarSpaceOverride g_clientHangarSpaceOverride.setPath(hangarSpacePremium, True, False) g_clientHangarSpaceOverride.setPath(hangarSpace, False, False)
def hooked_update_all(self): hook_update_all(self) if account_helpers.isPremiumAccount(g_itemsCache.items.stats.attributes): g_clientHangarSpaceOverride.setPath('spaces/hangar_premium_v2_1') else: g_clientHangarSpaceOverride.setPath('spaces/hangar_v2_1')