fix: Extend saved ugc id to 64 bits (#1885)

Tetsed that ugc models are saved and loaded with the correct bits
This commit is contained in:
David Markowitz
2025-09-24 04:01:46 -07:00
committed by GitHub
parent 74e1d36bb1
commit b5a3cc9187
9 changed files with 10 additions and 12 deletions

View File

@@ -83,7 +83,7 @@ public:
void InsertNewMail(const MailInfo& mail) override;
void InsertNewUgcModel(
std::stringstream& sd0Data,
const uint32_t blueprintId,
const uint64_t blueprintId,
const uint32_t accountId,
const LWOOBJID characterId) override;
std::vector<MailInfo> GetMailForPlayer(const LWOOBJID characterId, const uint32_t numberOfMail) override;

View File

@@ -46,7 +46,7 @@ void MySQLDatabase::RemoveUnreferencedUgcModels() {
void MySQLDatabase::InsertNewUgcModel(
std:: stringstream& sd0Data, // cant be const sad
const uint32_t blueprintId,
const uint64_t blueprintId,
const uint32_t accountId,
const LWOOBJID characterId) {
const std::istream stream(sd0Data.rdbuf());