tModLoader v2024.10
A mod to make and play Terraria mods
|
Inconsistently used by vanilla when spawning more exotic things like the lunatic pillars, cultist ritual, fairies etc.
Don't expect this to distinguish between NPCs spawned due to an event/invasion. Most of those use EntitySource_SpawnNPC
More...
Inherits IEntitySource.
Public Member Functions | |
EntitySource_WorldEvent (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... | |
Inconsistently used by vanilla when spawning more exotic things like the lunatic pillars, cultist ritual, fairies etc.
Don't expect this to distinguish between NPCs spawned due to an event/invasion. Most of those use EntitySource_SpawnNPC
|
get |
Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses
Implements IEntitySource.