mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
add tooltip timestamp to max concurrent players
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using static SharedLibraryCore.Server;
|
||||
using System;
|
||||
using static SharedLibraryCore.Server;
|
||||
|
||||
namespace SharedLibraryCore.Dtos
|
||||
{
|
||||
@ -9,6 +10,7 @@ namespace SharedLibraryCore.Dtos
|
||||
public int TotalOccupiedClientSlots { get; set; }
|
||||
public int TotalAvailableClientSlots { get; set; }
|
||||
public int MaxConcurrentClients { get; set; }
|
||||
public DateTime MaxConcurrentClientsTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// specifies the game name filter
|
||||
|
@ -19,7 +19,7 @@ namespace SharedLibraryCore.Interfaces
|
||||
/// <param name="overPeriod">how far in the past to search</param>
|
||||
/// <param name="token">CancellationToken</param>
|
||||
/// <returns></returns>
|
||||
Task<int> MaxConcurrentClientsAsync(long? serverId = null, TimeSpan? overPeriod = null, CancellationToken token = default);
|
||||
Task<(int?, DateTime?)> MaxConcurrentClientsAsync(long? serverId = null, TimeSpan? overPeriod = null, CancellationToken token = default);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the total number of clients connected and total clients connected in the given time frame
|
||||
|
Reference in New Issue
Block a user