tModLoader v2024.03
A mod to make and play Terraria mods
GlobalNPC Member List

This is the complete list of members for GlobalNPC, including all inherited members.

AI(NPC npc)GlobalNPCvirtual
AppliesToEntity(TEntity entity, bool lateInstantiation)GlobalType< NPC, GlobalNPC >virtual
ApplyDifficultyAndPlayerScaling(NPC npc, int numPlayers, float balance, float bossAdjustment)GlobalNPCvirtual
BossHeadRotation(NPC npc, ref float rotation)GlobalNPCvirtual
BossHeadSlot(NPC npc, ref int index)GlobalNPCvirtual
BossHeadSpriteEffects(NPC npc, ref SpriteEffects spriteEffects)GlobalNPCvirtual
BuffTownNPC(ref float damageMult, ref int defense)GlobalNPCvirtual
CanBeCaughtBy(NPC npc, Item item, Player player)GlobalNPCvirtual
CanBeHitByItem(NPC npc, Player player, Item item)GlobalNPCvirtual
CanBeHitByNPC(NPC npc, NPC attacker)GlobalNPCvirtual
CanBeHitByProjectile(NPC npc, Projectile projectile)GlobalNPCvirtual
CanChat(NPC npc)GlobalNPCvirtual
CanCollideWithPlayerMeleeAttack(NPC npc, Player player, Item item, Rectangle meleeAttackHitbox)GlobalNPCvirtual
CanFallThroughPlatforms(NPC npc)GlobalNPCvirtual
CanGoToStatue(NPC npc, bool toKingStatue)GlobalNPCvirtual
CanHitNPC(NPC npc, NPC target)GlobalNPCvirtual
CanHitPlayer(NPC npc, Player target, ref int cooldownSlot)GlobalNPCvirtual
CheckActive(NPC npc)GlobalNPCvirtual
CheckDead(NPC npc)GlobalNPCvirtual
Clone(TEntity? from, TEntity to)GlobalType< NPC, GlobalNPC >virtual
CloneNewInstancesGlobalType< NPC, GlobalNPC >protected
ConditionallyAppliesToEntitiesGlobalType< NPC, GlobalNPC >
ConditionallyAppliesToEntitiesGlobalType< NPC, GlobalNPC >
DrawBehind(NPC npc, int index)GlobalNPCvirtual
DrawEffects(NPC npc, ref Color drawColor)GlobalNPCvirtual
DrawHealthBar(NPC npc, byte hbPosition, ref float scale, ref Vector2 position)GlobalNPCvirtual
DrawTownAttackGun(NPC npc, ref Texture2D item, ref Rectangle itemFrame, ref float scale, ref int horizontalHoldoutOffset)GlobalNPCvirtual
DrawTownAttackSwing(NPC npc, ref Texture2D item, ref Rectangle itemFrame, ref int itemSize, ref float scale, ref Vector2 offset)GlobalNPCvirtual
EditSpawnPool(IDictionary< int, float > pool, NPCSpawnInfo spawnInfo)GlobalNPCvirtual
EditSpawnRange(Player player, ref int spawnRangeX, ref int spawnRangeY, ref int safeRangeX, ref int safeRangeY)GlobalNPCvirtual
EditSpawnRate(Player player, ref int spawnRate, ref int maxSpawns)GlobalNPCvirtual
FindFrame(NPC npc, int frameHeight)GlobalNPCvirtual
GetAlpha(NPC npc, Color drawColor)GlobalNPCvirtual
GetChat(NPC npc, ref string chat)GlobalNPCvirtual
HitEffect(NPC npc, NPC.HitInfo hit)GlobalNPCvirtual
InstancePerEntityGlobalType< NPC, GlobalNPC >
IsCloneableGlobalType< NPC, GlobalNPC >
LoadData(NPC npc, TagCompound tag)GlobalNPCvirtual
ModifyActiveShop(NPC npc, string shopName, Item[] items)GlobalNPCvirtual
ModifyCollisionData(NPC npc, Rectangle victimHitbox, ref int immunityCooldownSlot, ref MultipliableFloat damageMultiplier, ref Rectangle npcHitbox)GlobalNPCvirtual
ModifyGlobalLoot(GlobalLoot globalLoot)GlobalNPCvirtual
ModifyHitByItem(NPC npc, Player player, Item item, ref NPC.HitModifiers modifiers)GlobalNPCvirtual
ModifyHitByProjectile(NPC npc, Projectile projectile, ref NPC.HitModifiers modifiers)GlobalNPCvirtual
ModifyHitNPC(NPC npc, NPC target, ref NPC.HitModifiers modifiers)GlobalNPCvirtual
ModifyHitPlayer(NPC npc, Player target, ref Player.HurtModifiers modifiers)GlobalNPCvirtual
ModifyHoverBoundingBox(NPC npc, ref Rectangle boundingBox)GlobalNPCvirtual
ModifyIncomingHit(NPC npc, ref NPC.HitModifiers modifiers)GlobalNPCvirtual
ModifyNPCLoot(NPC npc, NPCLoot npcLoot)GlobalNPCvirtual
ModifyNPCNameList(NPC npc, List< string > nameList)GlobalNPCvirtual
ModifyShop(NPCShop shop)GlobalNPCvirtual
ModifyTownNPCProfile(NPC npc)GlobalNPCvirtual
ModifyTypeName(NPC npc, ref string typeName)GlobalNPCvirtual
NeedSaving(NPC npc)GlobalNPCvirtual
NewInstance(TEntity target)GlobalType< NPC, GlobalNPC >virtual
OnCaughtBy(NPC npc, Player player, Item item, bool failed)GlobalNPCvirtual
OnChatButtonClicked(NPC npc, bool firstButton)GlobalNPCvirtual
OnGoToStatue(NPC npc, bool toKingStatue)GlobalNPCvirtual
OnHitByItem(NPC npc, Player player, Item item, NPC.HitInfo hit, int damageDone)GlobalNPCvirtual
OnHitByProjectile(NPC npc, Projectile projectile, NPC.HitInfo hit, int damageDone)GlobalNPCvirtual
OnHitNPC(NPC npc, NPC target, NPC.HitInfo hit)GlobalNPCvirtual
OnHitPlayer(NPC npc, Player target, Player.HurtInfo hurtInfo)GlobalNPCvirtual
OnKill(NPC npc)GlobalNPCvirtual
OnSpawn(NPC npc, IEntitySource source)GlobalNPCvirtual
PerEntityIndexGlobalType< NPC, GlobalNPC >
PickEmote(NPC npc, Player closestPlayer, List< int > emoteList, WorldUIAnchor otherAnchor)GlobalNPCvirtual
PostAI(NPC npc)GlobalNPCvirtual
PostDraw(NPC npc, SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor)GlobalNPCvirtual
PreAI(NPC npc)GlobalNPCvirtual
PreChatButtonClicked(NPC npc, bool firstButton)GlobalNPCvirtual
PreDraw(NPC npc, SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor)GlobalNPCvirtual
PreKill(NPC npc)GlobalNPCvirtual
ReceiveExtraAI(NPC npc, BitReader bitReader, BinaryReader binaryReader)GlobalNPCvirtual
Register() (defined in GlobalNPC)GlobalNPCprotected
ResetEffects(NPC npc)GlobalNPCvirtual
SaveData(NPC npc, TagCompound tag)GlobalNPCvirtual
SendExtraAI(NPC npc, BitWriter bitWriter, BinaryWriter binaryWriter)GlobalNPCvirtual
SetBestiary(NPC npc, BestiaryDatabase database, BestiaryEntry bestiaryEntry)GlobalNPCvirtual
SetDefaults(TEntity entity)GlobalType< NPC, GlobalNPC >virtual
SetDefaultsFromNetId(NPC npc)GlobalNPCvirtual
SetupContent() (defined in GlobalNPC)GlobalNPC
SetupTravelShop(int[] shop, ref int nextSlot)GlobalNPCvirtual
SlotPerEntityGlobalType< NPC, GlobalNPC >
SpawnNPC(int npc, int tileX, int tileY)GlobalNPCvirtual
SpecialOnKill(NPC npc)GlobalNPCvirtual
StaticIndexGlobalType< NPC, GlobalNPC >
TownNPCAttackCooldown(NPC npc, ref int cooldown, ref int randExtraCooldown)GlobalNPCvirtual
TownNPCAttackMagic(NPC npc, ref float auraLightMultiplier)GlobalNPCvirtual
TownNPCAttackProj(NPC npc, ref int projType, ref int attackDelay)GlobalNPCvirtual
TownNPCAttackProjSpeed(NPC npc, ref float multiplier, ref float gravityCorrection, ref float randomOffset)GlobalNPCvirtual
TownNPCAttackShoot(NPC npc, ref bool inBetweenShots)GlobalNPCvirtual
TownNPCAttackStrength(NPC npc, ref int damage, ref float knockback)GlobalNPCvirtual
TownNPCAttackSwing(NPC npc, ref int itemWidth, ref int itemHeight)GlobalNPCvirtual
UpdateLifeRegen(NPC npc, ref int damage)GlobalNPCvirtual
ValidateType() (defined in GlobalNPC)GlobalNPCprotected