コード例 #1
0
 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)
コード例 #2
0
 def setHangarSpace(self, hangarSpace, hangarSpacePremium):
     g_clientHangarSpaceOverride.setPath(hangarSpacePremium,
                                         isPremium=True,
                                         isReload=False)
     g_clientHangarSpaceOverride.setPath(hangarSpace,
                                         isPremium=False,
                                         isReload=False)
コード例 #3
0
 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
コード例 #4
0
 def setHangarSpace(self, hangarSpace, hangarSpacePremium):
     from gui.ClientHangarSpace import g_clientHangarSpaceOverride
     g_clientHangarSpaceOverride.setPath(hangarSpacePremium, True, False)
     g_clientHangarSpaceOverride.setPath(hangarSpace, False, False)
コード例 #5
0
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')
コード例 #6
0
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')