feat(db): properties_contents.placed_by, the character who placed a model

NULL is the owner (every model placed before this, and dashboard imports).
Read by GetPropertyModels and GetModel, written by InsertNewPropertyModel on
MySQL and SQLite, with a parity test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-28 12:08:29 -05:00
parent 462a152a66
commit bfa46408cb
6 changed files with 43 additions and 10 deletions

View File

@@ -18,6 +18,8 @@ public:
LOT lot{};
LWOOBJID ugcId{};
std::array<LWOOBJID, 5> behaviors{};
// The character who placed the model; 0 (NULL in the database) for the property's owner and older models
LWOOBJID placedBy{};
};
// Inserts a new UGC model into the database.