1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

Add /api/client/{clientId} Endpoint

This endpoint returns general information about the client ID provided.
This commit is contained in:
Ayymoss
2024-08-22 19:03:58 +01:00
committed by RaidMax
parent 0a8bbf2997
commit 5c9cfbd2c2
2 changed files with 91 additions and 51 deletions

View File

@ -0,0 +1,17 @@
using System;
using Data.Models.Client;
namespace SharedLibraryCore.Dtos;
public class ClientInfoResult
{
public int ClientId { get; set; }
public string Name { get; set; }
public string Level { get; set; }
public long NetworkId { get; set; }
public string? Tag { get; set; }
public DateTime FirstConnection { get; set; }
public DateTime LastConnection { get; set; }
public int TotalConnectionTime { get; set; }
public int Connections { get; set; }
}