From 39844251b0cbad098d1bbe606500f8b2376ee780 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 13 Aug 2024 11:58:41 -0400 Subject: [PATCH] wpak package for wpak code --- src/engine/ConfigParsing/EffectEntry/Condition.java | 6 ------ src/engine/server/world/WorldServer.java | 2 +- .../{ConfigParsing/EffectEntry => wpak}/EffectEntry.java | 2 +- .../{ConfigParsing/EffectEntry => wpak}/EffectModifier.java | 2 +- src/engine/{ConfigParsing => wpak}/EffectsParser.java | 4 +--- 5 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 src/engine/ConfigParsing/EffectEntry/Condition.java rename src/engine/{ConfigParsing/EffectEntry => wpak}/EffectEntry.java (89%) rename src/engine/{ConfigParsing/EffectEntry => wpak}/EffectModifier.java (88%) rename src/engine/{ConfigParsing => wpak}/EffectsParser.java (98%) diff --git a/src/engine/ConfigParsing/EffectEntry/Condition.java b/src/engine/ConfigParsing/EffectEntry/Condition.java deleted file mode 100644 index 3aa12f0e..00000000 --- a/src/engine/ConfigParsing/EffectEntry/Condition.java +++ /dev/null @@ -1,6 +0,0 @@ -package engine.ConfigParsing.EffectEntry; - -public class Condition { - public String type; - public String value; -} diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index cea0782e..4c4d5622 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -9,7 +9,6 @@ package engine.server.world; -import engine.ConfigParsing.EffectsParser; import engine.InterestManagement.RealmMap; import engine.InterestManagement.WorldGrid; import engine.db.archive.DataWarehouse; @@ -39,6 +38,7 @@ import engine.workthreads.DisconnectTrashTask; import engine.workthreads.HourlyJobThread; import engine.workthreads.PurgeOprhans; import engine.workthreads.WarehousePushThread; +import engine.wpak.EffectsParser; import org.pmw.tinylog.Configurator; import org.pmw.tinylog.Level; import org.pmw.tinylog.Logger; diff --git a/src/engine/ConfigParsing/EffectEntry/EffectEntry.java b/src/engine/wpak/EffectEntry.java similarity index 89% rename from src/engine/ConfigParsing/EffectEntry/EffectEntry.java rename to src/engine/wpak/EffectEntry.java index 0a74a792..2f531d8a 100644 --- a/src/engine/ConfigParsing/EffectEntry/EffectEntry.java +++ b/src/engine/wpak/EffectEntry.java @@ -1,4 +1,4 @@ -package engine.ConfigParsing.EffectEntry; +package engine.wpak; import java.util.ArrayList; import java.util.HashMap; diff --git a/src/engine/ConfigParsing/EffectEntry/EffectModifier.java b/src/engine/wpak/EffectModifier.java similarity index 88% rename from src/engine/ConfigParsing/EffectEntry/EffectModifier.java rename to src/engine/wpak/EffectModifier.java index 7da66495..097488ca 100644 --- a/src/engine/ConfigParsing/EffectEntry/EffectModifier.java +++ b/src/engine/wpak/EffectModifier.java @@ -1,4 +1,4 @@ -package engine.ConfigParsing.EffectEntry; +package engine.wpak; import engine.mbEnums; diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/wpak/EffectsParser.java similarity index 98% rename from src/engine/ConfigParsing/EffectsParser.java rename to src/engine/wpak/EffectsParser.java index df3ff90c..d6800cd9 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/wpak/EffectsParser.java @@ -6,10 +6,8 @@ // Magicbane Emulator Project © 2013 - 2024 // www.magicbane.com -package engine.ConfigParsing; +package engine.wpak; -import engine.ConfigParsing.EffectEntry.EffectEntry; -import engine.ConfigParsing.EffectEntry.EffectModifier; import engine.gameManager.ConfigManager; import engine.mbEnums; import org.pmw.tinylog.Logger;