Class PieceDetectionPacket

java.lang.Object
com.marswars.proxy_server.PieceDetectionPacket
All Implemented Interfaces:
Packet

public abstract class PieceDetectionPacket extends Object implements Packet
Packet handler for game piece detection data. Provides functionality to parse incoming packets containing information about detected game pieces and their locations.
  • Field Details

  • Constructor Details

    • PieceDetectionPacket

      public PieceDetectionPacket()
  • Method Details

    • updateData

      public static PieceDetectionPacket.PieceDetectionData updateData(byte[] buffer)
      Parses piece detection packet data from a received byte buffer. Extracts timestamp, camera serial, and game piece detection information from the buffer.
      Parameters:
      buffer - the byte buffer containing the packet data
      Returns:
      PieceDetectionData object with parsed information