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.cs
Go to the documentation of this file.
1using System;
3using Terraria;
5
6// Token: 0x020002EE RID: 750
7public class TutorialStep
8{
9 // Token: 0x06001161 RID: 4449 RVA: 0x00055E18 File Offset: 0x00054018
10 public virtual void Reset()
11 {
12 }
13
14 // Token: 0x06001162 RID: 4450 RVA: 0x00055E28 File Offset: 0x00054028
15 public virtual void Begin()
16 {
17 }
18
19 // Token: 0x06001163 RID: 4451 RVA: 0x00055E38 File Offset: 0x00054038
20 public virtual bool Update()
21 {
22 }
23
24 // Token: 0x06001164 RID: 4452 RVA: 0x00055E48 File Offset: 0x00054048
28
29 // Token: 0x06001165 RID: 4453 RVA: 0x000021DB File Offset: 0x000003DB
30 public virtual string GetGuideString()
31 {
32 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
33 }
34
35 // Token: 0x06001166 RID: 4454 RVA: 0x00055E58 File Offset: 0x00054058
36 public virtual void OnGuideDialogueOpen()
37 {
38 }
39
40 // Token: 0x06001167 RID: 4455 RVA: 0x00055E68 File Offset: 0x00054068
41 public virtual void OnItemPlaced(int itemId, int tileType)
42 {
43 }
44
45 // Token: 0x06001168 RID: 4456 RVA: 0x00055E78 File Offset: 0x00054078
46 protected void SetTime(int hour, int min, bool freeze)
47 {
48 bool <Enabled>k__BackingField = CreativePowerManager.Instance.GetPower<CreativePowers.FreezeTime>().<Enabled>k__BackingField;
50 }
51
52 // Token: 0x06001169 RID: 4457 RVA: 0x00055EAC File Offset: 0x000540AC
53 protected void SetSpawnRate(float spawnRate)
54 {
55 CreativePowerManager.Instance.GetPower<CreativePowers.SpawnRateSliderPerPlayerPower>().SetValueKeyboard(spawnRate);
57 }
58
59 // Token: 0x0600116A RID: 4458 RVA: 0x00055EDC File Offset: 0x000540DC
60 protected void GiveItem(short item, int stackCount)
61 {
62 if (!true)
63 {
64 }
65 Item item2;
67 Item mouseItem = Main.mouseItem;
68 int type = Main.mouseItem.type;
69 mouseItem.SetDefaults(type);
71 }
72
73 // Token: 0x0600116B RID: 4459 RVA: 0x00055F20 File Offset: 0x00054120
74 public TutorialStep()
75 {
76 }
77
78 // Token: 0x020002EF RID: 751
80 {
81 // Token: 0x0400212F RID: 8495
82 None,
83 // Token: 0x04002130 RID: 8496
85 // Token: 0x04002131 RID: 8497
87 }
88}
class f__AnonymousType0<< Count > j__TPar
void SetDefaults(int Type=0)
Definition Item.cs:1006
static Item mouseItem
Definition Main.cs:2155
virtual bool Update()
virtual TutorialStep.GuideOverLoadState GetGuideState()
virtual void Reset()
virtual void OnGuideDialogueOpen()
void SetSpawnRate(float spawnRate)
virtual string GetGuideString()
void GiveItem(short item, int stackCount)
virtual void OnItemPlaced(int itemId, int tileType)
void SetTime(int hour, int min, bool freeze)
virtual void Begin()