-
Notifications
You must be signed in to change notification settings - Fork 7
/
packets.txt
79 lines (44 loc) · 1.55 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
//////////////////////////////////////////////////////////////
// //
// Packet list //
// //
//////////////////////////////////////////////////////////////
// 1 - send replay
// 2 - send login request
// 3 - send game over data
// 4 - send winner data
// 10 - send chat msg
// 11 - create new room
// 21: Create a new tournament
////////////// UDP PACKETS ////////////////
// 99 - confirm UDP port with server
// 100 - game state
// 102 - ping packet
//////////////////////////////////////////////////////////////
// //
// Signal list //
// //
//////////////////////////////////////////////////////////////
// 0 - join room/tournament request, id1 = room/tournament
// 1 - left room
// 2 - lines sent, id1 = amount
// 3 - garbage cleared, id1 = amount
// 4 - lines blocked, id1 = amount
// 5 - away
// 6 - not away
// 7 - ready
// 8 - not ready
// 9 - sign up for tournament, id1 = tournamentId
// 10 - withdraw from tournament, id1 = tournamentId
// 11 - close signup for tournament, id1 = tournamentId
// 12 - start tournament, id1 = tournamentId
// 13 - join tournament game, id1 = tournamentId, id2 = gameId
// 14 - closed tournament panel and no longer need updates, id1 = tournamentId
// 15 - refresh tournament list
// 16 - refresh room list
// 17 - play challenge, id1=challenge id
// 18 - watch challenge replay, id1=challenge id, id2=slot
// 19 - spectate room, id1=room id
// 20 - stop spectating room, id1=room id
// 21 - join Matchmaking
// 22 - leave Matchmaking