Launcher/Launcher/src/main/java/ru/gravit/launcher/server/ServerModuleContext.java

20 lines
530 B
Java
Raw Normal View History

2018-09-17 10:07:32 +03:00
package ru.gravit.launcher.server;
import ru.gravit.launcher.LauncherClassLoader;
import ru.gravit.launcher.modules.ModuleContext;
public class ServerModuleContext implements ModuleContext {
public final LauncherClassLoader classLoader;
public final ServerWrapper wrapper;
public ServerModuleContext(ServerWrapper wrapper, LauncherClassLoader classLoader) {
this.classLoader = classLoader;
this.wrapper = wrapper;
}
@Override
public Type getType() {
return Type.SERVER;
}
}