PRoConEvents.MULTIbalancer.GetClanPopulation C# (CSharp) Method

GetClanPopulation() private method

private GetClanPopulation ( PlayerModel player, int teamId ) : int
player PlayerModel
teamId int
return int
        private int GetClanPopulation(PlayerModel player, int teamId)
        {
            if (player == null) return 0;
            Scope scope = Scope.Total;
            switch (teamId) {
            case 1:
            scope = Scope.TeamOne;
            break;
            case 2:
            scope = Scope.TeamTwo;
            break;
            case 3:
            scope = Scope.TeamThree;
            break;
            case 4:
            scope = Scope.TeamFour;
            break;
            default:
            break;
            }
            return CountMatchingTags(player, scope);
        }
MULTIbalancer