5using Microsoft.Xna.Framework.Input;
247 [Old(
"Reactive keys are no longer used so this catch-all method isn't used")]
269 if (
key.Key !=
"QuickHeal")
271 key.Value.SetClear();
340 key.Value.SetClear();
375 bool flag = _player.frozen || _player.tongued || _player.webbed ||
_player.
stoned;
void Add(TKey key, TValue value)
void AddRange(IEnumerable< T > collection)
static bool TryParse(Type enumType, string? value, out object? result)
PaintKey(string triggerName, List< string > keys)
void SetSolid(Color color)
void SetAlert(Color colorBase, Color colorFlash, float time, float flashesPerSecond)
List< Keys > GetXNAKeysInUse()
static readonly Color DangerKeyBlocked
static readonly Color QuickHealReady
static readonly Color QuickHealReadyUrgent
static readonly Color SmartCursor
static readonly Color Throw
static readonly Color SmartSelect
const float HOTKEY_COLOR_MULTIPLIER
static readonly Color QuickMount
static readonly Color QuickGrapple
static readonly Color MovementKeys
static readonly Color QuickMana
static readonly Color QuickHealCooldown
readonly string WhatIsThisKeyFor
readonly TimeSpan _duration
ReactiveRGBKey(Keys key, Color color, TimeSpan duration, string whatIsThisKeyFor)
void SetGroupColorBase(List< PaintKey > keys, Color color)
List< PaintKey > _wasdKeys
readonly List< ReactiveRGBKey > _reactiveKeys
ReactiveRGBKey FindReactiveKey(Keys keyTarget)
readonly Dictionary< string, PaintKey > _keys
void Step_UpdateReactiveKeys()
List< Keys > _xnaKeysInUse
void SetGroupClear(List< PaintKey > keys)
static GameTime gameTimeCache
static UIManageControls ManageControlsMenu
static UserInterface InGameUI
static ChromaEngine Chroma
static Player LocalPlayer
static bool SmartCursorWanted
Item QuickGrapple_GetItemToUse()
Item QuickMana_GetItemToUse()
Item QuickHeal_GetItemToUse()
Item QuickMount_GetItemToUse()
static float GetLerpValue(float from, float to, float t, bool clamped=false)
static Color Lerp(Color value1, Color value2, float amount)
TimeSpan Add(TimeSpan ts)