Class MinecraftAuthlibBridge

java.lang.Object
com.gravitlauncher.socketbridge.server.AbstractServer
com.gravitlauncher.socketbridge.server.SocketServer
pro.gravit.launcher.client.utils.MinecraftAuthlibBridge
All Implemented Interfaces:
AutoCloseable

public class MinecraftAuthlibBridge extends com.gravitlauncher.socketbridge.server.SocketServer
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.gravitlauncher.socketbridge.server.AbstractServer

    com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient, com.gravitlauncher.socketbridge.server.AbstractServer.ServerHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     
    static String
     
    static String
     

    Fields inherited from class com.gravitlauncher.socketbridge.server.AbstractServer

    registryRequest, registryResponse
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.gravitlauncher.socketbridge.minecraft.UserEntity
    convertToUserEntity(pro.gravit.launcher.core.api.features.UserFeatureAPI.CheckServerResponse checkServerResponse)
     
    com.gravitlauncher.socketbridge.minecraft.UserEntity
    convertToUserEntity(pro.gravit.launcher.core.api.model.User user)
     
    static com.gravitlauncher.socketbridge.minecraft.PropertyEntity
    makeProperty(String name, String value)
     
    static com.gravitlauncher.socketbridge.minecraft.PropertyEntity
    makeTexturesProperty(pro.gravit.launcher.core.api.model.User playerProfile)
     
    void
    onCheckServerRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
     
    void
    onJoinServerByUsernameRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
     
    void
    onJoinServerByUuidRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
     
    void
    onUserByUsernameRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
     
    void
    onUserByUuidRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
     
    static void
    pushProperty(Map<String, com.gravitlauncher.socketbridge.minecraft.PropertyEntity> properties, com.gravitlauncher.socketbridge.minecraft.PropertyEntity property)
     

    Methods inherited from class com.gravitlauncher.socketbridge.server.SocketServer

    close, isAllowConnection, process, registerHandler, unregisterHandler

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SESSION_HARDWARE_ID_PROPERTY

      public static String SESSION_HARDWARE_ID_PROPERTY
    • SESSION_ID_PROPERTY

      public static String SESSION_ID_PROPERTY
    • SESSION_BASE_PROPERTY

      public static String SESSION_BASE_PROPERTY
  • Constructor Details

  • Method Details

    • onUserByUsernameRequest

      public void onUserByUsernameRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
    • onUserByUuidRequest

      public void onUserByUuidRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
    • onJoinServerByUsernameRequest

      public void onJoinServerByUsernameRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
    • onJoinServerByUuidRequest

      public void onJoinServerByUuidRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
    • onCheckServerRequest

      public void onCheckServerRequest(com.gravitlauncher.socketbridge.MessageHeader header, Object o, com.gravitlauncher.socketbridge.server.AbstractServer.ServerClient client)
    • convertToUserEntity

      public com.gravitlauncher.socketbridge.minecraft.UserEntity convertToUserEntity(pro.gravit.launcher.core.api.model.User user)
    • convertToUserEntity

      public com.gravitlauncher.socketbridge.minecraft.UserEntity convertToUserEntity(pro.gravit.launcher.core.api.features.UserFeatureAPI.CheckServerResponse checkServerResponse)
    • makeProperty

      public static com.gravitlauncher.socketbridge.minecraft.PropertyEntity makeProperty(String name, String value)
    • pushProperty

      public static void pushProperty(Map<String, com.gravitlauncher.socketbridge.minecraft.PropertyEntity> properties, com.gravitlauncher.socketbridge.minecraft.PropertyEntity property)
    • makeTexturesProperty

      public static com.gravitlauncher.socketbridge.minecraft.PropertyEntity makeTexturesProperty(pro.gravit.launcher.core.api.model.User playerProfile)