Skip to content

Commit

Permalink
documentation and fix closing tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Metraberryy committed Jan 10, 2025
1 parent 9119111 commit 045a39b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ProjectLighthouse/Types/Entities/Level/SlotEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public class SlotEntity

public string IconHash { get; set; } = "";

Check warning on line 30 in ProjectLighthouse/Types/Entities/Level/SlotEntity.cs

View workflow job for this annotation

GitHub Actions / Qodana for .NET

Possible performance issues caused by unlimited string length

Possible performance issues caused by unlimited string length

/// <summary>
/// Markup that displays the level name next to its badge
/// </summary>
[NotMapped]
public string InfoXml => $"<slot type=\"{this.Type}\" id=\"{this.SlotId}\" icon=\"{this.IconHash}\">{this.Name}</slot>";

Expand Down
5 changes: 4 additions & 1 deletion ProjectLighthouse/Types/Entities/Profile/UserEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public class UserEntity

public string IconHash { get; set; }

Check warning on line 29 in ProjectLighthouse/Types/Entities/Profile/UserEntity.cs

View workflow job for this annotation

GitHub Actions / Qodana for .NET

Possible performance issues caused by unlimited string length

Possible performance issues caused by unlimited string length

/// <summary>
/// Markup that displays the username next to a polaroid with the user's icon ingame
/// </summary>
[NotMapped]
public string InfoXml => $"<player icon=\"{this.IconHash}\">{this.Username}</user>";
public string InfoXml => $"<player icon=\"{this.IconHash}\">{this.Username}</player>";

/// <summary>
/// A user-customizable biography shown on the profile card
Expand Down

0 comments on commit 045a39b

Please sign in to comment.