mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Server: use dedicated types for nucleus ID
This isn't a bug fix but a style fix as we should use NucleusID_t for anything that is a nucleus ID. This type is also of uint64.
This commit is contained in:
parent
a5bd66513a
commit
c8c321e924
@ -116,7 +116,7 @@ CClient* CServer::ConnectClient(CServer* pServer, user_creds_s* pChallenge)
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
char* pszPersonaName = pChallenge->personaName;
|
char* pszPersonaName = pChallenge->personaName;
|
||||||
uint64_t nNucleusID = pChallenge->personaId;
|
NucleusID_t nNucleusID = pChallenge->personaId;
|
||||||
|
|
||||||
char pszAddresBuffer[128]; // Render the client's address.
|
char pszAddresBuffer[128]; // Render the client's address.
|
||||||
pChallenge->netAdr.ToString(pszAddresBuffer, sizeof(pszAddresBuffer), true);
|
pChallenge->netAdr.ToString(pszAddresBuffer, sizeof(pszAddresBuffer), true);
|
||||||
|
@ -23,7 +23,7 @@ struct user_creds_s
|
|||||||
int32_t protocolVer;
|
int32_t protocolVer;
|
||||||
int32_t challenge;
|
int32_t challenge;
|
||||||
uint32_t reservation;
|
uint32_t reservation;
|
||||||
uint64_t personaId;
|
NucleusID_t personaId;
|
||||||
char* personaName;
|
char* personaName;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user