mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
18 lines
536 B
Java
18 lines
536 B
Java
package pro.gravit.launcher.server;
|
|
|
|
import com.google.gson.GsonBuilder;
|
|
import pro.gravit.launcher.managers.GsonManager;
|
|
import pro.gravit.launcher.modules.events.PreGsonPhase;
|
|
import pro.gravit.launcher.request.websockets.ClientWebSocketService;
|
|
|
|
public class ServerWrapperGsonManager extends GsonManager {
|
|
|
|
public ServerWrapperGsonManager() {
|
|
}
|
|
|
|
@Override
|
|
public void registerAdapters(GsonBuilder builder) {
|
|
super.registerAdapters(builder);
|
|
ClientWebSocketService.appendTypeAdapters(builder);
|
|
}
|
|
}
|