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

Classes

class  BlockColors
 
class  ParticleColors
 
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
 
ParticleColors particleColors
 
Color colorIngCost
 
Color colorIngPredict
 
Color colorIngReq
 
Color colorNew
 
Color colorAct
 
Color colorActWarnning
 
Color colorActCriticalWarning
 
Color colorHostileAct
 
Color colorFriend
 
Color colorHostile
 
Color colorBlood
 
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 172 of file ColorProfile.cs.

173 {
174 RarityColors rarityColors = this.rarityColors;
175 Color result = rarityColors.colorC;
176 switch (r)
177 {
178 case 2:
179 result = rarityColors.colorR;
180 break;
181 case 3:
182 result = rarityColors.colorSR;
183 break;
184 case 4:
185 result = rarityColors.colorSSR;
186 break;
187 case 5:
188 result = rarityColors.colorLE;
189 break;
190 }
191 if (light)
192 {
193 result *= rarityColors.lightMod;
194 }
195 return result;
196 }
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 167 of file ColorProfile.cs.

168 {
170 }
BlockColors blockColors

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

Referenced by Core.Init().

◆ OnValidate()

void ColorProfile.OnValidate ( )
inlineprivate

Definition at line 198 of file ColorProfile.cs.

199 {
200 if (Application.isPlaying && EClass.core.IsGameStarted)
201 {
203 }
204 }
bool IsGameStarted
Definition: Core.cs:84
Definition: EClass.cs:6
static Core core
Definition: EClass.cs:7
static Map _map
Definition: EClass.cs:19
void RefreshFOVAll()
Definition: Map.cs:949

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 147 of file ColorProfile.cs.

Referenced by GoalAutoCombat.GetActPlanColor().

◆ colorActWarnning

Color ColorProfile.colorActWarnning

Definition at line 145 of file ColorProfile.cs.

Referenced by GoalAutoCombat.GetActPlanColor().

◆ colorBlood

Color ColorProfile.colorBlood

Definition at line 155 of file ColorProfile.cs.

Referenced by Chara.GetHoverText().

◆ colorBuff

Color ColorProfile.colorBuff

Definition at line 157 of file ColorProfile.cs.

Referenced by Chara.GetHoverText2().

◆ colorDebuff

Color ColorProfile.colorDebuff

Definition at line 159 of file ColorProfile.cs.

Referenced by Chara.GetHoverText2().

◆ colorFriend

Color ColorProfile.colorFriend

Definition at line 151 of file ColorProfile.cs.

Referenced by Chara.GetHoverText().

◆ colorHostile

Color ColorProfile.colorHostile

Definition at line 153 of file ColorProfile.cs.

Referenced by Chara.GetHoverText().

◆ colorHostileAct

Color ColorProfile.colorHostileAct

Definition at line 149 of file ColorProfile.cs.

Referenced by Act.GetActPlanColor().

◆ colorIngCost

Color ColorProfile.colorIngCost

Definition at line 135 of file ColorProfile.cs.

◆ colorIngPredict

Color ColorProfile.colorIngPredict

Definition at line 137 of file ColorProfile.cs.

◆ colorIngReq

Color ColorProfile.colorIngReq

Definition at line 139 of file ColorProfile.cs.

◆ colorNew

Color ColorProfile.colorNew

Definition at line 141 of file ColorProfile.cs.

◆ elementColors

UD_String_Color ColorProfile.elementColors

◆ gradientLVComparison

Gradient ColorProfile.gradientLVComparison

Definition at line 129 of file ColorProfile.cs.

Referenced by Chara.GetHoverText().

◆ lightColors

UD_String_LightData ColorProfile.lightColors

Definition at line 119 of file ColorProfile.cs.

◆ matColors

◆ particleColors

ParticleColors ColorProfile.particleColors

Definition at line 133 of file ColorProfile.cs.

Referenced by BaseGameScreen.RefreshWeather().

◆ pcLights

PCLights ColorProfile.pcLights

◆ rarityColors

RarityColors ColorProfile.rarityColors

Definition at line 123 of file ColorProfile.cs.

Referenced by GetRarityColor().

◆ textColors

TextColors ColorProfile.textColors

Definition at line 127 of file ColorProfile.cs.

Referenced by DamageTextRenderer.Flush().

Property Documentation

◆ Dark

SkinColorProfile ColorProfile.Dark
get

Definition at line 163 of file ColorProfile.cs.

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

◆ Light

SkinColorProfile ColorProfile.Light
get

Definition at line 165 of file ColorProfile.cs.

◆ Skin

SkinColorProfile ColorProfile.Skin
get

Definition at line 161 of file ColorProfile.cs.

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


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