Method RandomPlayerBotMgr:GetTeamClassIdx [-] [+]

Returns the cache index matching the given faction and class.

Synopsis

index = RandomPlayerBotMgr:GetTeamClassIdx( isAlliance, class )

Arguments

boolean isAlliance
See method description.
number class

Valid numbers: integers from 0 to 255.

Returns

number index

Valid numbers: integers from 0 to 255.