diff --git a/RoundReports/Reporter.cs b/RoundReports/Reporter.cs index 7f749cd..6e2c102 100644 --- a/RoundReports/Reporter.cs +++ b/RoundReports/Reporter.cs @@ -1,4 +1,4 @@ -namespace RoundReports +namespace RoundReports { using System; using System.Collections; @@ -513,7 +513,12 @@ private IEnumerator SendReportInternal() /// Huge method for handling the upload to Pastee and Discord, as well as the in-game broadcasts. /// /// The current iteration of the method. Upload will be canceled if this reaches 10. - /// Coroutine. + /// + /// Attempts to upload the round report to Pastee and send notifications to Discord and in-game broadcasts, retrying up to 10 times on failure. + /// + /// The report data to upload. + /// The current retry attempt count (default is 0). + /// An enumerator for coroutine execution. private IEnumerator TryUpload(PasteEntry data, int iter = 0) { Log.Debug("Beginning report upload process."); @@ -678,6 +683,11 @@ private IEnumerator TryUpload(PasteEntry data, int iter = 0) } } + /// + /// Replaces placeholders in the input string with corresponding round report values, such as MVPs, kill counts, times, and report metadata. + /// + /// The string containing placeholders to be replaced with report data. + /// The input string with all recognized placeholders replaced by their current values. private string ProcessReportArgs(string input) { FinalStats final = GetStat();