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

◆ Add()

void Terraria.Map.PingMapLayer.Add ( Vector2 position)
inline

Definition at line 55 of file PingMapLayer.cs.

56 {
57 //IL_0025: Unknown result type (might be due to invalid IL or missing references)
58 if (_pings.Count != _pings.Capacity)
59 {
60 _pings.Add(new Ping(position));
61 }
62 }
void Add(TKey key, TValue value)
readonly SlotVector< Ping > _pings

References Terraria.Map.PingMapLayer._pings, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), and System.Collections.Generic.Dictionary< TKey, TValue >.Count.