terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ DrawItemProgress()

void GUIResearch.DrawItemProgress ( )
inlineprivate

Definition at line 386 of file GUIResearch.cs.

387 {
390 int stack = researchItem.stack;
392 string name = researchItem.Name;
394 String_Layout description = instance.Description;
395 string textValue = Language.GetTextValue("Mobile.ResearchDescription");
396 GUIString.Draw(description, textValue);
399 bool isAir = researchItem.IsAir;
400 int type = researchItem.type;
403 {
404 int researchFrame = this.ResearchFrame;
405 researchItemStart = this.ResearchItemStart;
406 int researchFrame2 = this.ResearchFrame;
407 return;
408 }
410 int type2 = researchItem.type;
412 if (researchItemStart == 0)
413 {
414 }
415 int stack2 = researchItem.stack;
416 }
class f__AnonymousType0<< Count > j__TPar
static Rectangle Region(Panel_Layout layout)
Definition GUIPanel.cs:57
Item GetResearchItem()
bool ResearchAnimationInProgress
int ResearchItemStart
static void Draw(String_Layout layout, TextSnippet[] textSnippets, [Out] int snippetSelected, float maxWidth=-1f, int maxLines=100)
Definition GUIString.cs:12
String_Layout ItemName
Panel_Layout BarBacking
static Research_Layout Instance
String_Layout Description
static string GetTextValue(string key)
Definition Language.cs:54
static CreativeUnlocksTracker LocalPlayerCreativeTracker
Definition Main.cs:5295

References Research_Layout.BarBacking, Research_Layout.Description, GUIString.Draw(), GetResearchItem(), Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker.GetSacrificeCount(), Terraria.Localization.Language.GetTextValue(), Research_Layout.Instance, Research_Layout.ItemName, Terraria.GameContent.Creative.CreativeUnlocksTracker.ItemSacrifices, j__TPar, Terraria.Main.LocalPlayerCreativeTracker, System.name, GUIPanel.Region(), ResearchAnimationInProgress, ResearchFrame, ResearchItemStart, System.stack, and Terraria.Item.stack.

Referenced by Draw().