Files
Ragon/Ragon.Server/Sources/Plugin/Web/Dto/PlayerDto.cs
T

16 lines
295 B
C#
Raw Normal View History

2023-04-13 20:42:05 +04:00
using Ragon.Server.Room;
namespace Ragon.Server.Plugin.Web;
[Serializable]
public class PlayerDto
{
public string Id { get; set;}
public string Name { get; set; }
public PlayerDto(RagonRoomPlayer ragonRoomPlayer)
{
Id = ragonRoomPlayer.Id;
Name = ragonRoomPlayer.Name;
}
}