Jump to content

Launcher protocol: Difference between revisions

fixed constant name to correspond with the source code
(Document the rework segmented protocol)
Tag: Source edit
(fixed constant name to correspond with the source code)
Tag: Source edit
Line 223: Line 223:
| Denied; your IP is banned
| Denied; your IP is banned
|-
|-
! <tt>SERVER_LAUNCHER_SEGMENTED_CHALLENGE</tt>
! <tt>SERVER_LAUNCHER_CHALLENGE_SEGMENTED</tt>
| 5660032
| 5660032
| Accepted; segmented information follows
| Accepted; segmented information follows
Line 637: Line 637:
         }
         }


         case SERVER_LAUNCHER_SEGMENTED_CHALLENGE: {
         case SERVER_LAUNCHER_CHALLENGE_SEGMENTED: {
             const segmentNumber = data.readByte();
             const segmentNumber = data.readByte();
             const totalSegments = data.readByte();
             const totalSegments = data.readByte();