Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Update()

void Terraria.GameContent.ChromaHotkeyPainter.Update ( )
inline

Definition at line 257 of file ChromaHotkeyPainter.cs.

258 {
259 _player = Main.LocalPlayer;
260 if (!Main.hasFocus)
261 {
263 return;
264 }
265 if (PotionAlert)
266 {
268 {
269 if (key.Key != "QuickHeal")
270 {
271 key.Value.SetClear();
272 }
273 }
275 }
276 else
277 {
280 }
281 if (Main.InGameUI.CurrentState == Main.ManageControlsMenu)
282 {
285 }
287 }
readonly Dictionary< string, PaintKey > _keys

References Terraria.GameContent.ChromaHotkeyPainter._keys, Terraria.GameContent.ChromaHotkeyPainter._player, Terraria.Main.hasFocus, Terraria.Main.InGameUI, System.key, Terraria.Main.LocalPlayer, Terraria.Main.ManageControlsMenu, Terraria.GameContent.ChromaHotkeyPainter.PotionAlert, Terraria.GameContent.ChromaHotkeyPainter.Step_ClearAll(), Terraria.GameContent.ChromaHotkeyPainter.Step_KeybindsMenu(), Terraria.GameContent.ChromaHotkeyPainter.Step_Movement(), Terraria.GameContent.ChromaHotkeyPainter.Step_QuickHeal(), and Terraria.GameContent.ChromaHotkeyPainter.Step_UpdateReactiveKeys().