Difference between revisions of "Osiris/API/IterateUsers"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented IterateUsers)
 
m
Line 7: Line 7:
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/CharacterAssignToUser|CharacterAssignToUser]]
 
* [[Osiris/API/CharacterAssignToUser|CharacterAssignToUser]]
* [[Osiris/API/UserDisconnected|UserDisconnected]]
 
 
* [[Osiris/API/CharacterGetReservedUserID|CharacterGetReservedUserID]]
 
* [[Osiris/API/CharacterGetReservedUserID|CharacterGetReservedUserID]]
 
* [[Osiris/API/CharacterReservedUserIDChanged|CharacterReservedUserIDChanged]]
 
* [[Osiris/API/CharacterReservedUserIDChanged|CharacterReservedUserIDChanged]]
 +
* [[Osiris/API/GetUserCount|GetUserCount]]
 
* [[Osiris/API/UserConnected|UserConnected]]
 
* [[Osiris/API/UserConnected|UserConnected]]
* [[Osiris/API/GetUserCount|GetUserCount]]
+
* [[Osiris/API/UserDisconnected|UserDisconnected]]
 
* [[Osiris/API/UserEvent|UserEvent]]
 
* [[Osiris/API/UserEvent|UserEvent]]
  
 
[[Category:Osiris Calls]]
 
[[Category:Osiris Calls]]

Revision as of 13:08, 28 November 2017

Full Definition(s)
  • call IterateUsers((STRING)_Event)
Description

Throws a UserEvent for each user in the game.

Notes
  • No special event is thrown after the last user has been iterated. You can use GetUserCount in advance to record the number of users and decrease it every time you get a user event, but keep in mind this creates a (very unlikely) race condition in case someone connects while the events are still firing.
See Also