]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Modernize `GhostComponent` & Ghost API (#36858)
authorTayrtahn <tayrtahn@gmail.com>
Wed, 23 Apr 2025 18:28:10 +0000 (14:28 -0400)
committerGitHub <noreply@github.com>
Wed, 23 Apr 2025 18:28:10 +0000 (20:28 +0200)
commit6d88dd910d6fff56447a1947d29cf1852207e611
tree2483b92f709da3204b1ca8c5206a90d790940590
parenta7b9694d10b763291963e3f26278da3e34ab5bcf
Modernize `GhostComponent` & Ghost API (#36858)

* Move CanReturnToBody to system

* Move CanGhostInteract to system

* Cleanup redundant datafields and viewvariables

* Document datafields

* Document component

* Add SetTimeOfDeath Entity<T> overload, obsolete old version

* Document public methods

* Cleanup obsoleted method calls
Content.Server/Administration/Commands/AGhostCommand.cs
Content.Server/Ghost/GhostSystem.cs
Content.Server/Mind/MindSystem.cs
Content.Shared/Ghost/GhostComponent.cs
Content.Shared/Ghost/SharedGhostSystem.cs