1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2026-01-06 12:40:56 +00:00

[General] Use unsigned ints for refNums & mpNums in packets

This commit is contained in:
David Cernat 2019-09-19 08:44:33 +03:00
parent cc25612b8d
commit 0d51eb5b23
3 changed files with 6 additions and 6 deletions

View file

@ -20,8 +20,8 @@ namespace mwmp
}
std::string refId;
int refNum;
int mpNum;
unsigned int refNum;
unsigned int mpNum;
ESM::Position position;
ESM::Position direction;

View file

@ -27,8 +27,8 @@ namespace mwmp
struct BaseObject
{
std::string refId;
int refNum;
int mpNum;
unsigned int refNum;
unsigned int mpNum;
int count;
int charge;
double enchantmentCharge;

View file

@ -51,8 +51,8 @@ namespace mwmp
bool isPlayer;
std::string refId;
int refNum;
int mpNum;
unsigned int refNum;
unsigned int mpNum;
std::string name; // Remove this once the server can get names corresponding to different refIds