2020-08-17 22:21:11 -04:00
|
|
|
|
using SharedLibraryCore.Database.Models;
|
|
|
|
|
using SharedLibraryCore.Dtos.Meta.Responses;
|
|
|
|
|
using SharedLibraryCore.Interfaces;
|
|
|
|
|
using System;
|
2018-02-21 20:29:23 -05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
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; }
|
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; }
|
2018-02-21 20:29:23 -05:00
|
|
|
|
}
|
|
|
|
|
}
|