mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-24 09:31:09 +03:00
20 lines
530 B
Java
20 lines
530 B
Java
|
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;
|
||
|
}
|
||
|
}
|