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

◆ AnglerChat()

static string Terraria.ModLoader.ItemLoader.AnglerChat ( int type)
inlinestatic

Definition at line 2453 of file ItemLoader.cs.

2454 {
2455 string chat = "";
2456 string catchLocation = "";
2457 GetItem(type)?.AnglerQuestChat(ref chat, ref catchLocation);
2459 for (int i = 0; i < readOnlySpan.Length; i++)
2460 {
2461 readOnlySpan[i].AnglerChat(type, ref chat, ref catchLocation);
2462 }
2463 if (string.IsNullOrEmpty(chat) || string.IsNullOrEmpty(catchLocation))
2464 {
2465 return null;
2466 }
2467 return chat + "\n\n(" + catchLocation + ")";
2468 }
static GlobalHookList< GlobalItem > HookAnglerChat
static ModItem GetItem(int type)
Gets the ModItem template instance corresponding to the specified type (not the clone/new instance wh...

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

Referenced by Terraria.Lang.AnglerQuestChat().

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