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

insurgencyPanel.py (754B)


      1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\shared\theatersOfWar\dashboard\insurgencyPanel.py
      2 from carbonui import Align
      3 from carbonui.primitives.container import Container
      4 from pirateinsurgency.client.dashboard.dashboard import InsurgentsDashboardPanel
      5 
      6 class InsurgencyPanel(Container):
      7     default_align = Align.TOALL
      8     default_name = 'insurgencyPanel'
      9 
     10     def ApplyAttributes(self, attributes):
     11         self.panel_constructed = False
     12         super(InsurgencyPanel, self).ApplyAttributes(attributes)
     13 
     14     def LoadPanel(self, was_panel_selected = False, **kwargs):
     15         if not self.panel_constructed:
     16             self.panel_constructed = True
     17             InsurgentsDashboardPanel(parent=self)