ReportPlayers
A static class in Root.Township, the global namespace.
Client console module report-players (alias report) for listing and filing player reports through the API.
- Listed in Global namespace: Q to R
- Attributes
PlayOnly,ClientOnly,Module,Alias
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
static async void CreateReport(int userId, ReportType type, int? serverId = null) | Command create: reports a user for a reason on a server, the current one by default. Does nothing with no server. |
static async Task<IEnumerable<PlayerReportInfo>> GetReports(ReportStatus? statusFilter = null, int? serverFilter = null) | Command list: fetches player reports from the API, optionally filtered by status or server. |