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

@@ -3,7 +3,7 @@
#include <string>
struct CDPhysicsComponent {
int id;
int32_t id;
bool bStatic;
std::string physicsAsset;
UNUSED(bool jump);
@@ -12,8 +12,8 @@ struct CDPhysicsComponent {
UNUSED(float rotSpeed);
float playerHeight;
float playerRadius;
int pcShapeType;
int collisionGroup;
int32_t pcShapeType;
int32_t collisionGroup;
UNUSED(float airSpeed);
UNUSED(std::string boundaryAsset);
UNUSED(float jumpAirSpeed);
@@ -26,8 +26,8 @@ public:
void LoadValuesFromDatabase();
static const std::string GetTableName() { return "PhysicsComponent"; };
CDPhysicsComponent* GetByID(unsigned int componentID);
CDPhysicsComponent* GetByID(uint32_t componentID);
private:
std::map<unsigned int, CDPhysicsComponent> m_entries;
std::map<uint32_t, CDPhysicsComponent> m_entries;
};