make cargo balance ui updating its own component (#28295)

* add BankClientComponent and event

* query BankClient instead of hardcoded CargoOrderConsole for updating

* add BankClient to all ordering consoles

* :trollface:

* add Balance field to BankClient

* forgor

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

* m

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
This commit is contained in:
deltanedas
2024-07-13 06:11:14 +00:00
committed by GitHub
parent 044d84142c
commit 87f7ea8aa9
6 changed files with 46 additions and 7 deletions

View File

@@ -69,6 +69,7 @@
- type: RadarConsole
followEntity: true
- type: CargoOrderConsole
- type: BankClient
- type: CrewMonitoringConsole
- type: GeneralStationRecordConsole
canDeleteEntries: true

View File

@@ -548,6 +548,7 @@
tags:
- Write
- type: CargoOrderConsole
- type: BankClient
- type: ActivatableUI
verbText: qm-clipboard-computer-verb-text
key: enum.CargoConsoleUiKey.Orders

View File

@@ -735,6 +735,7 @@
- map: ["computerLayerKeys"]
state: tech_key
- type: CargoOrderConsole
- type: BankClient
- type: ActiveRadio
channels:
- Supply