-
-
Notifications
You must be signed in to change notification settings - Fork 44
sharedlibrarycoreinterfaces IServerDataViewer
RaidMax edited this page May 21, 2023
·
1 revision
Exposes methods to get analytical data about server(s)
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IServerDataViewer[[IServerDataViewer]]
class SharedLibraryCore.Interfaces.IServerDataViewer interfaceStyle;
end
Returns | Name |
---|---|
Task <(int Item1, int Item2)> |
ClientCountsAsync (Nullable <TimeSpan > overPeriod, Nullable <Game > gameCode, CancellationToken token) |
Task <IEnumerable <ClientHistoryInfo >> |
ClientHistoryAsync (Nullable <TimeSpan > overPeriod, CancellationToken token) |
Task <(Nullable <int > Item1, Nullable <DateTime > Item2)> |
MaxConcurrentClientsAsync (Nullable <long > serverId, Nullable <Game > gameCode, Nullable <TimeSpan > overPeriod, CancellationToken token) |
Task <int > |
RankedClientsCountAsync (Nullable <long > serverId, CancellationToken token) |
Exposes methods to get analytical data about server(s)
public Task<(Nullable<int> Item1, Nullable<DateTime> Item2)> MaxConcurrentClientsAsync(Nullable<long> serverId, Nullable<Game> gameCode, Nullable<TimeSpan> overPeriod, CancellationToken token)
Type | Name | Description |
---|---|---|
Nullable <long > |
serverId | |
Nullable <Game > |
gameCode | |
Nullable <TimeSpan > |
overPeriod | |
CancellationToken |
token |
public Task<(int Item1, int Item2)> ClientCountsAsync(Nullable<TimeSpan> overPeriod, Nullable<Game> gameCode, CancellationToken token)
Type | Name | Description |
---|---|---|
Nullable <TimeSpan > |
overPeriod | |
Nullable <Game > |
gameCode | |
CancellationToken |
token |
public Task<IEnumerable<ClientHistoryInfo>> ClientHistoryAsync(Nullable<TimeSpan> overPeriod, CancellationToken token)
Type | Name | Description |
---|---|---|
Nullable <TimeSpan > |
overPeriod | |
CancellationToken |
token |
public Task<int> RankedClientsCountAsync(Nullable<long> serverId, CancellationToken token)
Type | Name | Description |
---|---|---|
Nullable <long > |
serverId | |
CancellationToken |
token |
Generated with ModularDoc