def ApplyAttributes(self, attributes): if attributes.isCapital: attributes.texturePath = 'res:/ui/Texture/classes/Sov/CapitalStarSelection20.png' attributes.hint = GetByLabel('UI/Sovereignty/CurrentCapital') else: attributes.texturePath = 'res:/UI/Texture/classes/Sov/selectCapitalButton20.png' attributes.hint = GetByLabel('UI/Sovereignty/SetAsCapital') GlowSprite.ApplyAttributes(self, attributes) self.isCapital = attributes.isCapital self.solarSystemID = attributes.solarSystemID
def ApplyAttributes(self, attributes): GlowSprite.ApplyAttributes(self, attributes) self.controller = attributes.controller self.hintHeader = attributes.hintHeader self.serviceName = attributes.serviceName self.serviceID = attributes.serviceID
def ApplyAttributes(self, attributes): GlowSprite.ApplyAttributes(self, attributes) self.itemID = attributes.itemID self.hint = GetByLabel('UI/Commands/ShowLocationOnMap')
def ApplyAttributes(self, attributes): GlowSprite.ApplyAttributes(self, attributes) self.itemID = attributes.get('itemID', self.default_itemID) self.typeID = attributes.get('typeID', self.default_typeID) self.abstractinfo = attributes.get('abstractinfo', self.default_abstractinfo)
def ApplyAttributes(self, attributes): GlowSprite.ApplyAttributes(self, attributes) self.typeID = attributes.typeID self.itemID = attributes.itemID self.hint = GetByLabel('UI/Commands/ShowInfo')
def ApplyAttributes(self, attributes): GlowSprite.ApplyAttributes(self, attributes) self.typeID = attributes.typeID self.hint = GetByLabel( 'UI/Inventory/ItemActions/ViewTypesMarketDetails')