blob: 9a1f667be4d9f4f8c722702495bbb14765584b90 (
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
65
66
67
68
69
|
package packets
import (
"github.com/pektezol/demoparser/packets/classes"
"github.com/pektezol/demoparser/packets/messages"
)
type Header struct {
DemoFileStamp string
DemoProtocol uint32
NetworkProtocol uint32
ServerName string
ClientName string
MapName string
GameDirectory string
PlaybackTime float32
PlaybackTicks int32
PlaybackFrames int32
SignOnLength uint32
}
type SignOn struct {
PacketInfo []classes.CmdInfo
InSequence int32
OutSequence int32
Size int32
Data []messages.Message
}
type Packet struct {
PacketInfo []classes.CmdInfo
InSequence int32
OutSequence int32
Size int32
Data []messages.Message
}
type SyncTick struct{}
type ConsoleCmd struct {
Size int32
Data string
}
type UserCmd struct {
Cmd int32
Size int32
Data classes.UserCmdInfo
}
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 []classes.StringTable
}
|