Skip to content

Commit

Permalink
Forgot a couple descriptions in XML comments.
Browse files Browse the repository at this point in the history
- Added missing documentation descriptions for `RotationSalesAPI.GetTerminalString()`.
  • Loading branch information
pacoito123 committed Aug 14, 2024
1 parent f96b039 commit 633dc00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StoreRotationConfig/Api/RotationSalesAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public static int GetDiscountedPrice(TerminalNode? item, out int discount)
/// <summary>
/// Obtain a string containing a discounted item's price and its sale tag, or its full cost if the item is not on sale.
/// </summary>
/// <param name="item"></param>
/// <returns></returns>
/// <param name="item">The item about to be displayed in the terminal store page.</param>
/// <returns>A formatted string to display in the terminal store page. </returns>
public static string GetTerminalString(TerminalNode? item)
{
return $"{GetDiscountedPrice(item, out int discount)}" + ((discount > 0) ? $" ({discount}% OFF!)" : "");
Expand Down

0 comments on commit 633dc00

Please sign in to comment.