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:
parent
cc25612b8d
commit
0d51eb5b23
3 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue