PlayerTracker
Common methods for tracking multiple players.
Summary
Iterator
Iterator
CollectibleType
collectible, boolean?
ignoreModifiers = false)
Function
Function
Function
Function
CollectibleType
collectible, boolean?
ignoreModifiers = false)
Iterators
IterPlayers()
EntityPlayer IterPlayers()
Returns an EntityPlayer on each iteration.
IterPlayersWithCollectible()
EntityPlayer IterPlayersWithCollectible(CollectibleType collectible, boolean? ignoreModifiers)
Returns an EntityPlayer that has the specified collectible on each iteration.
Methods
GetPlayerIndex()
string GetPlayerIndex(EntityPlayer player)
Returns a string that can be used to identify the player. Each player has a unique string that stays consistent throughout the run. No two players can have the same string.
GetPlayers()
EntityPlayer[] GetPlayers()
Returns an array with every player.
HasTwin()
boolean HasTwin(PlayerType playerType)
Will return false for any modded character.
GetPlayersWithCollectible()
EntityPlayer[] GetPlayersWithCollectible(CollectibleType collectible, boolean? ignoreModifiers)
Last updated