TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.SceneMetrics Class Reference
+ Collaboration diagram for Terraria.SceneMetrics:

Public Member Functions

 SceneMetrics ()
 
void ScanAndExportToMain (SceneMetricsScanSettings settings)
 
int GetTileCount (ushort tileId)
 
int GetLiquidCount (short liquidType)
 
void Reset ()
 

Static Public Member Functions

static bool IsValidForOreFinder (Tile t)
 

Public Attributes

bool CanPlayCreditsRoll
 
bool[] NPCBannerBuff = new bool[290]
 
bool hasBanner
 
int bestOre
 

Static Public Attributes

static int ShimmerTileThreshold = 300
 
static int CorruptionTileThreshold = 300
 
static int CorruptionTileMax = 1000
 
static int CrimsonTileThreshold = 300
 
static int CrimsonTileMax = 1000
 
static int HallowTileThreshold = 125
 
static int HallowTileMax = 600
 
static int JungleTileThreshold = 140
 
static int JungleTileMax = 700
 
static int SnowTileThreshold = 1500
 
static int SnowTileMax = 6000
 
static int DesertTileThreshold = 1500
 
static int MushroomTileThreshold = 100
 
static int MushroomTileMax = 160
 
static int MeteorTileThreshold = 75
 
static int GraveyardTileMax = 36
 
static int GraveyardTileMin = 16
 
static int GraveyardTileThreshold = 28
 

Package Attributes

int[] _tileCounts = new int[TileLoader.TileCount]
 

Properties

Point? ClosestOrePosition [get, set]
 
int ShimmerTileCount [get, set]
 
int EvilTileCount [get, set]
 
int HolyTileCount [get, set]
 
int HoneyBlockCount [get, set]
 
int ActiveMusicBox [get, set]
 
int SandTileCount [get, set]
 
int MushroomTileCount [get, set]
 
int SnowTileCount [get, set]
 
int WaterCandleCount [get, set]
 
int PeaceCandleCount [get, set]
 
int ShadowCandleCount [get, set]
 
int PartyMonolithCount [get, set]
 
int MeteorTileCount [get, set]
 
int BloodTileCount [get, set]
 
int JungleTileCount [get, set]
 
int DungeonTileCount [get, set]
 
bool HasSunflower [get, set]
 
bool HasGardenGnome [get, set]
 
bool HasClock [get, set]
 
bool HasCampfire [get, set]
 
bool HasStarInBottle [get, set]
 
bool HasHeartLantern [get, set]
 
int ActiveFountainColor [get, set]
 
int ActiveMonolithType [get, set]
 
bool BloodMoonMonolith [get, set]
 
bool MoonLordMonolith [get, set]
 
bool EchoMonolith [get, set]
 
int ShimmerMonolithState [get, set]
 
bool HasCatBast [get, set]
 
int GraveyardTileCount [get, set]
 
bool EnoughTilesForShimmer [get]
 
bool EnoughTilesForJungle [get]
 
bool EnoughTilesForHallow [get]
 
bool EnoughTilesForSnow [get]
 
bool EnoughTilesForGlowingMushroom [get]
 
bool EnoughTilesForDesert [get]
 
bool EnoughTilesForCorruption [get]
 
bool EnoughTilesForCrimson [get]
 
bool EnoughTilesForMeteor [get]
 
bool EnoughTilesForGraveyard [get]
 

Private Member Functions

void ExportTileCountsToMain ()
 
void UpdateOreFinderData ()
 

Private Attributes

readonly int[] _liquidCounts = new int[LiquidID.Count]
 
readonly List< Point > _oreFinderTileLocations = new List<Point>(512)
 

Detailed Description

Definition at line 10 of file SceneMetrics.cs.


The documentation for this class was generated from the following file: