chore: remove non cstdint integer types in client ORM (#1405)

This commit is contained in:
David Markowitz
2024-01-08 23:54:14 -08:00
committed by GitHub
parent 4a50c60559
commit e0ddbce8e7
64 changed files with 252 additions and 252 deletions

View File

@@ -4,14 +4,14 @@
#include "CDTable.h"
struct CDZoneTable {
unsigned int zoneID; //!< The Zone ID of the object
unsigned int locStatus; //!< The Locale Status(?)
uint32_t zoneID; //!< The Zone ID of the object
uint32_t locStatus; //!< The Locale Status(?)
std::string zoneName; //!< The name of the zone
unsigned int scriptID; //!< The Script ID of the zone (ScriptsTable)
uint32_t scriptID; //!< The Script ID of the zone (ScriptsTable)
float ghostdistance_min; //!< The minimum ghosting distance
float ghostdistance; //!< The ghosting distance
unsigned int population_soft_cap; //!< The "soft cap" on the world population
unsigned int population_hard_cap; //!< The "hard cap" on the world population
uint32_t population_soft_cap; //!< The "soft cap" on the world population
uint32_t population_hard_cap; //!< The "hard cap" on the world population
UNUSED(std::string DisplayDescription); //!< The display description of the world
UNUSED(std::string mapFolder); //!< ???
float smashableMinDistance; //!< The minimum smashable distance?
@@ -19,9 +19,9 @@ struct CDZoneTable {
UNUSED(std::string mixerProgram); //!< ???
UNUSED(std::string clientPhysicsFramerate); //!< The client physics framerate
std::string serverPhysicsFramerate; //!< The server physics framerate
unsigned int zoneControlTemplate; //!< The Zone Control template
unsigned int widthInChunks; //!< The width of the world in chunks
unsigned int heightInChunks; //!< The height of the world in chunks
uint32_t zoneControlTemplate; //!< The Zone Control template
uint32_t widthInChunks; //!< The width of the world in chunks
uint32_t heightInChunks; //!< The height of the world in chunks
bool petsAllowed; //!< Whether or not pets are allowed in the world
bool localize; //!< Whether or not the world should be localized
float fZoneWeight; //!< ???
@@ -35,11 +35,11 @@ struct CDZoneTable {
class CDZoneTableTable : public CDTable<CDZoneTableTable> {
private:
std::map<unsigned int, CDZoneTable> m_Entries;
std::map<uint32_t, CDZoneTable> m_Entries;
public:
void LoadValuesFromDatabase();
// Queries the table with a zoneID to find.
const CDZoneTable* Query(unsigned int zoneID);
const CDZoneTable* Query(uint32_t zoneID);
};