-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackets.txt
50 lines (39 loc) · 993 Bytes
/
packets.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
client packets
- time-synch-request
message-id 8bits
transmission-timestamp 64bits
- time-synch-done
message-id 8bits
player-id 8bits
- input (32 bits)
message-id 8bits
unit-id 8bits
translation 8bits
rotation 8bits
frame 8bits
- match-start-ack (8bits)
message-id 8bits
player-id 8bits
- match-end-ack (8 bits)
message-id 8bits
player-id 8bits
server packets
- time-synch-response
message-id 8bits
transmission-timestamp 64bits
server-reception-timestamp 64bits
server-transmission-timestamp 64bits
- time-synch-done-ack
message-id 8bits
- unit-state (88bits)
message-id 8bits
unit-id 8bits
x-position 32bits
y-position 32bits
rotation 8bits
frame 8bits
- match-start (72 bits)
message-id 8bits
start-timestamp 64bits (with ms)
- match-end (8 bits)
message-id 8bits