CSteamID from Player State
Dear Everyone,
If what you want is specifically the CSteamID here is how you can get it from just the Player State ptr as an input!
if(PlayerState)
{
**CSteamID TheSteamifiedPlayerID(*(uint64*)PlayerState->UniqueId->GetBytes());**
}
Probably will need these includes:
#include "steam/steam_api.h"
#include "steam/isteamuser.h"
#include "steam/isteamutils.h"
So what this code lets you do is, given any PlayerState, retrieve the already replicated UniqueID and convert Steam Platform-specific ID
Enjooooy!
Rama