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

◆ ProbeItems()

void Terraria.GameContent.UI.EmoteBubble.ProbeItems ( List< int > list,
Player plr )
inlineprivate

Definition at line 437 of file EmoteBubble.cs.

438 {
439 list.Add(7);
440 list.Add(73);
441 list.Add(74);
442 list.Add(75);
443 list.Add(78);
444 list.Add(90);
445 if (plr.statLife < plr.statLifeMax2 / 2)
446 {
447 list.Add(84);
448 }
449 }

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), and System.list.

Referenced by Terraria.GameContent.UI.EmoteBubble.PickNPCEmote().