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
ITownNPCProfile.cs
Go to the documentation of this file.
1
using
Microsoft.Xna.Framework.Graphics
;
2
using
ReLogic.Content
;
3
4
namespace
Terraria.GameContent
;
5
6
public
interface
ITownNPCProfile
7
{
8
int
RollVariation
();
9
10
string
GetNameForVariant
(
NPC
npc);
11
12
Asset<Texture2D>
GetTextureNPCShouldUse
(
NPC
npc);
13
14
int
GetHeadTextureIndex
(
NPC
npc);
15
}
6
public
interface
ITownNPCProfile
{
…
};
ReLogic.Content.Asset
Definition
Asset.cs:8
Terraria.NPC
Definition
NPC.cs:30
Terraria.GameContent.ITownNPCProfile.GetNameForVariant
string GetNameForVariant(NPC npc)
Terraria.GameContent.ITownNPCProfile.GetTextureNPCShouldUse
Asset< Texture2D > GetTextureNPCShouldUse(NPC npc)
Terraria.GameContent.ITownNPCProfile.GetHeadTextureIndex
int GetHeadTextureIndex(NPC npc)
Terraria.GameContent.ITownNPCProfile.RollVariation
int RollVariation()
Terraria.GameContent.ITownNPCProfile
Definition
ITownNPCProfile.cs:7
Microsoft.Xna.Framework.Graphics
Definition
AlphaTestEffect.cs:1
ReLogic.Content
Definition
IAssetReader.cs:5
Terraria.GameContent
Definition
AchievementsHelper.cs:1
source
Terraria.GameContent
ITownNPCProfile.cs
Generated by
1.10.0