mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 21:51:29 +00:00
documentation and fix closing tag
This commit is contained in:
parent
9119111dfb
commit
045a39ba5f
2 changed files with 7 additions and 1 deletions
|
@ -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>";
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue