Terraria.ModLoader.PlayerHooks.GetFishingLevel C# (CSharp) Method

GetFishingLevel() public static method

public static GetFishingLevel ( Player player, System.Item fishingRod, System.Item bait, int &fishingLevel ) : void
player Player
fishingRod System.Item
bait System.Item
fishingLevel int
return void
        public static void GetFishingLevel(Player player, Item fishingRod, Item bait, ref int fishingLevel)
        {
            foreach (ModPlayer modPlayer in player.modPlayers)
            {
                modPlayer.GetFishingLevel(fishingRod, bait, ref fishingLevel);
            }
        }