]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix handlabeler/utility belt misprediction (#26660)
authorosjarw <62134478+osjarw@users.noreply.github.com>
Sun, 28 Apr 2024 04:19:30 +0000 (07:19 +0300)
committerGitHub <noreply@github.com>
Sun, 28 Apr 2024 04:19:30 +0000 (14:19 +1000)
commita4504e2fefbead6b21a19f93a43148d6a9e6ebab
treecb32bbc12996c381075ff21c1aefed2e73e9eea7
parent1c78f60bc3ae209ffcac8b18f0e5e1b6b7f43489
Fix handlabeler/utility belt misprediction (#26660)

* Fix handlabeler/utility belt misprediction

* Partly moved HandLabelerSystem to shared
And cleaned up HandLabelerComponent

* WIP format the files so later commits look clearer
Doesn't change individual code lines, but may move
functions to another file

* WIP some more code movement

* Hand Labeler is now mostly predicted
Only the UI isn't

* WIP: Formatting and moved stuff

* Using componentstates for prediction correction

* review

* Update label on label change

* Don't overwrite label while editing

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
Content.Client/Labels/EntitySystems/HandLabelerSystem.cs [new file with mode: 0644]
Content.Client/Labels/UI/HandLabelerBoundUserInterface.cs
Content.Client/Labels/UI/HandLabelerWindow.xaml.cs
Content.Server/Labels/Label/Components/HandLabelerComponent.cs [deleted file]
Content.Server/Labels/Label/HandLabelerSystem.cs
Content.Server/Labels/Label/LabelSystem.cs
Content.Shared/Labels/Components/HandLabelerComponent.cs [new file with mode: 0644]
Content.Shared/Labels/EntitySystems/SharedHandLabelerSystem.cs [new file with mode: 0644]
Content.Shared/Labels/EntitySystems/SharedLabelSystem.cs
Content.Shared/Labels/LabelEvents.cs