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:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user