aboutsummaryrefslogtreecommitdiff
path: root/packets/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'packets/types.go')
-rw-r--r--packets/types.go62
1 files changed, 0 insertions, 62 deletions
diff --git a/packets/types.go b/packets/types.go
deleted file mode 100644
index 41d633a..0000000
--- a/packets/types.go
+++ /dev/null
@@ -1,62 +0,0 @@
1package packets
2
3import (
4 "github.com/pektezol/demoparser/packets/classes"
5 "github.com/pektezol/demoparser/packets/messages"
6)
7
8type Header struct {
9 DemoFileStamp string
10 DemoProtocol uint32
11 NetworkProtocol uint32
12 ServerName string
13 ClientName string
14 MapName string
15 GameDirectory string
16 PlaybackTime float32
17 PlaybackTicks int32
18 PlaybackFrames int32
19 SignOnLength uint32
20}
21
22type SignOn struct {
23 PacketInfo []classes.CmdInfo
24 InSequence int32
25 OutSequence int32
26 Data []messages.Message
27}
28
29type Packet struct {
30 PacketInfo []classes.CmdInfo
31 InSequence int32
32 OutSequence int32
33 Data []messages.Message
34}
35
36type SyncTick struct{}
37
38type ConsoleCmd struct {
39 Data string
40}
41
42type UserCmd struct {
43 Cmd int32
44 Data classes.UserCmdInfo
45}
46
47type DataTables struct {
48 Data classes.DataTable
49}
50
51type Stop struct {
52 RemainingData []byte
53}
54
55type CustomData struct {
56 Unknown int32
57 Data []byte
58}
59
60type StringTables struct {
61 Data []classes.StringTable
62}