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
TutorialStep_06_Mining.cs
Go to the documentation of this file.
1using System;
2using Terraria;
4
5// Token: 0x020002F5 RID: 757
7{
8 // Token: 0x0600118B RID: 4491 RVA: 0x000566C0 File Offset: 0x000548C0
10 {
11 return TutorialStep.GuideOverLoadState.StepInProgessDialogue;
12 }
13
14 // Token: 0x0600118C RID: 4492 RVA: 0x000566D0 File Offset: 0x000548D0
15 public override string GetGuideString()
16 {
17 if (this.givenPickaxe)
18 {
19 bool flag = this.collectedOres;
20 return "Tutorial.CollectOres";
21 }
22 return Language.GetText("Tutorial.CraftLightsValidHouse").<Value>k__BackingField;
23 }
24
25 // Token: 0x0600118D RID: 4493 RVA: 0x00056704 File Offset: 0x00054904
26 public override void Reset()
27 {
28 }
29
30 // Token: 0x0600118E RID: 4494 RVA: 0x00056714 File Offset: 0x00054914
31 public override void OnItemPlaced(int itemId, int tileId)
32 {
33 }
34
35 // Token: 0x0600118F RID: 4495 RVA: 0x00056724 File Offset: 0x00054924
36 public override void OnGuideDialogueOpen()
37 {
38 if (this.givenPickaxe)
39 {
40 if (!this.givenFurnace && this.collectedOres)
41 {
42 this.givenFurnace = true;
43 return;
44 }
45 }
46 else
47 {
48 this.givenPickaxe = true;
49 }
50 }
51
52 // Token: 0x06001190 RID: 4496 RVA: 0x00056758 File Offset: 0x00054958
53 public override bool Update()
54 {
55 if (!true)
56 {
57 }
58 int myPlayer = Main.myPlayer;
59 long num = 0L;
60 this.collectedOres = num != 0L;
61 return this.givenFurnace;
62 }
63
64 // Token: 0x06001191 RID: 4497 RVA: 0x00056784 File Offset: 0x00054984
66 {
67 }
68
69 // Token: 0x0400213F RID: 8511
70 private bool givenPickaxe;
71
72 // Token: 0x04002140 RID: 8512
73 private bool collectedOres;
74
75 // Token: 0x04002141 RID: 8513
76 private bool givenFurnace;
77}
class f__AnonymousType0<< Count > j__TPar
static LocalizedText GetText(string key)
Definition Language.cs:44
static int myPlayer
Definition Main.cs:2337
override TutorialStep.GuideOverLoadState GetGuideState()
override void OnItemPlaced(int itemId, int tileId)