the_big_one/src/main/java/jesse/keeblarcraft/BankMgr/BankManager.java

31 lines
871 B
Java
Raw Normal View History

2024-10-28 21:47:51 +00:00
package jesse.keeblarcraft.BankMgr;
import java.util.HashMap;
import jesse.keeblarcraft.ConfigMgr.ConfigManager;
// The bank manager takes care of routing any and all transactions throughout the server.
// It is a singleton object that is active throughout the mods lifetime and will cache players accounts
// when they log in to avoid constant look-ups through JSON (TODO for this).
//
2024-10-28 21:47:51 +00:00
public class BankManager {
ConfigManager config = new ConfigManager();
2024-10-28 21:47:51 +00:00
// Contains all account information for a given bank
private class BankAccountInformation {
2024-10-28 21:47:51 +00:00
}
// Structure of all the players banking information across all banks.
private class PlayerFinances {
2024-10-28 21:47:51 +00:00
// Key = Bank UUID
// Value = The account information for THIS player
HashMap<String, BankAccountInformation> allBanks;
2024-10-28 21:47:51 +00:00
}
public BankManager() {
2024-10-28 21:47:51 +00:00
}
}