]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Persist construction menu favorites server-side (#35867)
authorYotaXP <yotaxp@gmail.com>
Sat, 17 May 2025 17:37:19 +0000 (13:37 -0400)
committerGitHub <noreply@github.com>
Sat, 17 May 2025 17:37:19 +0000 (13:37 -0400)
commite404e45ffc3dae9dde23b943584d2d04a40a6c9e
tree9a40700f734d18f6e42008d31d47d38d47af4298
parent1141dcb868afe67186e3beabce60451308e03cd7
Persist construction menu favorites server-side (#35867)

* Persist construction menu favorites to player profile

* Use `ProtoId`s for construction favorites

* Validate construction favorites updates from the client

* Actually await the async database call
16 files changed:
Content.Client/Construction/UI/ConstructionMenuPresenter.cs
Content.Client/Lobby/ClientPreferencesManager.cs
Content.Client/Lobby/IClientPreferencesManager.cs
Content.Server.Database/Migrations/Postgres/20250314222016_ConstructionFavorites.Designer.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Postgres/20250314222016_ConstructionFavorites.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Postgres/PostgresServerDbContextModelSnapshot.cs
Content.Server.Database/Migrations/Sqlite/20250314222717_ConstructionFavorites.Designer.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Sqlite/20250314222717_ConstructionFavorites.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/Database/ServerDbManager.cs
Content.Server/Preferences/Managers/IServerPreferencesManager.cs
Content.Server/Preferences/Managers/ServerPreferencesManager.cs
Content.Shared/Preferences/MsgUpdateConstructionFavorites.cs [new file with mode: 0644]
Content.Shared/Preferences/PlayerPreferences.cs