fix: lastUpdatedTime updating (#1784)

* Create new LastSave() Method for Database and renew LastUpdatedTime in Save()

* Attach UpdateLastSave() to sqlite and mysql

* Fix compilation issues

* Add updateTime functionality to UpdatePropertyDetails()
This commit is contained in:
ElectScholar
2025-05-03 20:19:31 -07:00
committed by GitHub
parent b31f9670d1
commit 4f97ecc073
8 changed files with 25 additions and 1 deletions

View File

@@ -53,6 +53,9 @@ public:
// Update the property details for the given property id.
virtual void UpdatePropertyDetails(const IProperty::Info& info) = 0;
// Update the last updated time for the given property id.
virtual void UpdateLastSave(const IProperty::Info& info) = 0;
// Update the property performance cost for the given property id.
virtual void UpdatePerformanceCost(const LWOZONEID& zoneId, const float performanceCost) = 0;