2022-01-26 11:32:16 -05:00
|
|
|
|
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;
|
2022-01-26 11:32:16 -05:00
|
|
|
|
using SharedLibraryCore.Dtos.Meta.Responses;
|
|
|
|
|
using SharedLibraryCore.Interfaces;
|
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; }
|
2022-06-07 22:58:32 -04:00
|
|
|
|
public Reference.Game Game { get; set; }
|
2018-02-21 20:29:23 -05:00
|
|
|
|
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; }
|
2022-04-19 19:43:58 -04:00
|
|
|
|
public List<(string, DateTime)> Aliases { get; set; }
|
|
|
|
|
public List<(string, DateTime)> 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; }
|
2022-04-19 19:43:58 -04:00
|
|
|
|
public string ConnectProtocolUrl { get;set; }
|
|
|
|
|
public string CurrentServerName { get; set; }
|
|
|
|
|
public IGeoLocationResult GeoLocationInfo { get; set; }
|
2022-07-20 11:32:26 -04:00
|
|
|
|
public ClientNoteMetaResponse NoteMeta { get; set; }
|
2018-02-21 20:29:23 -05:00
|
|
|
|
}
|
2022-04-19 19:43:58 -04:00
|
|
|
|
}
|