TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ Exists()

static bool Terraria.ModLoader.PlantLoader.Exists ( int plantTileID,
int growsOnTileID )
inlinestatic

Definition at line 62 of file PlantLoader.cs.

63 {
64 //IL_0009: Unknown result type (might be due to invalid IL or missing references)
65 return plantLookup.ContainsKey(new Vector2((float)plantTileID, (float)growsOnTileID));
66 }
static Dictionary< Vector2, IPlant > plantLookup

References Terraria.ModLoader.PlantLoader.plantLookup.

Referenced by Terraria.ModLoader.TileLoader.CanGrowModCactus(), Terraria.ModLoader.TileLoader.CanGrowModPalmTree(), and Terraria.ModLoader.TileLoader.CanGrowModTree().

+ Here is the caller graph for this function: