Renamed class to not conflict with the java.lang version.
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
|
||||
package engine.server.world;
|
||||
|
||||
import engine.Enum;
|
||||
import engine.Enum.DispatchChannel;
|
||||
import engine.Enum.MinionType;
|
||||
import engine.Enum.SupportMsgType;
|
||||
import engine.mbEnums;
|
||||
import engine.mbEnums.DispatchChannel;
|
||||
import engine.mbEnums.MinionType;
|
||||
import engine.mbEnums.SupportMsgType;
|
||||
import engine.InterestManagement.RealmMap;
|
||||
import engine.InterestManagement.WorldGrid;
|
||||
import engine.db.archive.DataWarehouse;
|
||||
@@ -69,7 +69,7 @@ public class WorldServer {
|
||||
public static int worldRealmMap = Integer.parseInt(ConfigManager.MB_WORLD_REALMMAP.getValue());
|
||||
|
||||
public static int worldUUID = 1; // Root object in database
|
||||
public static Enum.AccountStatus worldAccessLevel = Enum.AccountStatus.valueOf(ConfigManager.MB_WORLD_ACCESS_LVL.getValue());
|
||||
public static mbEnums.AccountStatus worldAccessLevel = mbEnums.AccountStatus.valueOf(ConfigManager.MB_WORLD_ACCESS_LVL.getValue());
|
||||
private static LocalDateTime bootTime = LocalDateTime.now();
|
||||
public boolean isRunning = false;
|
||||
|
||||
@@ -100,7 +100,7 @@ public class WorldServer {
|
||||
|
||||
worldServer = new WorldServer();
|
||||
|
||||
ConfigManager.serverType = Enum.ServerType.WORLDSERVER;
|
||||
ConfigManager.serverType = mbEnums.ServerType.WORLDSERVER;
|
||||
ConfigManager.worldServer = worldServer;
|
||||
|
||||
worldServer.init();
|
||||
@@ -364,7 +364,7 @@ public class WorldServer {
|
||||
MapLoader.loadAlHeightMaps();
|
||||
|
||||
Logger.info("Loading Race data");
|
||||
Enum.RaceType.initRaceTypeTables();
|
||||
mbEnums.RaceType.initRaceTypeTables();
|
||||
Race.loadAllRaces();
|
||||
|
||||
Logger.info("Loading building slot/stuck location data.");
|
||||
@@ -413,7 +413,7 @@ public class WorldServer {
|
||||
DbManager.ShrineQueries.LOAD_ALL_SHRINES();
|
||||
|
||||
Logger.info("Initialize Resource type lookup");
|
||||
Enum.ResourceType.InitializeResourceTypes();
|
||||
mbEnums.ResourceType.InitializeResourceTypes();
|
||||
|
||||
Logger.info("Loading Warehouse data.");
|
||||
DbManager.WarehouseQueries.LOAD_WAREHOUSES();
|
||||
@@ -720,8 +720,8 @@ public class WorldServer {
|
||||
Logger.info("Msg: " + flashString);
|
||||
|
||||
ChatSystemMsg msg = new ChatSystemMsg(null, flashString);
|
||||
msg.setChannel(engine.Enum.ChatChannelType.FLASH.getChannelID());
|
||||
msg.setMessageType(Enum.ChatMessageType.INFO.ordinal());
|
||||
msg.setChannel(mbEnums.ChatChannelType.FLASH.getChannelID());
|
||||
msg.setMessageType(mbEnums.ChatMessageType.INFO.ordinal());
|
||||
DispatchMessage.dispatchMsgToAll(msg);
|
||||
|
||||
// Delete file
|
||||
|
||||
Reference in New Issue
Block a user