Single Tag Report

From Lazer Swarm Wiki
Jump to navigation Jump to search
Infrared Protocol Packet
Name HEAD-TO-HEAD-SCORE-DATA
PType 0x48
PData Count 4
Sent By Player
  • PData0—Game ID
  • PData1—Player A information
  • PData2—Player B information
  • PData3—Number of tags received by player A from player B

Example

  1. Player 1:1 did not see the team tag report for team 1 sent by player 2:1 and wants to know how many times it tagged player 2:1
  2. Player 1:1 initiates a request to player 2:1
    • Player A is set to 1:1
    • Player B is set to 2:1
    • The "number of tags received" is set to the number of tags received by player 1:1 from player 2:1
    • Both "reply" bits are set to 0
  3. Player 2:1 receives the message and stores the the "number of tags received" by player 1:1 if it didn't already receive it from player 1:1's team tag report for team 2
  4. Player 2:1 initiates a reply to player 1:1
    • Player A is set to 2:1
    • Player B is set to 1:1
    • The "number of tags received" is set to the number of tags received by player 2:1 from player 1:1
    • Both "reply" bits are set to 1
  5. Player 1:1 receives the message and now has the "number of tags received" by player 2:1 that it had requested