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

◆ GetKnockback< T >()

Gets the knockback modifier for this damage type on this player. This returns a reference, and as such, you can freely modify this method's return value with operators.

Type Constraints
T :DamageClass 

Definition at line 58366 of file Player.cs.

58366 : DamageClass
58367 {
58368 return ref GetKnockback(ModContent.GetInstance<T>());
58369 }
T:Terraria.ModLoader.DamageClass is used to determine the application of item effects,...
Manages content added by mods. Liasons between mod content and Terraria's arrays and oversees the Loa...
Definition ModContent.cs:38
ref StatModifier GetKnockback(DamageClass damageClass)
Gets the knockback modifier for this damage type on this player. This returns a reference,...
Definition Player.cs:58375

References Terraria.Player.GetKnockback().

+ Here is the call graph for this function: