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

◆ IsAnglerQuestAvailable()

static void Terraria.ModLoader.ItemLoader.IsAnglerQuestAvailable ( int itemID,
ref bool notAvailable )
inlinestatic

Definition at line 2438 of file ItemLoader.cs.

2439 {
2440 ModItem modItem = GetItem(itemID);
2441 if (modItem != null)
2442 {
2443 notAvailable |= !modItem.IsAnglerQuestAvailable();
2444 }
2446 for (int i = 0; i < readOnlySpan.Length; i++)
2447 {
2448 GlobalItem g = readOnlySpan[i];
2449 notAvailable |= !g.IsAnglerQuestAvailable(itemID);
2450 }
2451 }
static ModItem GetItem(int type)
Gets the ModItem template instance corresponding to the specified type (not the clone/new instance wh...
static GlobalHookList< GlobalItem > HookIsAnglerQuestAvailable

References Terraria.ModLoader.ItemLoader.GetItem(), and Terraria.ModLoader.ItemLoader.HookIsAnglerQuestAvailable.

Referenced by Terraria.Main.AnglerQuestSwap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: