PlayerReportInboxInfoPanel
A class in Root.Township, Alta.Meta.UI.ServerManagement.
Client: server management panel that shows one player report from the API: who was reported, why, by whom, when, and any action taken.
- Listed in Menus, UI and platforms
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
PlayerReportInboxInfoPanel() | 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 the action was taken. |
private TextRenderer actionTakenByText | Who acted on the report. |
private TextRenderer actionTakenText | The action taken on the report. |
private TextRenderer reasonText | The report reason. |
private TextRenderer reportedUserText | Name of the reported player. |
private TextRenderer reporterText | Name of the player who made the report. |
private TextRenderer serverText | The server the report came from. |
private TextRenderer timeText | How long ago the report was made. |
Methods
| Member | What it is |
|---|---|
void SetupForReport(PlayerReportAdmin playerReport) | Fills the texts from a report. The action lines only show when the report's status is acted on, and then always read "Banned". |
Used in
Members of other types that take, return or hold a PlayerReportInboxInfoPanel: