NovaBryan/EVE_Dump
Log | Files | 📦 下载最新源码 (.zip) | Refs | README

nebulaConsts.py (2462B)


      1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\cosmetics\ship\pages\studio\nebulaConsts.py
      2 from clientsettings.setting import SessionSettingNumeric
      3 from featuremanagement.client.flag import flag_bool
      4 from itertoolsext.Enum import Enum
      5 from eve.client.script.ui.cosmetics.ship.pages.studio import studioSignals
      6 skinr_nebula_backgrounds_enabled = flag_bool(key='skinr_nebulas_enabled', default_value=False, callback=studioSignals.on_backgrounds_enabled)
      7 
      8 @Enum
      9 
     10 class BackgroundEnum(object):
     11     Empty = 0
     12     AmarrHighSec = 1
     13     AmarrNullSec = 2
     14     CaldariHighSec = 3
     15     CaldariNullSec = 4
     16     GallenteHighSec = 5
     17     GallenteNullSec = 6
     18     MinmatarHighSec = 7
     19     MinmatarNullSec = 8
     20 
     21 
     22 SELECTED_SKINR_BACKGROUND = SessionSettingNumeric(BackgroundEnum.Empty)
     23 SKINR_NEBULA_LOC_LABELS = {BackgroundEnum.Empty: 'UI/Personalization/ShipSkins/SKINR/Studio/BackgroundNames/NoBackground',
     24  BackgroundEnum.AmarrHighSec: 'UI/Personalization/ShipSkins/SKINR/Studio/BackgroundNames/AmarrNebula',
     25  BackgroundEnum.AmarrNullSec: 'UI/Personalization/ShipSkins/SKINR/Studio/BackgroundNames/AmarrNebula2',
     26  BackgroundEnum.CaldariHighSec: 'UI/Personalization/ShipSkins/SKINR/Studio/BackgroundNames/CaldariNebula',
     27  BackgroundEnum.CaldariNullSec: 'UI/Personalization/ShipSkins/SKINR/Studio/BackgroundNames/CaldariNebula2',
     28  BackgroundEnum.GallenteHighSec: 'UI/Personalization/ShipSkins/SKINR/Studio/BackgroundNames/GallenteNebula',
     29  BackgroundEnum.GallenteNullSec: 'UI/Personalization/ShipSkins/SKINR/Studio/BackgroundNames/GallenteNebula2',
     30  BackgroundEnum.MinmatarHighSec: 'UI/Personalization/ShipSkins/SKINR/Studio/BackgroundNames/MinmatarNebula',
     31  BackgroundEnum.MinmatarNullSec: 'UI/Personalization/ShipSkins/SKINR/Studio/BackgroundNames/MinmatarNebula2'}
     32 SKINR_NEBULA_RES_PATHS = {BackgroundEnum.Empty: 'res:/dx9/scene/cinematic/black_cube.dds',
     33  BackgroundEnum.AmarrHighSec: 'res:/dx9/scene/universe/a07_cube.dds',
     34  BackgroundEnum.AmarrNullSec: 'res:/dx9/scene/universe/a10_cube.dds',
     35  BackgroundEnum.CaldariHighSec: 'res:/dx9/scene/universe/c02_cube.dds',
     36  BackgroundEnum.CaldariNullSec: 'res:/dx9/scene/universe/c19_cube.dds',
     37  BackgroundEnum.GallenteHighSec: 'res:/dx9/scene/universe/g04_cube.dds',
     38  BackgroundEnum.GallenteNullSec: 'res:/dx9/scene/universe/g10_cube.dds',
     39  BackgroundEnum.MinmatarHighSec: 'res:/dx9/scene/universe/m03_cube.dds',
     40  BackgroundEnum.MinmatarNullSec: 'res:/dx9/scene/universe/m17_cube.dds'}