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

◆ GetWorldSize()

static int Terraria.WorldGen.GetWorldSize ( )
inlinestatic

Definition at line 3021 of file WorldGen.cs.

3022 {
3023 if (Main.maxTilesX <= 4200)
3024 {
3025 return 0;
3026 }
3027 if (Main.maxTilesX <= 6400)
3028 {
3029 return 1;
3030 }
3031 return 2;
3032 }

References Terraria.Main.maxTilesX.