public static void GetAllJSONVotes(string threadshortened, int postNumber, string playerName, InputField resultsField) { if (resultsField == null) { return; } string settingsString = VsioParsingClass.GetSettingsString(threadshortened, postNumber); ExtensionMethods.SetInputFieldTextHackyResize(resultsField, GetJSONVotesFromString(settingsString, playerName), false); }
public static void GetVoteCount(string threadshortened, int postNumber, InputField resultsField) { if (resultsField == null) { return; } string settingsString = VsioParsingClass.GetSettingsString(threadshortened, postNumber); ExtensionMethods.SetInputFieldTextHackyResize(resultsField, GetVoteCountFromSettingsString(settingsString), true); }
private static VoteScrubInformationObject ScrubInnerText(string innerText) { VoteScrubInformationObject vsio = null; try { vsio = VsioParsingClass.GetSettingsScrubObject(true, innerText); return(vsio); } catch (System.Exception e) { return(null); } }