mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-09 05:18:47 +00:00
better documentation
This commit is contained in:
parent
045a39ba5f
commit
829b067e6e
2 changed files with 4 additions and 2 deletions
|
@ -30,7 +30,8 @@ public class SlotEntity
|
|||
public string IconHash { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Markup that displays the level name next to its badge
|
||||
/// Markup that displays the level name next to its badge.
|
||||
/// This can be used everywhere markup works ingame, e.g. news or notifications
|
||||
/// </summary>
|
||||
[NotMapped]
|
||||
public string InfoXml => $"<slot type=\"{this.Type}\" id=\"{this.SlotId}\" icon=\"{this.IconHash}\">{this.Name}</slot>";
|
||||
|
|
|
@ -29,7 +29,8 @@ public class UserEntity
|
|||
public string IconHash { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Markup that displays the username next to a polaroid with the user's icon ingame
|
||||
/// Markup that displays the username next to a polaroid with the user's icon.
|
||||
/// This can be used everywhere markup works ingame, e.g. news or notifications
|
||||
/// </summary>
|
||||
[NotMapped]
|
||||
public string InfoXml => $"<player icon=\"{this.IconHash}\">{this.Username}</player>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue