diff options
author | Barnaby <22575741+barnabwhy@users.noreply.github.com> | 2022-05-13 00:49:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 01:49:43 +0200 |
commit | 0bd42559b53e1a0d210b0542803d76d5f8803070 (patch) | |
tree | 493d1073a02c264993d9d7ad1e3be51776edc63c /NorthstarDedicatedTest/serverauthentication.h | |
parent | 6c8112a6c368dd36d21fd94689e9682bc3b012a5 (diff) | |
download | NorthstarLauncher-0bd42559b53e1a0d210b0542803d76d5f8803070.tar.gz NorthstarLauncher-0bd42559b53e1a0d210b0542803d76d5f8803070.zip |
Compare uid from connect on activate (#175)
* Compare UID from connect on activate
* only set uid on first time
i think
Diffstat (limited to 'NorthstarDedicatedTest/serverauthentication.h')
-rw-r--r-- | NorthstarDedicatedTest/serverauthentication.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/serverauthentication.h b/NorthstarDedicatedTest/serverauthentication.h index 41e771b8..e79577e6 100644 --- a/NorthstarDedicatedTest/serverauthentication.h +++ b/NorthstarDedicatedTest/serverauthentication.h @@ -28,6 +28,8 @@ struct AdditionalPlayerData double lastSayTextLimitStart = -1.0; int sayTextLimitCount = 0; + + uint64_t uid; }; #pragma once @@ -107,4 +109,4 @@ extern CBaseClient__DisconnectType CBaseClient__Disconnect; void InitialiseServerAuthentication(HMODULE baseAddress); extern ServerAuthenticationManager* g_ServerAuthenticationManager; -extern ConVar* Cvar_ns_player_auth_port;
\ No newline at end of file +extern ConVar* Cvar_ns_player_auth_port; |