9 public SkinColorProfile Skin
13 return SkinManager.CurrentColors;
19 public SkinColorProfile Dark
23 return SkinManager.Instance.skinDark.colors._default;
29 public SkinColorProfile Light
33 return SkinManager.Instance.skinLight.colors._default;
40 this.blockColors.Init();
44 public Color GetRarityColor(
int r,
bool light =
false)
47 Color color = rarityColors.colorC;
51 color = rarityColors.colorR;
54 color = rarityColors.colorSR;
57 color = rarityColors.colorSSR;
60 color = rarityColors.colorLE;
65 color *= rarityColors.lightMod;
71 private void OnValidate()
73 if (!Application.isPlaying || !
EClass.core.IsGameStarted)
77 EClass._map.RefreshFOVAll();
81 public UD_String_MatData matColors;
84 public UD_String_LightData lightColors;
87 public UD_String_Color elementColors;
99 public Gradient gradientLVComparison;
105 public Color colorIngCost;
108 public Color colorIngPredict;
111 public Color colorIngReq;
114 public Color colorNew;
117 public Color colorAct;
120 public Color colorActWarnning;
123 public Color colorActCriticalWarning;
126 public Color colorHostileAct;
129 public Color colorFriend;
132 public Color colorHostile;
135 public Color colorBuff;
138 public Color colorDebuff;
151 public Color colorSR;
154 public Color colorSSR;
157 public Color colorLE;
160 public float lightMod;
170 this.Valid = this.GetColor(ref this._valid);
171 this.Warning = this.GetColor(ref this._warning);
172 this.Inactive = this.GetColor(ref this._inactive);
173 this.Active = this.GetColor(ref this._active);
174 this.InactiveOpacity = this.GetColor(ref this._inactiveOpacity);
175 this.ActiveOpacity = this.GetColor(ref this._activeOpacity);
176 this.Passive = this.GetColor(ref this._passive);
177 this.MapHighlight = this.GetColor(ref this._mapHighlight);
181 public int GetColor(ref Color c)
183 return -((int)(c.a * 10f) * 262144 + (int)(c.r * 64f) * 4096 + (int)(c.g * 64f) * 64 + (int)(c.b * 64f));
187 public const int DefColor = 104025;
190 public const int DefColorInactive = -1214986;
193 public const int DefColorActive = -1173751;
196 public const int DefColorValid = -2747875;
199 public const int DefColorWarning = -2828814;
205 public Color _warning;
208 public Color _active;
211 public Color _inactive;
214 public Color _activeOpacity;
217 public Color _inactiveOpacity;
220 public Color _passive;
223 public Color _mapHighlight;
238 public int ActiveOpacity;
241 public int InactiveOpacity;
247 public int MapHighlight;
258 public Color damagePC;
261 public Color damagePCParty;
264 public Color damageMana;
267 public Color damageStamina;
275 public LightData torch;
278 public LightData cateye;