PlayerReportSummaryPanel
A class in Root.Township, Alta.Meta.UI.ServerManagement.
Client: server management panel that sums up all reports against one player: total count, counts per reason, reporters, latest date and any ban.
- Listed in Menus, UI and platforms
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
PlayerReportSummaryPanel() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
8 private and internal fields
| Member | What it is |
|---|---|
private TextRenderer actionTakenAtText | Date of the latest ban. |
private TextRenderer actionTakenByText | Who made the latest ban. |
private TextRenderer actionTakenText | Shows "Action taken: Banned" if any report was acted on. |
private TextRenderer reasonText | One line per report reason with its count, most common first. |
private TextRenderer reportedUserText | Reported player's name and total report count. |
private TextRenderer reporterText | Latest reporter's name and how many others reported. |
private TextRenderer serverText | The server the reports came from. |
private TextRenderer timeText | Date of the latest report and roughly how long ago it was. |
Methods
| Member | What it is |
|---|---|
void SetupForReport(PlayerReportSummary playerSummary) | Fills the texts from a report summary: total and per-reason counts, latest reporter plus how many others, latest report date and the latest ban if any. |
2 private and internal methods
Used in
Members of other types that take, return or hold a PlayerReportSummaryPanel: