-
Notifications
You must be signed in to change notification settings - Fork 1
/
i
46 lines (38 loc) · 831 Bytes
/
i
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
typealias arr[a] = int a[\0]
typealias str = arr[char]
typealias obj = float float byte byte byte byte short
typealias arrend[a] = a[MAX]
typealias planet = byte ()[\0]
Client: AUTH [name]
(0 str)
Server: ACK
(1)
[loop 1s]
Client: LS_HBEAT
(3)
Server: LS_HBEAT
(4)
[end]
[loop 0.1s]
Client: PDATA [ship] ([hitlen] [shot] [namelen]) [hits]? [shot]? [names]?
(5 obj 3bit bit 4bit int[\2] int[\3] int[\4])
Server: PDATA [ships]
(6 arrend[obj])
Server: NAMES [strs]
(8 arrend[str])
Server: PLANETS [planetdata]
(12 arrend[planet])
[end]
Client: CONONISE ...
(10 )
Server: OKTHEN ...
(11 )
End:
Client: DISC
(127)
Client: SECMOV [x] [y]
(9 float float)
Server: OKTHEN [sector]
(2 int)
Server: DISC [reason]
(127 str)