public static string GetJSONVotes(bool isRestCall, string url, string playerList, string replacementList, string moderatorNamesInput, string colorCode, string dayStartList = null, string deadListText = null, string dayviggedList = null, string priorVCNumberInput = null, string optionalFlavorText = null, string optionalDeadlineText = null, string optionalVoteOverrideData = null, string playerName = null, string _prodTimer = null, string _fontOverride = null, bool _areaTagsOn = true, string _dividerOverride = null, bool _showLLevel = false, bool _showZeroCountWagons = false) { VoteServiceObject vso = BuildBaseVoteObject(isRestCall, url, playerList, replacementList, moderatorNamesInput, colorCode, dayStartList, deadListText, dayviggedList, priorVCNumberInput, optionalFlavorText, optionalDeadlineText, optionalVoteOverrideData, _prodTimer, _fontOverride, _areaTagsOn, _dividerOverride, _showLLevel, _showZeroCountWagons); if (vso.ErrorMessage != null) { return(vso.ErrorMessage); } else { if (!string.IsNullOrEmpty(playerName)) { Player player = Player.FindPlayerByNameUserAidReplacementsLoop(vso.Players, playerName, vso.Replacements); if (player != null) { return(vso.VoteStringByPlayer(player)); } else { return("Player named " + playerName + " not found. Please check data entry."); } } else { return(vso.AllVotesString); } } }