Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.SceneMetrics Class Reference

Public Member Functions

 SceneMetrics ()
 
void ScanAndExportToMain (SceneMetricsScanSettings settings)
 
int GetTileCount (ushort tileId)
 
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
 

Properties

PointClosestOrePosition [get, private set]
 
int ShimmerTileCount [get, set]
 
int EvilTileCount [get, set]
 
int HolyTileCount [get, set]
 
int HoneyBlockCount [get, set]
 
int ActiveMusicBox [get, set]
 
int SandTileCount [get, private set]
 
int MushroomTileCount [get, private set]
 
int SnowTileCount [get, private set]
 
int WaterCandleCount [get, private set]
 
int PeaceCandleCount [get, private set]
 
int ShadowCandleCount [get, private set]
 
int PartyMonolithCount [get, private set]
 
int MeteorTileCount [get, private set]
 
int BloodTileCount [get, private set]
 
int JungleTileCount [get, private set]
 
int DungeonTileCount [get, private set]
 
bool HasSunflower [get, private set]
 
bool HasGardenGnome [get, private set]
 
bool HasClock [get, private set]
 
bool HasCampfire [get, private set]
 
bool HasStarInBottle [get, private set]
 
bool HasHeartLantern [get, private set]
 
int ActiveFountainColor [get, private set]
 
int ActiveMonolithType [get, private set]
 
bool BloodMoonMonolith [get, private set]
 
bool MoonLordMonolith [get, private set]
 
bool EchoMonolith [get, private set]
 
int ShimmerMonolithState [get, private set]
 
bool HasCatBast [get, private set]
 
int GraveyardTileCount [get, private 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[] _tileCounts = new int[TileID.Count]
 
readonly int[] _liquidCounts = new int[LiquidID.Count]
 
readonly List< Point_oreFinderTileLocations = new List<Point>(512)
 

Detailed Description

Definition at line 9 of file SceneMetrics.cs.


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