From c7b2245005475f95197fb245f9d3dd26a3312fb9 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 20 Sep 2023 11:35:39 -0400 Subject: [PATCH] Unused methods removed --- src/engine/objects/Realm.java | 82 ----------------------------------- 1 file changed, 82 deletions(-) diff --git a/src/engine/objects/Realm.java b/src/engine/objects/Realm.java index e97a4533..64397870 100644 --- a/src/engine/objects/Realm.java +++ b/src/engine/objects/Realm.java @@ -175,22 +175,6 @@ public class Realm { return (this.rulingCityUUID != 0); } - public float getMapR() { - return this.mapR; - } - - public float getMapG() { - return this.mapG; - } - - public float getMapB() { - return this.mapB; - } - - public float getMapA() { - return this.mapA; - } - public boolean getCanBeClaimed() { return this.canBeClaimed; } @@ -211,37 +195,6 @@ public class Realm { return City.getCity(this.rulingCityUUID); } - public float getMapY1() { - return this.mapY1; - } - - public float getMapX1() { - return this.mapX1; - } - - public float getMapY2() { - return this.mapY2; - } - - public float getMapX2() { - return this.mapX2; - } - - public int getStretchX() { - return this.stretchX; - } - - public int getStretchY() { - return this.stretchY; - } - - public int getlocX() { - return this.locX; - } - - public int getlocY() { - return this.locY; - } // Call this after changing ownership before you serialize a realm @@ -370,13 +323,6 @@ public class Realm { return charterType; } - /** - * @param charterType the charterType to set - */ - public void setCharterType(int charterType) { - this.charterType = charterType; - } - public void abandonRealm() { // Push event to warehouse @@ -417,32 +363,4 @@ public class Realm { return hash; } - public void setHash() { - - this.hash = DataWarehouse.hasher.encrypt(this.realmID); - - // Write hash to player character table - - DataWarehouse.writeHash(Enum.DataRecordType.REALM, this.realmID); - } - - /* *** Keeping around in case needed for server wipe or some other emergency - - public static void backfillRealms() { - - // Backfill realm records - - for (Realm realm : _realms.values()) { - - realm.setHash(); - - if ( (realm.isRuled() == true) && - (DataWarehouse.recordExists(Enum.DataRecordType.REALM, realm.getRealmID()) == false)) { - RealmRecord realmRecord = RealmRecord.borrow(realm, Enum.RecordEventType.CAPTURE); - DataWarehouse.pushToWarehouse(realmRecord); - } - - } - } - */ }