Class GhostProtocol

java.lang.Object
com.iantapply.conflux.api.GhostProtocol

public final class GhostProtocol extends Object
Shared limits and validation helpers for the Conflux wire protocol.
  • Field Details

    • CURRENT_VERSION

      public static final int CURRENT_VERSION
      Current wire protocol understood by this release.
      See Also:
    • MAX_PLAYERS_PER_FRAME

      public static final int MAX_PLAYERS_PER_FRAME
      Maximum players accepted in a single node snapshot.
      See Also:
    • MAX_EQUIPMENT_LENGTH

      public static final int MAX_EQUIPMENT_LENGTH
      Maximum encoded size of one equipment slot.
      See Also:
    • MAX_SKIN_VALUE_LENGTH

      public static final int MAX_SKIN_VALUE_LENGTH
      Maximum encoded skin texture value length.
      See Also:
    • MAX_SKIN_SIGNATURE_LENGTH

      public static final int MAX_SKIN_SIGNATURE_LENGTH
      Maximum encoded skin signature length.
      See Also:
    • MAX_APPEARANCE_CHARACTERS_PER_FRAME

      public static final int MAX_APPEARANCE_CHARACTERS_PER_FRAME
      Maximum combined encoded appearance characters accepted in one frame.
      See Also: