TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ SetNPCAffection< T >()

Type Constraints
T :ModNPC 

Definition at line 39 of file NPCHappiness.cs.

39 : ModNPC
40 {
41 return SetNPCAffection(ModContent.GetInstance<T>().Type, affectionLevel);
42 }
NPCHappiness SetNPCAffection(int npcId, AffectionLevel affectionLevel)

References Terraria.ModLoader.NPCHappiness.SetNPCAffection().

+ Here is the call graph for this function: