Player Unique Identifier
I was wondering if there is a way to identify a player uniquely and globally programatically. I’m looking into implementing a database connection via UnrealScript, and would like to be able to recognize a player when he/she returns. Is there an established way of doing this?
I know I’ve seen other games in the past generate a sort of “Public CD Key”, which is generated from the game key (hashed or some other algorithm) so that its globally unique, but safe to distribute.
Thanks in advance!
BillDoor last edited by
That would be the Steam ID
PlayerController.PlayerReplicationInfo.UniqueID contains the SteamID (a 64-bit integer). This is the best value to use to uniquely identify players.
Great, that’s what I figured, thanks!