Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.GetCustomTeamAssignment

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 23:52, 15 September 2014 by RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Note: This page is automatically generated. Any changes may be overwritten

Function Description

int GetCustomTeamAssignment(int playerIndex)

returns the team number that the player should join


Parameters

Type Name Description
int playerIndex player index

Returns

int - Team that the player should join