aboutsummaryrefslogtreecommitdiff
path: root/packets/types.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2022-11-08 22:48:20 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-16 21:39:39 +0300
commit833a46544df2ed2a7afdba08ebfe02ed7741d86a (patch)
tree2432f14b449761086d773fb8cd072797d23006f1 /packets/types.go
parentput class type into individual files (diff)
downloadsdp.go-833a46544df2ed2a7afdba08ebfe02ed7741d86a.tar.gz
sdp.go-833a46544df2ed2a7afdba08ebfe02ed7741d86a.tar.bz2
sdp.go-833a46544df2ed2a7afdba08ebfe02ed7741d86a.zip
net/svc messages
Diffstat (limited to 'packets/types.go')
-rw-r--r--packets/types.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/packets/types.go b/packets/types.go
index 2a4cf4b..9a1f667 100644
--- a/packets/types.go
+++ b/packets/types.go
@@ -1,6 +1,9 @@
1package packets 1package packets
2 2
3import "github.com/pektezol/demoparser/packets/classes" 3import (
4 "github.com/pektezol/demoparser/packets/classes"
5 "github.com/pektezol/demoparser/packets/messages"
6)
4 7
5type Header struct { 8type Header struct {
6 DemoFileStamp string 9 DemoFileStamp string
@@ -21,7 +24,7 @@ type SignOn struct {
21 InSequence int32 24 InSequence int32
22 OutSequence int32 25 OutSequence int32
23 Size int32 26 Size int32
24 Data []byte 27 Data []messages.Message
25} 28}
26 29
27type Packet struct { 30type Packet struct {
@@ -29,7 +32,7 @@ type Packet struct {
29 InSequence int32 32 InSequence int32
30 OutSequence int32 33 OutSequence int32
31 Size int32 34 Size int32
32 Data []byte 35 Data []messages.Message
33} 36}
34 37
35type SyncTick struct{} 38type SyncTick struct{}