mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-05 18:24:12 +00:00
chore: remove non cstdint integer types in client ORM (#1405)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
void CDObjectsTable::LoadValuesFromDatabase() {
|
||||
// First, get the size of the table
|
||||
unsigned int size = 0;
|
||||
uint32_t size = 0;
|
||||
auto tableSize = CDClientDatabase::ExecuteQuery("SELECT COUNT(*) FROM Objects");
|
||||
while (!tableSize.eof()) {
|
||||
size = tableSize.getIntField(0, 0);
|
||||
@@ -40,7 +40,7 @@ void CDObjectsTable::LoadValuesFromDatabase() {
|
||||
m_default.id = 0;
|
||||
}
|
||||
|
||||
const CDObjects& CDObjectsTable::GetByID(unsigned int LOT) {
|
||||
const CDObjects& CDObjectsTable::GetByID(uint32_t LOT) {
|
||||
const auto& it = this->entries.find(LOT);
|
||||
if (it != this->entries.end()) {
|
||||
return it->second;
|
||||
|
Reference in New Issue
Block a user