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

◆ GetBossHeadSpriteEffects()

SpriteEffects Terraria.NPC.GetBossHeadSpriteEffects ( )
inline

Definition at line 2598 of file NPC.cs.

2599 {
2600 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
2601 //IL_0022: Unknown result type (might be due to invalid IL or missing references)
2602 //IL_0019: Unknown result type (might be due to invalid IL or missing references)
2603 SpriteEffects result = (SpriteEffects)0;
2604 if (type == 491 && spriteDirection == 1)
2605 {
2606 result = (SpriteEffects)1;
2607 }
2609 return result;
2610 }
static void BossHeadSpriteEffects(NPC npc, ref SpriteEffects spriteEffects)
This serves as the central class from which NPC-related functions are carried out....
Definition NPCLoader.cs:26
int spriteDirection
Definition NPC.cs:1143
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....
Definition NPC.cs:990

References Terraria.ModLoader.NPCLoader.BossHeadSpriteEffects(), Terraria.NPC.spriteDirection, and Terraria.NPC.type.

+ Here is the call graph for this function: