]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Client customization late-join spawner priority for arrivals/cryostorage (#24586)
authorKrunklehorn <42424291+Krunklehorn@users.noreply.github.com>
Thu, 1 Feb 2024 10:12:09 +0000 (05:12 -0500)
committerGitHub <noreply@github.com>
Thu, 1 Feb 2024 10:12:09 +0000 (21:12 +1100)
commited0f2aa2213cc47b817476206a2dd0b4e7c176b1
tree2c8c292c7cd62a275af2f538f47e01c45b724fcc
parentd76121d470c1e159787a6b991c0599068bd06a5f
Client customization late-join spawner priority for arrivals/cryostorage (#24586)

* Initial commit, requires server restart to take effect

* Exposes callbacks directly instead, takes effect immediately

* Cleaned up control flow, swapped cvar for client customization

* Switched to int, dictionary of callbacks, migration

* Update Content.Shared/Preferences/SpawnPriorityPreference.cs

* krunkle stan

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
18 files changed:
Content.Client/Preferences/UI/HumanoidProfileEditor.xaml
Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs
Content.IntegrationTests/Tests/Preferences/ServerDbSqliteTests.cs
Content.Server.Database/Migrations/Postgres/20240201091301_SpawnPriorityPreference.Designer.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Postgres/20240201091301_SpawnPriorityPreference.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Postgres/PostgresServerDbContextModelSnapshot.cs
Content.Server.Database/Migrations/Sqlite/20240201091254_SpawnPriorityPreference.Designer.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Sqlite/20240201091254_SpawnPriorityPreference.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Sqlite/SqliteServerDbContextModelSnapshot.cs
Content.Server.Database/Model.cs
Content.Server/Database/ServerDbBase.cs
Content.Server/Shuttles/Systems/ArrivalsSystem.cs
Content.Server/Spawners/EntitySystems/ContainerSpawnPointSystem.cs
Content.Server/Spawners/EntitySystems/SpawnPointSystem.cs
Content.Server/Station/Systems/StationSpawningSystem.cs
Content.Shared/Preferences/HumanoidCharacterProfile.cs
Content.Shared/Preferences/SpawnPriorityPreference.cs [new file with mode: 0644]
Resources/Locale/en-US/preferences/ui/humanoid-profile-editor.ftl