Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ColorProfile Class Reference
Inheritance diagram for ColorProfile:
EScriptable

Classes

class  BlockColors
 
class  PCLights
 
class  RarityColors
 
class  TextColors
 

Public Member Functions

void Init ()
 
Color GetRarityColor (int r, bool light=false)
 

Public Attributes

UD_String_MatData matColors
 
UD_String_LightData lightColors
 
UD_String_Color elementColors
 
RarityColors rarityColors
 
BlockColors blockColors
 
TextColors textColors
 
Gradient gradientLVComparison
 
PCLights pcLights
 
Color colorIngCost
 
Color colorIngPredict
 
Color colorIngReq
 
Color colorNew
 
Color colorAct
 
Color colorActWarnning
 
Color colorActCriticalWarning
 
Color colorHostileAct
 
Color colorFriend
 
Color colorHostile
 
Color colorBuff
 
Color colorDebuff
 

Properties

SkinColorProfile Skin [get]
 
SkinColorProfile Dark [get]
 
SkinColorProfile Light [get]
 

Private Member Functions

void OnValidate ()
 

Additional Inherited Members

- Static Public Member Functions inherited from EScriptable
static int rnd (int a)
 

Detailed Description

Definition at line 4 of file ColorProfile.cs.

Member Function Documentation

◆ GetRarityColor()

Color ColorProfile.GetRarityColor ( int  r,
bool  light = false 
)
inline

Definition at line 158 of file ColorProfile.cs.

159 {
160 RarityColors rarityColors = this.rarityColors;
161 Color result = rarityColors.colorC;
162 switch (r)
163 {
164 case 2:
165 result = rarityColors.colorR;
166 break;
167 case 3:
168 result = rarityColors.colorSR;
169 break;
170 case 4:
171 result = rarityColors.colorSSR;
172 break;
173 case 5:
174 result = rarityColors.colorLE;
175 break;
176 }
177 if (light)
178 {
179 result *= rarityColors.lightMod;
180 }
181 return result;
182 }
RarityColors rarityColors

References Color, ColorProfile.RarityColors.colorC, ColorProfile.RarityColors.colorLE, ColorProfile.RarityColors.colorR, ColorProfile.RarityColors.colorSR, ColorProfile.RarityColors.colorSSR, ColorProfile.RarityColors.lightMod, and rarityColors.

Referenced by Hoard.Add(), and LayerGacha.PlayGacha().

◆ Init()

void ColorProfile.Init ( )
inline

Definition at line 153 of file ColorProfile.cs.

154 {
156 }
BlockColors blockColors

References blockColors, and ColorProfile.BlockColors.Init().

Referenced by Core.Init().

◆ OnValidate()

void ColorProfile.OnValidate ( )
inlineprivate

Definition at line 184 of file ColorProfile.cs.

185 {
186 if (Application.isPlaying && EClass.core.IsGameStarted)
187 {
189 }
190 }
bool IsGameStarted
Definition: Core.cs:84
Definition: EClass.cs:5
static Core core
Definition: EClass.cs:6
static Map _map
Definition: EClass.cs:18
void RefreshFOVAll()
Definition: Map.cs:943

References EClass._map, EClass.core, Core.IsGameStarted, and Map.RefreshFOVAll().

Member Data Documentation

◆ blockColors

◆ colorAct

Color ColorProfile.colorAct

◆ colorActCriticalWarning

Color ColorProfile.colorActCriticalWarning

Definition at line 135 of file ColorProfile.cs.

Referenced by GoalAutoCombat.GetActPlanColor().

◆ colorActWarnning

Color ColorProfile.colorActWarnning

Definition at line 133 of file ColorProfile.cs.

Referenced by GoalAutoCombat.GetActPlanColor().

◆ colorBuff

Color ColorProfile.colorBuff

Definition at line 143 of file ColorProfile.cs.

Referenced by Chara.GetHoverText2().

◆ colorDebuff

Color ColorProfile.colorDebuff

Definition at line 145 of file ColorProfile.cs.

Referenced by Chara.GetHoverText2().

◆ colorFriend

Color ColorProfile.colorFriend

Definition at line 139 of file ColorProfile.cs.

Referenced by Chara.GetHoverText().

◆ colorHostile

Color ColorProfile.colorHostile

Definition at line 141 of file ColorProfile.cs.

Referenced by Chara.GetHoverText().

◆ colorHostileAct

Color ColorProfile.colorHostileAct

Definition at line 137 of file ColorProfile.cs.

Referenced by Act.GetActPlanColor().

◆ colorIngCost

Color ColorProfile.colorIngCost

Definition at line 123 of file ColorProfile.cs.

◆ colorIngPredict

Color ColorProfile.colorIngPredict

Definition at line 125 of file ColorProfile.cs.

◆ colorIngReq

Color ColorProfile.colorIngReq

Definition at line 127 of file ColorProfile.cs.

◆ colorNew

Color ColorProfile.colorNew

Definition at line 129 of file ColorProfile.cs.

◆ elementColors

UD_String_Color ColorProfile.elementColors

Definition at line 111 of file ColorProfile.cs.

Referenced by Card.DamageHP(), AttackProcess.PlayRangedAnime(), and ActEffect.ProcAt().

◆ gradientLVComparison

Gradient ColorProfile.gradientLVComparison

Definition at line 119 of file ColorProfile.cs.

Referenced by Chara.GetHoverText().

◆ lightColors

UD_String_LightData ColorProfile.lightColors

Definition at line 109 of file ColorProfile.cs.

◆ matColors

◆ pcLights

PCLights ColorProfile.pcLights

◆ rarityColors

RarityColors ColorProfile.rarityColors

Definition at line 113 of file ColorProfile.cs.

Referenced by GetRarityColor().

◆ textColors

TextColors ColorProfile.textColors

Definition at line 117 of file ColorProfile.cs.

Referenced by Card.DamageHP().

Property Documentation

◆ Dark

SkinColorProfile ColorProfile.Dark
get

Definition at line 149 of file ColorProfile.cs.

Referenced by ButtonRoster.Refresh(), WidgetHP.Refresh(), and ButtonGridExt.Refresh().

◆ Light

SkinColorProfile ColorProfile.Light
get

Definition at line 151 of file ColorProfile.cs.

◆ Skin

SkinColorProfile ColorProfile.Skin
get

Definition at line 147 of file ColorProfile.cs.

Referenced by ButtonElement.Refresh(), and Recipe.WriteReqSkill().


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