Osiris/API/CharacterGetReservedUserID

From Divinity Engine Wiki
Revision as of 11:57, 13 August 2017 by Tinkerer (talk | contribs) (CharacterGetReservedUserID)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call CharacterGetReservedUserID([in](CHARACTERGUID)_Character,[out]''(INTEGER)_User)
Description

Returns the ID of the user that controls _Character in _User.

Notes
  • UserIDs 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.
See Also