2021-03-22 12:09:25 -04:00
|
|
|
|
using SharedLibraryCore.Dtos.Meta.Responses;
|
2020-08-17 22:21:11 -04:00
|
|
|
|
using SharedLibraryCore.Interfaces;
|
|
|
|
|
using System;
|
2018-02-21 20:29:23 -05:00
|
|
|
|
using System.Collections.Generic;
|
2021-03-22 12:09:25 -04:00
|
|
|
|
using Data.Models;
|
2018-02-21 20:29:23 -05:00
|
|
|
|
|
2018-04-08 02:44:42 -04:00
|
|
|
|
namespace SharedLibraryCore.Dtos
|
2018-02-21 20:29:23 -05:00
|
|
|
|
{
|
|
|
|
|
public class PlayerInfo
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public int ClientId { get; set; }
|
|
|
|
|
public string Level { get; set; }
|
2021-01-24 12:47:19 -05:00
|
|
|
|
public string Tag { get; set; }
|
2018-04-02 01:25:06 -04:00
|
|
|
|
public int LevelInt { get; set; }
|
2018-02-21 20:29:23 -05:00
|
|
|
|
public string IPAddress { get; set; }
|
|
|
|
|
public long NetworkId { get; set; }
|
|
|
|
|
public List<string> Aliases { get; set; }
|
|
|
|
|
public List<string> IPs { get; set; }
|
2018-09-02 17:59:27 -04:00
|
|
|
|
public bool HasActivePenalty { get; set; }
|
2019-02-19 20:39:09 -05:00
|
|
|
|
public string ActivePenaltyType { get; set; }
|
2018-02-21 20:29:23 -05:00
|
|
|
|
public bool Authenticated { get; set; }
|
2020-08-17 22:21:11 -04:00
|
|
|
|
public List<InformationResponse> Meta { get; set; }
|
|
|
|
|
public EFPenalty ActivePenalty { get; set; }
|
2018-04-15 00:26:27 -04:00
|
|
|
|
public bool Online { get; set; }
|
|
|
|
|
public string TimeOnline { get; set; }
|
2019-03-31 20:56:31 -04:00
|
|
|
|
public DateTime LastConnection { get; set; }
|
2020-08-17 22:21:11 -04:00
|
|
|
|
public string LastConnectionText => (DateTime.UtcNow - LastConnection).HumanizeForCurrentCulture();
|
2018-05-14 13:55:10 -04:00
|
|
|
|
public IDictionary<int, long> LinkedAccounts { get; set; }
|
2020-08-17 22:21:11 -04:00
|
|
|
|
public MetaType? MetaFilterType { get; set; }
|
2021-06-30 10:57:07 -04:00
|
|
|
|
public double? ZScore { get; set; }
|
2018-02-21 20:29:23 -05:00
|
|
|
|
}
|
|
|
|
|
}
|