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

◆ DrawInIngameOptions()

static void Terraria.UI.InGameNotificationsTracker.DrawInIngameOptions ( SpriteBatch spriteBatch,
Rectangle area,
ref int gamepadPointIdLocalIndexToUse )
inlinestatic

Definition at line 57 of file InGameNotificationsTracker.cs.

58 {
59 int num = 4;
60 int num2 = area.Height / 5 - num;
61 Rectangle area2 = new Rectangle(area.X, area.Y, area.Width - 6, num2);
62 int num3 = 0;
63 foreach (IInGameNotification notification in _notifications)
64 {
65 notification.DrawInNotificationsArea(spriteBatch, area2, ref gamepadPointIdLocalIndexToUse);
66 area2.Y += num2 + num;
67 num3++;
68 if (num3 >= 5)
69 {
70 break;
71 }
72 }
73 }
static List< IInGameNotification > _notifications

References Terraria.UI.InGameNotificationsTracker._notifications.