TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.ModLoader.CombinedHooks Class Reference
+ Collaboration diagram for Terraria.ModLoader.CombinedHooks:

Static Public Member Functions

static void ModifyWeaponDamage (Player player, Item item, ref StatModifier damage)
 
static void ModifyWeaponCrit (Player player, Item item, ref float crit)
 
static void ModifyWeaponKnockback (Player player, Item item, ref StatModifier knockback)
 
static void ModifyManaCost (Player player, Item item, ref float reduce, ref float mult)
 
static void OnConsumeMana (Player player, Item item, int manaConsumed)
 
static void OnMissingMana (Player player, Item item, int neededMana)
 
static bool CanConsumeAmmo (Player player, Item weapon, Item ammo)
 
static void OnConsumeAmmo (Player player, Item weapon, Item ammo)
 
static bool CanUseItem (Player player, Item item)
 
static ? bool CanAutoReuseItem (Player player, Item item)
 
static bool CanShoot (Player player, Item item)
 
static void ModifyShootStats (Player player, Item item, ref Vector2 position, ref Vector2 velocity, ref int type, ref int damage, ref float knockback)
 
static bool Shoot (Player player, Item item, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
 
static ? bool CanPlayerHitNPCWithItem (Player player, Item item, NPC npc)
 
static void ModifyPlayerHitNPCWithItem (Player player, Item sItem, NPC nPC, ref NPC.HitModifiers modifiers)
 
static void OnPlayerHitNPCWithItem (Player player, Item sItem, NPC nPC, in NPC.HitInfo hit, int damageDone)
 
static bool CanHitPvp (Player player, Item sItem, Player target)
 
static void MeleeEffects (Player player, Item sItem, Rectangle itemRectangle)
 
static ? bool CanHitNPCWithProj (Projectile proj, NPC npc)
 
static void ModifyHitNPCWithProj (Projectile projectile, NPC nPC, ref NPC.HitModifiers modifiers)
 
static void OnHitNPCWithProj (Projectile projectile, NPC nPC, in NPC.HitInfo hit, int damageDone)
 
static bool CanBeHitByProjectile (Player player, Projectile projectile)
 
static void ModifyHitByProjectile (Player player, Projectile projectile, ref Player.HurtModifiers modifiers)
 
static void OnHitByProjectile (Player player, Projectile projectile, in Player.HurtInfo hurtInfo)
 
static bool CanHitPvpWithProj (Projectile projectile, Player target)
 
static ? bool CanPlayerMeleeAttackCollideWithNPC (Player player, Item item, Rectangle meleeAttackHitbox, NPC target)
 
static void ModifyItemScale (Player player, Item item, ref float scale)
 
static float TotalUseSpeedMultiplier (Player player, Item item)
 
static float TotalUseTimeMultiplier (Player player, Item item)
 
static int TotalUseTime (float useTime, Player player, Item item)
 
static float TotalUseAnimationMultiplier (Player player, Item item)
 
static int TotalAnimationTime (float useAnimation, Player player, Item item)
 
static ? bool CanConsumeBait (Player player, Item item)
 
static ? bool CanCatchNPC (Player player, NPC npc, Item item)
 
static void OnCatchNPC (Player player, NPC npc, Item item, bool failed)
 
static bool CanNPCHitPlayer (NPC nPC, Player player, ref int specialHitSetter)
 
static void ModifyHitByNPC (Player player, NPC nPC, ref Player.HurtModifiers modifiers)
 
static void OnHitByNPC (Player player, NPC nPC, in Player.HurtInfo hurtInfo)
 
static void PlayerFrameEffects (Player player)
 
static bool OnPickup (Item item, Player player)
 

Detailed Description

Definition at line 9 of file CombinedHooks.cs.


The documentation for this class was generated from the following file: