Player models and interfaces

This commit is contained in:
2020-02-29 21:12:26 +01:00
parent 3f5eea9d47
commit 1d39ae9537
7 changed files with 276 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using System;
namespace EstusShots.Shared.Dto
{
public class Player
{
public Guid PlayerId { get; set; }
public string HexId { get; set; }
public string Name { get; set; }
public string Alias { get; set; }
public bool Anonymous { get; set; }
public string DisplayName => Anonymous ? Alias : Name;
}
}