tModLoader v2024.10
A mod to make and play Terraria mods
CommonCode Member List

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

DropItem(DropAttemptInfo info, int item, int stack, bool scattered=false) (defined in CommonCode)CommonCodestatic
DropItem(Rectangle rectangle, IEntitySource entitySource, int itemId, int stack, bool scattered) (defined in CommonCode)CommonCodestatic
DropItem(Vector2 position, IEntitySource entitySource, int itemId, int stack) (defined in CommonCode)CommonCodestatic
DropItemForEachInteractingPlayerOnThePlayer(NPC npc, int itemId, UnifiedRandom rng, int chanceNumerator, int chanceDenominator, int stack=1, bool interactionRequired=true) (defined in CommonCode)CommonCodestatic
DropItemFromNPC(NPC npc, int itemId, int stack, bool scattered=false) (defined in CommonCode)CommonCodestatic
DropItemLocalPerClientAndSetNPCMoneyTo0(NPC npc, int itemId, int stack, bool interactionRequired=true) (defined in CommonCode)CommonCodestatic
ModifyItemDropFromNPC(NPC npc, int itemIndex) (defined in CommonCode)CommonCodestatic