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

◆ GetFrame()

static ? Rectangle Terraria.ModLoader.EmoteBubbleLoader.GetFrame ( EmoteBubble emoteBubble)
inlinestatic

Definition at line 215 of file EmoteBubbleLoader.cs.

216 {
217 if (emoteBubble.ModEmoteBubble != null)
218 {
219 return emoteBubble.ModEmoteBubble.GetFrame();
220 }
221 Rectangle? result = null;
222 foreach (GlobalEmoteBubble globalEmoteBubble in globalEmoteBubbles)
223 {
224 Rectangle? frameRect = globalEmoteBubble.GetFrame(emoteBubble);
225 if (frameRect.HasValue)
226 {
228 }
229 }
230 return result;
231 }
static readonly List< GlobalEmoteBubble > globalEmoteBubbles

References Terraria.ModLoader.EmoteBubbleLoader.globalEmoteBubbles.

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

+ Here is the caller graph for this function: