Verbose snap data printing on client side

This commit is contained in:
ChillerDragon 2022-11-16 10:57:49 +01:00
parent 653ee661e9
commit 616e14be1f

View file

@ -180,7 +180,10 @@ class GameClient
# end # end
# TODO: add get_raw(size) # TODO: add get_raw(size)
# data = u.get_raw data = u.get_raw
puts 'snap:'
p str_hex(data.pack('C*'))
p data
# ack every snapshot no matter how broken # ack every snapshot no matter how broken
@ack_game_tick = game_tick @ack_game_tick = game_tick