The server is working correctly, using the entity system
This commit is contained in:
@@ -25,9 +25,12 @@
|
||||
#include <string>
|
||||
|
||||
struct PlayerEntity {
|
||||
//metadata
|
||||
int clientIndex;
|
||||
std::string handle;
|
||||
std::string avatar;
|
||||
|
||||
//statistics
|
||||
int level;
|
||||
int exp;
|
||||
int maxHP;
|
||||
@@ -41,6 +44,9 @@ struct PlayerEntity {
|
||||
float accuracy;
|
||||
float evasion;
|
||||
float luck;
|
||||
|
||||
//uid
|
||||
static unsigned int uidCounter;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user