Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
PortableStoolUsage.cs
Go to the documentation of this file.
1
namespace
Terraria.DataStructures
;
2
3
public
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
}
15
public
void
Reset
() {
…
}
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
}
24
public
void
SetStats
(
int
heightBoost,
int
visualYOffset,
int
mapYOffset) {
…
}
31
}
3
public
struct
PortableStoolUsage
{
…
};
Terraria.DataStructures
Definition
AEntitySource_OnHit.cs:1
Terraria.DataStructures.PortableStoolUsage.HeightBoost
int HeightBoost
Definition
PortableStoolUsage.cs:9
Terraria.DataStructures.PortableStoolUsage.MapYOffset
int MapYOffset
Definition
PortableStoolUsage.cs:13
Terraria.DataStructures.PortableStoolUsage.IsInUse
bool IsInUse
Definition
PortableStoolUsage.cs:7
Terraria.DataStructures.PortableStoolUsage.VisualYOffset
int VisualYOffset
Definition
PortableStoolUsage.cs:11
Terraria.DataStructures.PortableStoolUsage.Reset
void Reset()
Definition
PortableStoolUsage.cs:15
Terraria.DataStructures.PortableStoolUsage.SetStats
void SetStats(int heightBoost, int visualYOffset, int mapYOffset)
Definition
PortableStoolUsage.cs:24
Terraria.DataStructures.PortableStoolUsage.HasAStool
bool HasAStool
Definition
PortableStoolUsage.cs:5
Terraria.DataStructures.PortableStoolUsage
Definition
PortableStoolUsage.cs:4
source
Terraria.DataStructures
PortableStoolUsage.cs
Generated by
1.10.0