Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
PortableStoolUsage.cs
Go to the documentation of this file.
2
3public struct PortableStoolUsage
4{
5 public bool HasAStool;
6
7 public bool IsInUse;
8
9 public int HeightBoost;
10
11 public int VisualYOffset;
12
13 public int MapYOffset;
14
15 public void Reset()
16 {
17 HasAStool = false;
18 IsInUse = false;
19 HeightBoost = 0;
20 VisualYOffset = 0;
21 MapYOffset = 0;
22 }
23
24 public void SetStats(int heightBoost, int visualYOffset, int mapYOffset)
25 {
26 HasAStool = true;
27 HeightBoost = heightBoost;
28 VisualYOffset = visualYOffset;
29 MapYOffset = mapYOffset;
30 }
31}
void SetStats(int heightBoost, int visualYOffset, int mapYOffset)