static_rune_race is read only for the race ids and the server-only heights; the hair/beard style, racebaseclass, baseclass and promotionrunereq queries are gone. GET_BASE_CLASS is cache-only, which also drops the obj_account cache-miss query. CSR/admin promotions 2901+ (no promotionrunereq rows) get an empty allowed list. No value changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.3 KiB
Java
33 lines
1.3 KiB
Java
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
|
|
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
|
|
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
|
|
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
|
|
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
|
|
// Magicbane Emulator Project © 2013 - 2026
|
|
// https://www.magicbane.com
|
|
|
|
|
|
package engine.db.handlers;
|
|
|
|
import engine.gameManager.DbManager;
|
|
import engine.mbEnums;
|
|
import engine.mbEnums.GameObjectType;
|
|
import engine.objects.BaseClass;
|
|
|
|
|
|
public class dbBaseClassHandler extends dbHandlerBase {
|
|
|
|
public dbBaseClassHandler() {
|
|
this.localClass = BaseClass.class;
|
|
this.localObjectType = mbEnums.GameObjectType.BaseClass;
|
|
}
|
|
|
|
public BaseClass GET_BASE_CLASS(final int id) {
|
|
|
|
if (id == 0)
|
|
return null;
|
|
|
|
return (BaseClass) DbManager.getFromCache(GameObjectType.BaseClass, id);
|
|
}
|
|
}
|