Definition at line 1133 of file WorldGen.cs.
1134 {
1135 int num = 1;
1136 if (num == 0)
1137 {
1138 }
1139 if (num == 0)
1140 {
1141 }
1143 int myPlayer = Main.myPlayer;
1145 Main.ToggleGameplayUpdates(false);
1147 {
1148 }
1151 {
1153 {
1154 }
1155 return;
1156 }
1158 {
1159 }
1162 {
1164 {
1165 }
1166 return;
1167 }
1170 {
1171 }
1173 {
1174 }
1176 {
1177 }
1178 bool flag;
1179 if (flag)
1180 {
1182 {
1185 {
1186 }
1188 return;
1189 }
1190 string worldPathName = Main.worldPathName;
1193 {
1194 }
1203 {
1204 }
1207 {
1209 {
1210 }
1211 return;
1212 }
1214 {
1215 }
1218 {
1222 {
1223 }
1233 {
1234 }
1237 return;
1238 }
1240 {
1241 }
1242 bool mapEnabled = Main.mapEnabled;
1243 Main.Map.Load();
1245 Main.sectionManager.SetAllSectionsLoaded();
1246 bool loadMapLock = Main.loadMapLock;
1248 int mapSectionsLeft = Main.sectionManager.mapSectionsLeft;
1251 {
1252 }
1255 return;
1256 }
1257 else
1258 {
1259 if (".bad" != null)
1260 {
1261 return;
1262 }
1264 return;
1265 }
1266 }
class f__AnonymousType0<< Count > j__TPar
static void WriteLine(object value)
static void Sleep(int millisecondsTimeout)
static void LoadWorld(bool loadFromCloud)
static string GetTextValue(string key)
static void Copy(string source, string destination, bool cloud=false, bool overwrite=true)
static void Delete(string path, bool cloud=false)
References Terraria.Utilities.FileUtilities.Copy(), Terraria.Utilities.FileUtilities.Delete(), Terraria.Localization.Language.GetTextValue(), j__TPar, System.L, Terraria.Map.WorldMap.Load(), Terraria.Main.loadMapLock, Terraria.IO.WorldFile.LoadWorld(), Terraria.Main.LogicClient, Terraria.Main.Map, Terraria.Main.mapEnabled, Terraria.WorldSections.mapSectionsLeft, Terraria.Main.myPlayer, System.DateTime.Now, Terraria.Main.sectionManager, Terraria.WorldSections.SetAllSectionsLoaded(), System.Threading.Thread.Sleep(), System.text, System.DateTime.Ticks, Terraria.Main.ToggleGameplayUpdates(), Terraria.WorldSections.TotalMapSections, Terraria.Main.worldPathName, and System.Console.WriteLine().