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

◆ CloneFrom()

void Terraria.GameInput.TriggersSet.CloneFrom ( TriggersSet other)
inline

Definition at line 702 of file TriggersSet.cs.

703 {
706 foreach (KeyValuePair<string, bool> item in other.KeyStatus)
707 {
708 KeyStatus.Add(item.Key, item.Value);
709 }
710 UsedMovementKey = other.UsedMovementKey;
711 HotbarScrollCD = other.HotbarScrollCD;
712 HotbarHoldTime = other.HotbarHoldTime;
713 }
void Add(TKey key, TValue value)
Dictionary< string, bool > KeyStatus
Definition TriggersSet.cs:9
Dictionary< string, InputMode > LatestInputMode

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Generic.Dictionary< TKey, TValue >.Clear(), Terraria.GameInput.TriggersSet.HotbarHoldTime, Terraria.GameInput.TriggersSet.HotbarScrollCD, Terraria.GameInput.TriggersSet.KeyStatus, Terraria.GameInput.TriggersSet.LatestInputMode, and Terraria.GameInput.TriggersSet.UsedMovementKey.

Referenced by Terraria.GameInput.TriggersPack.Reset().