Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
UIHomeInfo.ReportData Class Reference

Public Types

enum  ReportType {
  Default , Warning , Critical , Good ,
  Great , Trial
}
 

Public Member Functions

FontColor GetFontColor ()
 

Public Attributes

ReportType type
 
string text
 
Action onClick
 
Action< UITooltiponShowTooltip
 

Detailed Description

Definition at line 8 of file UIHomeInfo.cs.

Member Enumeration Documentation

◆ ReportType

Member Function Documentation

◆ GetFontColor()

FontColor UIHomeInfo.ReportData.GetFontColor ( )
inline

Definition at line 28 of file UIHomeInfo.cs.

29 {
30 return type switch
31 {
32 ReportType.Warning => FontColor.Warning,
33 ReportType.Critical => FontColor.Bad,
34 ReportType.Good => FontColor.Good,
35 ReportType.Great => FontColor.Good,
36 ReportType.Trial => FontColor.Great,
37 _ => FontColor.Default,
38 };
39 }
FontColor
Definition: FontColor.cs:2

References UIHomeInfo.ReportData.type.

Referenced by UIHomeInfo.RefreshReport().

Member Data Documentation

◆ onClick

Action UIHomeInfo.ReportData.onClick

Definition at line 24 of file UIHomeInfo.cs.

Referenced by UIHomeInfo.RefreshReport().

◆ onShowTooltip

Action<UITooltip> UIHomeInfo.ReportData.onShowTooltip

Definition at line 26 of file UIHomeInfo.cs.

Referenced by UIHomeInfo.RefreshReport().

◆ text

string UIHomeInfo.ReportData.text

Definition at line 22 of file UIHomeInfo.cs.

Referenced by UIHomeInfo.RefreshReport().

◆ type

ReportType UIHomeInfo.ReportData.type

Definition at line 20 of file UIHomeInfo.cs.

Referenced by UIHomeInfo.ReportData.GetFontColor(), and UIHomeInfo.RefreshReport().


The documentation for this class was generated from the following file: