]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Body code cleanup (#24946)
author0x6273 <0x40@keemail.me>
Thu, 28 Mar 2024 00:48:37 +0000 (01:48 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Mar 2024 00:48:37 +0000 (17:48 -0700)
commit37b8d78dac047122fe77038bafb8e682132db3cd
treebfa2001958bb6df5e4be530517a81c9dac6125a2
parent527c2c42ed00557158b8faa599e394f69b1d86e3
Body code cleanup (#24946)

* Fix test

* Kill float accumulators

* Use entity proxy methods

* DataField auto name generation where possible

* Kill comp properties

* Clean up server comps

* Make events record structs

* Clean up shared body code

* Clean up server body code

* Rename organ events to be same names as in med refactor
32 files changed:
Content.IntegrationTests/Tests/Body/LungTest.cs
Content.Server/Bed/BedSystem.cs
Content.Server/Body/Commands/AddHandCommand.cs
Content.Server/Body/Commands/AttachBodyPartCommand.cs
Content.Server/Body/Components/BeingGibbedEvent.cs
Content.Server/Body/Components/BloodstreamComponent.cs
Content.Server/Body/Components/InternalsComponent.cs
Content.Server/Body/Components/LungComponent.cs
Content.Server/Body/Components/MetabolizerComponent.cs
Content.Server/Body/Components/RespiratorComponent.cs
Content.Server/Body/Components/StomachComponent.cs
Content.Server/Body/Components/ThermalRegulatorComponent.cs
Content.Server/Body/Systems/BloodstreamSystem.cs
Content.Server/Body/Systems/BodySystem.cs
Content.Server/Body/Systems/BrainSystem.cs
Content.Server/Body/Systems/InternalsSystem.cs
Content.Server/Body/Systems/LungSystem.cs
Content.Server/Body/Systems/MetabolizerSystem.cs
Content.Server/Body/Systems/RespiratorSystem.cs
Content.Server/Body/Systems/StomachSystem.cs
Content.Server/Body/Systems/ThermalRegulatorSystem.cs
Content.Server/Hands/Systems/HandsSystem.cs
Content.Server/Species/Systems/NymphSystem.cs
Content.Shared/ActionBlocker/ActionBlockerSystem.cs
Content.Shared/Body/Events/MechanismBodyEvents.cs
Content.Shared/Body/Events/ShiverAttemptEvent.cs
Content.Shared/Body/Events/SweatAttemptEvent.cs
Content.Shared/Body/Organ/OrganComponent.cs
Content.Shared/Body/Part/BodyPartEvents.cs
Content.Shared/Body/Systems/SharedBodySystem.Body.cs
Content.Shared/Body/Systems/SharedBodySystem.Organs.cs
Content.Shared/Body/Systems/SharedBodySystem.Parts.cs