documentation and fix closing tag

This commit is contained in:
Kat 2025-01-09 19:48:44 -08:00
parent 9119111dfb
commit 045a39ba5f
No known key found for this signature in database
GPG key ID: 11C549BC42DB9B8A
2 changed files with 7 additions and 1 deletions

View file

@ -29,6 +29,9 @@ public class SlotEntity
public string IconHash { get; set; } = "";
/// <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>";

View file

@ -28,8 +28,11 @@ public class UserEntity
public string IconHash { get; set; }
/// <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