Core/Housing: stage 23 declare atomic decor storage routes

This commit is contained in:
Gexo91
2026-09-12 14:37:31 +03:00
parent c1f54d0bfb
commit 5ff3afc24c
@@ -11,9 +11,11 @@ class WorldSession;
namespace WorldPackets::Housing
{
class HousingDecorDeleteFromStorage;
class HousingDecorLock;
class HousingDecorMove;
class HousingDecorPlace;
class HousingDecorRedeemDeferredDecor;
class HousingDecorRemove;
class HousingDecorSetDyeSlots;
}
@@ -33,6 +35,14 @@ namespace Housing
WorldPackets::Housing::HousingDecorLock& packet);
TC_GAME_API void HandleDecorSetDyeSlotsStage22(WorldSession* session,
WorldPackets::Housing::HousingDecorSetDyeSlots& packet);
// Stage 23 owns account-level Decoration storage mutations directly so the
// license, instance and redemption rows commit atomically instead of drifting
// apart when the world process stops between independent statements.
TC_GAME_API void HandleDecorDeleteFromStorageStage23(WorldSession* session,
WorldPackets::Housing::HousingDecorDeleteFromStorage& packet);
TC_GAME_API void HandleDecorRedeemDeferredDecorStage23(WorldSession* session,
WorldPackets::Housing::HousingDecorRedeemDeferredDecor& packet);
}
#endif // TRINITYCORE_HOUSING_DECOR_SESSION_H