Skip to main content

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.

Constructors​

MemberWhat it is
PlayerReportInboxInfoPanel()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

8 private and internal fields
MemberWhat it is
private TextRenderer actionTakenAtTextDate the action was taken.
private TextRenderer actionTakenByTextWho acted on the report.
private TextRenderer actionTakenTextThe action taken on the report.
private TextRenderer reasonTextThe report reason.
private TextRenderer reportedUserTextName of the reported player.
private TextRenderer reporterTextName of the player who made the report.
private TextRenderer serverTextThe server the report came from.
private TextRenderer timeTextHow long ago the report was made.

Methods​

MemberWhat 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: