terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ DrawPartyHat()

void GUINPCDialogue.DrawPartyHat ( NPC n,
SpriteEffects spriteEffects,
Vector2 position,
float scale )
inlineprivate

Definition at line 227 of file GUINPCDialogue.cs.

228 {
229 bool flag = n.UsesPartyHat();
230 int y = n.frame.Y;
231 int height = n.frame.Height;
232 if (height == 0)
233 {
234 }
236 if (height == 0)
237 {
238 }
239 int type = n.type;
240 int spriteDirection = n.spriteDirection;
241 }
class f__AnonymousType0<< Count > j__TPar
int spriteDirection
Definition NPC.cs:11489
bool UsesPartyHat()
Definition NPC.cs:4384
PartyHatColor GetPartyHatColor()
Definition NPC.cs:4409
Rectangle frame
Definition NPC.cs:11441

References Terraria.NPC.frame, Terraria.NPC.GetPartyHatColor(), Microsoft.Xna.Framework.Rectangle.Height, j__TPar, Terraria.NPC.spriteDirection, Terraria.NPC.type, Terraria.NPC.UsesPartyHat(), and Microsoft.Xna.Framework.Rectangle.Y.