Osiris/API/CharacterGetReservedUserID: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
m (Explain what users are)
m (link GetUserProfileID)
Line 8: Line 8:
===== See Also =====
===== See Also =====
* [[Osiris/API/CharacterAssignToUser|CharacterAssignToUser]]
* [[Osiris/API/CharacterAssignToUser|CharacterAssignToUser]]
* [[Osiris/API/GetUserProfileID|GetUserProfileID]]
* [[Osiris/API/CharacterMakePlayer|CharacterMakePlayer]]
* [[Osiris/API/CharacterMakePlayer|CharacterMakePlayer]]
* [[Osiris/API/CharacterRecruitCharacter|CharacterRecruitCharacter]]
* [[Osiris/API/CharacterRecruitCharacter|CharacterRecruitCharacter]]
   
   
[[Category:Osiris Calls]]
[[Category:Osiris Calls]]

Revision as of 19:00, 28 November 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
  • "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.
See Also