internal static bool LoadSpawnZones() { using (var conn = DataAccess.GetSQLConnection()) { try { SqlStoredProcedure sp = new SqlStoredProcedure("prApp_SpawnZone_Select_All", conn); DataTable dtCatalogItem = sp.ExecuteDataTable(); foreach (DataRow dr in dtCatalogItem.Rows) { SpawnZone.Add(new SpawnZone(dr)); } Utils.Log("Loaded SpawnZones (" + SpawnZone.Spawns.Count + ")", Utils.LogType.SystemGo); return(true); } catch (Exception e) { Utils.LogException(e); return(false); } } }