Osiris/API/CharacterGetReservedUserID
From Divinity Engine Wiki
Full Definition(s)
- call CharacterGetReservedUserID([in](CHARACTERGUID)_Character,[out](INTEGER)_User)
Description
Returns the ID of the user that controls _Character in _User.
Notes
- "Users" are the game term for human players in the game. Every client that connects to the game, including the one that started the host game, gets assigned a User ID.
- User IDs are volatile: they can change at any time, in particular when loading a saved game, or when someone disconnects and reconnects. Never store this value in a database. Only use it immediately after requesting it, within the same frame.