mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-18 08:02:56 -04:00
Added GalaxyStatus enum
This commit is contained in:
@@ -15,6 +15,7 @@ import network.packets.swg.zone.baselines.Baseline;
|
||||
import intents.InboundPacketIntent;
|
||||
import intents.OutboundPacketIntent;
|
||||
import resources.Galaxy;
|
||||
import resources.Galaxy.GalaxyStatus;
|
||||
import resources.config.ConfigFile;
|
||||
import resources.control.Intent;
|
||||
import resources.control.Manager;
|
||||
@@ -83,6 +84,10 @@ public class CoreManager extends Manager {
|
||||
}
|
||||
}
|
||||
|
||||
public GalaxyStatus getGalaxyStatus() {
|
||||
return galaxy.getStatus();
|
||||
}
|
||||
|
||||
private void outputPacket(int indent, Packet packet) {
|
||||
if (packet instanceof DataChannelA) {
|
||||
for (SWGPacket p : ((DataChannelA) packet).getPackets()) {
|
||||
|
||||
Reference in New Issue
Block a user