Skip to content
Laurie Clark-Michalek edited this page Aug 22, 2013 · 3 revisions

Properties

m_iPlayerID

  • The id of the player in the game. This can be used to look up further information about the player in PlayerResource arrays. In this document, I will call this value the "index" for a player.
  • If this value is -1, you have the undefined player. See the section titled Undefined Player for that

m_hAssignedHero

  • The ehandle of the assigned hero. This seems to be the same as looking up the player by index in the m_hSelectedHero property of the PlayerResource object.

Undefined Player

  • If a player's ID is -1, it is the undefined player. This "player" just has a perspective, nothing more. Ask on irc about it, I don't know more than to avoid it.