Skip to main content

ServerReportCollection

A class in Alta.Api.Client, Alta.Api.Client.HighLevel.

Player reports for one server, grouped into one summary per reported player. Built by PlayerReportsClient.ViewAllReportsAsSummary.

Constructors​

MemberWhat it is
ServerReportCollection()Creates a ServerReportCollection with default values.

Fields​

1 private and internal field
MemberWhat it is
private readonly Dictionary<int, PlayerReportSummary> reportsPerPlayerSummaries keyed by reported user ID.

Properties​

MemberWhat it is
IEnumerable<PlayerReportSummary> Reports { get; }One summary per reported player.

Methods​

1 private and internal method
MemberWhat it is
internal void Add(PlayerReportAdmin report)Adds a report to the reported player's summary, creating it if needed.