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

◆ CustomBiomesMatch()

static bool Terraria.ModLoader.BiomeLoader.CustomBiomesMatch ( Player player,
Player other )
inlinestatic

Definition at line 35 of file BiomeLoader.cs.

36 {
37 for (int i = 0; i < player.modBiomeFlags.Length; i++)
38 {
39 if (player.modBiomeFlags[i] != other.modBiomeFlags[i])
40 {
41 return false;
42 }
43 }
44 return true;
45 }

References Terraria.Player.modBiomeFlags.

Referenced by Terraria.Main.TrySyncingMyPlayer().

+ Here is the caller graph for this function: