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

◆ ModifyFishingAttempt()

static void Terraria.ModLoader.PlayerLoader.ModifyFishingAttempt ( Player player,
ref FishingAttempt attempt )
inlinestatic

Definition at line 1670 of file PlayerLoader.cs.

1671 {
1672 FilteredSpanEnumerator<ModPlayer> enumerator = HookModifyFishingAttempt.Enumerate(player).GetEnumerator();
1673 while (enumerator.MoveNext())
1674 {
1675 enumerator.Current.ModifyFishingAttempt(ref attempt);
1676 }
1677 attempt.rolledItemDrop = (attempt.rolledEnemySpawn = 0);
1678 }
static HookList< ModPlayer > HookModifyFishingAttempt

References Terraria.ModLoader.PlayerLoader.HookModifyFishingAttempt.

Referenced by Terraria.Projectile.FishingCheck().

+ Here is the caller graph for this function: