refactor: removed unused and outdated code

This commit is contained in:
Oleg Agafonov 2025-06-29 21:41:29 +04:00
parent 97be82d3a4
commit 915e1308eb
10 changed files with 0 additions and 243 deletions

View file

@ -1,25 +0,0 @@
package mage.server.challenge;
import mage.constants.Zone;
import mage.game.match.Match;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
/**
* C U R R E N T L Y U N U S E D
*
* Loads challenges from scenarios.
* Configure games by initializing starting game board.
*/
public enum ChallengeManager {
instance;
public void prepareChallenge(UUID playerId, Match match) {
Map<Zone, String> commands = new HashMap<>();
commands.put(Zone.OUTSIDE, "life:3");
match.getGame().cheat(playerId, commands);
}
}

View file

@ -1,7 +0,0 @@
package mage.server.exceptions;
/**
* Created by igoudt on 14-1-2017.
*/
public class UserNotFoundException extends Exception {
}

View file

@ -3,7 +3,6 @@ package mage.server.managers;
import mage.game.Game;
import mage.server.ChatSession;
import mage.server.DisconnectReason;
import mage.server.exceptions.UserNotFoundException;
import mage.view.ChatMessage;
import java.util.List;

View file

@ -1,18 +0,0 @@
package mage.server.services;
/**
* Responsible for gathering logs and storing them in DB.
*
* @author noxx
*/
@FunctionalInterface
public interface LogService {
/**
* Logs any information
*
* @param key Log key. Should be the same for the same types of logs.
* @param args Any parameters in string representation.
*/
void log(String key, String... args);
}

View file

@ -1,18 +0,0 @@
package mage.server.services;
/**
* Common interface for all services.
*
* @author noxx
*/
public interface MageService {
/**
* Restores data on startup.
*/
void initService();
/**
* Dumps data to DB.
*/
void saveData();
}