]> git.smokeofanarchy.ru Git - space-station-14.git/commit
make cargo balance ui updating its own component (#28295)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Sat, 13 Jul 2024 06:11:14 +0000 (06:11 +0000)
committerGitHub <noreply@github.com>
Sat, 13 Jul 2024 06:11:14 +0000 (16:11 +1000)
commit87f7ea8aa9758a5f718c5696e5c5e0d6bc995563
treea2bbb8cecfc22d685c92a87794e2fcc108432fc9
parent044d84142c473ba91098dd23b85dc200c62d5765
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>
Content.Server/Cargo/Systems/CargoSystem.Orders.cs
Content.Server/Cargo/Systems/CargoSystem.cs
Content.Shared/Cargo/Components/BankClientComponent.cs [new file with mode: 0644]
Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml
Resources/Prototypes/Entities/Objects/Misc/paper.yml
Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml