IW4M-Admin/SharedLibraryCore/Dtos/PlayerInfo.cs

37 lines
1.5 KiB
C#
Raw Normal View History

2022-01-26 11:32:16 -05:00
using System;
2018-02-21 20:29:23 -05:00
using System.Collections.Generic;
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; }
public int ClientId { get; set; }
public string Level { get; set; }
public string Tag { get; set; }
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; }
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; }
public List<InformationResponse> Meta { get; set; }
public EFPenalty ActivePenalty { get; set; }
public bool Online { get; set; }
public string TimeOnline { get; set; }
public DateTime LastConnection { get; set; }
public string LastConnectionText => (DateTime.UtcNow - LastConnection).HumanizeForCurrentCulture();
public IDictionary<int, long> LinkedAccounts { get; set; }
public MetaType? MetaFilterType { get; set; }
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; }
2018-02-21 20:29:23 -05:00
}
2022-04-19 19:43:58 -04:00
}