Difference between revisions of "Osiris/API/CharacterGetReservedUserID"

From Divinity Engine Wiki
Jump to: navigation, search
(CharacterGetReservedUserID)
 
m
Line 1: Line 1:
 
===== Full Definition(s) =====
 
===== Full Definition(s) =====
* call '''CharacterGetReservedUserID'''('''''[in]'''''(CHARACTERGUID)'''''_Character''','''''[out]'''''''(INTEGER)'''''_User''')
+
* call '''CharacterGetReservedUserID'''('''''[in]'''(CHARACTERGUID)'''''_Character''','''''[out]'''(INTEGER)'''''_User''')
 
===== Description =====
 
===== Description =====
 
Returns the ID of the user that controls '''_Character''' in '''_User'''.
 
Returns the ID of the user that controls '''_Character''' in '''_User'''.

Revision as of 12:58, 13 August 2017

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