PlayerReportSummaryNotification
A class in Root.Township, Alta.Meta.UI.ServerManagement.
Notification summarising the reports against one user, shown by the latest report. Accept bans the user; there is no decline.
- Listed in Menus, UI and platforms
- Inherits or implements
PlayerReportBaseNotification, IEquatable<PlayerReportSummaryNotification> - Derived types
PlayerReportSummaryNotification
Constructors
| Member | What it is |
|---|---|
PlayerReportSummaryNotification(IAnalyticsService analyticsService, PlayerReportSummary report, PlayerReportSummaryPanel reportInfoPanel, Panel panel) | Built by the game's dependency injection (VContainer), which passes the services in. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private readonly PlayerReportSummary report | The report summary (all reports on one player) this notification shows. |
private readonly PlayerReportSummaryPanel reportInfoPanel | Panel that shows the summary's details while the notification is selected. |
Properties
Methods
| Member | What it is |
|---|---|
override Task<bool> Accept() | Bans the reported user based on the latest report. |
override bool Equals(object obj) | Equal when the latest report IDs match. |
bool Equals(PlayerReportSummaryNotification other) | Equal when the latest report IDs match. |
override int GetHashCode() | Hash from the summary and panel. |
override void OnSelected(bool isSelected) | Shows the summary panel when selected and hides it when not. |