2019-06-02 05:03:08 +03:00
|
|
|
package pro.gravit.launcher.server;
|
2019-04-20 01:03:06 +03:00
|
|
|
|
|
|
|
import com.google.gson.GsonBuilder;
|
2023-12-23 08:05:23 +03:00
|
|
|
import pro.gravit.launcher.core.managers.GsonManager;
|
2023-12-23 13:58:09 +03:00
|
|
|
import pro.gravit.launcher.base.request.websockets.ClientWebSocketService;
|
2019-04-20 01:03:06 +03:00
|
|
|
|
|
|
|
public class ServerWrapperGsonManager extends GsonManager {
|
2019-08-26 14:22:24 +03:00
|
|
|
|
2021-09-25 13:40:08 +03:00
|
|
|
public ServerWrapperGsonManager() {
|
2019-08-26 14:22:24 +03:00
|
|
|
}
|
|
|
|
|
2019-04-20 01:03:06 +03:00
|
|
|
@Override
|
|
|
|
public void registerAdapters(GsonBuilder builder) {
|
|
|
|
super.registerAdapters(builder);
|
2019-07-03 10:23:26 +03:00
|
|
|
ClientWebSocketService.appendTypeAdapters(builder);
|
2019-04-20 01:03:06 +03:00
|
|
|
}
|
|
|
|
}
|