tModLoader v2024.03
A mod to make and play Terraria mods
EntitySource_WorldGen Class Reference

Used when spawning Town NPCs during world generation More...

Inherits IEntitySource.

Public Member Functions

 EntitySource_WorldGen (string? context=null)
 

Properties

string? Context [get]
 Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More...
 
- Properties inherited from IEntitySource
string? Context [get]
 Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More...
 

Detailed Description

Used when spawning Town NPCs during world generation

Property Documentation

◆ Context

string? EntitySource_WorldGen.Context
get

Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses

Implements IEntitySource.