PlayerReportsClient
A class in Alta.Api.Client, Alta.Api.Client.HighLevel.
Online client for reporting players and reading reports. Reached as ApiAccess.ApiClient.PlayerReports; calls Alta's web API, which no longer answers.
- Listed in Alta.Api.Client
- Inherits or implements
HighLevelApiClientBase,IPlayerReportsClient
Constructors
1 private and internal constructor
| Member | What it is |
|---|---|
internal PlayerReportsClient(IHighLevelApiClientManager clientManager) | Creates a PlayerReportsClient from clientManager. |
Methods
| Member | What it is |
|---|---|
Task<PlayerReportInfo> ReportPlayer(int userId, ReportType type, int serverId) | Files a report of the given type against a user on a server. |
async Task<IEnumerable<PlayerReportAdmin>> ViewAllReports(ReportStatus? statusFilter = null, int? serverFilter = null) | Gets all reports, optionally filtered by status or server, as admin report objects. |
async Task<IEnumerable<PlayerReportSummary>> ViewAllReportsAsSummary(ReportStatus? statusFilter = null, int? serverFilter = null) | Gets reports grouped per server and per reported player, newest first. |