tModLoader v2025.05
A mod to make and play Terraria mods
IMapLayer Interface Reference

Inherited by ModMapLayer, PingMapLayer, SpawnMapLayer, and TeleportPylonsMapLayer.

Public Member Functions

void Draw (ref MapOverlayDrawContext context, ref string text)
 
void Hide ()
 

Properties

static IMapLayer Pings = new PingMapLayer() [get]
 
static IMapLayer Pylons = new TeleportPylonsMapLayer() [get]
 
static IMapLayer Spawn = new SpawnMapLayer() [get]
 
bool Visible [get, set]
 

Member Function Documentation

◆ Draw()

void IMapLayer.Draw ( ref MapOverlayDrawContext  context,
ref string  text 
)

Implemented in ModMapLayer.