Variable Contents Block

From Lazer Swarm Wiki
Jump to navigation Jump to search
Smart Device Protocol Block
Name VARIABLE-CONTENTS
BType 0x20
BData Count 2
Sent By Device

This block is sent in response to the Read Variable and Write Variable blocks.

  • BData0—Variable number (0x00–0x35)
  • BData1—Value

List of Variables

Num Name Description
0x00 User0 Usable by the device to store data
0x01 User1 Usable by the device to store data
0x02 User2 Usable by the device to store data
0x03 User3 Usable by the device to store data
0x04 User4 Usable by the device to store data
0x05 User5 Usable by the device to store data
0x06 User6 Usable by the device to store data
0x07 User7 Usable by the device to store data
0x08 HostID Game ID
0x09 Minutes Game length (minutes)
0x0A Health Starting health
0x0B Reload Ammo (Low byte) Starting reload ammo
0x0C Reload Ammo (High byte) Starting reload ammo
0x0D Shields Starting shields
0x0E Megas Starting Mega-Tags
0x0F GameFlags1 Game flags 1
0x10 GameFlags2 Game flags 2
0x11 GameFlags3 Game flags 3
0x12 Loaded Ammo Starting loaded ammo
0x13 DeadMan Minutes Sleep timeout
0x14 Player ID 2:3 Packed Team and Player Number
0x15 Countdown Seconds Countdown time
0x16 Group1 Players Team 1 players
0x17 Group2 Players Team 2 players
0x18 Group3 Players Team 3 players
0x19 Team Number Team number (one-based)
0x1A Player Number Player number (zero-based)
0x1B Hunter Team Number Team that is hunting you. Also used as abort timer during joining
0x1D Initial Health Starting health
0x1E Mega Count Mega-Tags loaded to be fired
0x20 Game Time Minutes Game time (minutes)
0x21 Game Time Seconds Game time (seconds)
0x22 DeadMan Timer Minutes Idle time
0x23 Overheat Timer Overheat timer
0x25 Hospital Timer/Counter Supply zone timer
0x26 Neutralize Timer/Counter Neutralize timer
0x29 App Version App version (sent to host in Request Join Game Enhanced)
0x2A App Title App title (sent to host in Request Join Game Enhanced)
0x2B App Source App source (sent to host in Request Join Game Enhanced)
0x2F Language ID Language (read only, 0x00 is English)