tModLoader v2024.09
A mod to make and play Terraria mods
AShoppingBiome Class Referenceabstract

Inherits IShoppingBiome, and ILoadable.

Inherited by CorruptionBiome, CrimsonBiome, DesertBiome, DungeonBiome, ForestBiome, HallowBiome, JungleBiome, MushroomBiome, OceanBiome, SnowBiome, and UndergroundBiome.

Public Member Functions

abstract bool IsInBiome (Player player)
 
bool IsInBiome (Player player)
 
- Public Member Functions inherited from ILoadable
virtual bool IsLoadingEnabled (Mod mod)
 Whether or not this type should be loaded when it's told to. Returning false disables Mod.AddContent from actually loading this type. More...
 
abstract void Load (Mod mod)
 Called when loading the type. More...
 
abstract void Unload ()
 Called during unloading when needed. More...
 

Properties

string NameKey [get, protected set]
 
- Properties inherited from IShoppingBiome
string NameKey [get]
 

Member Function Documentation

◆ IsInBiome()

abstract bool AShoppingBiome.IsInBiome ( Player  player)
pure virtual

Implements IShoppingBiome.

Property Documentation

◆ NameKey

string AShoppingBiome.NameKey
getprotected set

Implements IShoppingBiome.