blob: 5f7a29be269d78030c5665d2b4c1af229c5389eb (
plain) (
blame)
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
|
package packets
type Header struct {
DemoFileStamp string
DemoProtocol uint
NetworkProtocol uint
ServerName string
ClientName string
MapName string
GameDirectory string
PlaybackTime float32
PlaybackTicks int
PlaybackFrames int
SignOnLength uint
}
type SignOn struct {
PacketInfo []byte
InSequence int32
OutSequence int32
Size int32
Data []byte
}
type Packet struct {
PacketInfo []byte
InSequence int32
OutSequence int32
Size int32
Data []byte
}
type SyncTick struct{}
type ConsoleCmd struct {
Size int32
Data string
}
type UserCmd struct {
Cmd int32
Size int32
Data []byte
}
type DataTables struct {
Size int32
Data []byte
}
type Stop struct {
RemainingData []byte
}
type CustomData struct {
Unknown int32
Size int32
Data []byte
}
type StringTables struct {
Size int32
Data []byte
}
|