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

From Valve Developer Community
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