Class EngineConnectionTypes

java.lang.Object
org.spongepowered.api.network.EngineConnectionTypes

public final class EngineConnectionTypes extends Object
An enumeration of all the possible engine connection types.
  • Field Details

    • ALL

      public static final Class<EngineConnection> ALL
      The supertype of all the known connection types.
    • CLIENT_SIDE

      public static final Class<ClientSideConnection> CLIENT_SIDE
      The client side connection type.
    • LOCAL_PLAYER

      public static final Class<LocalPlayerConnection> LOCAL_PLAYER
      The client side connection type where the player has successfully joined a server.
    • PLAYER

      public static final Class<PlayerConnection> PLAYER
      The server or client connection type where the player has successfully joined a server.
    • SERVER_SIDE

      public static final Class<ServerSideConnection> SERVER_SIDE
      The server side connection type.
    • SERVER_PLAYER

      public static final Class<ServerPlayerConnection> SERVER_PLAYER
      The server side connection type where the player has successfully joined a server.