diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2022-11-08 22:48:20 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-16 21:39:39 +0300 |
| commit | 833a46544df2ed2a7afdba08ebfe02ed7741d86a (patch) | |
| tree | 2432f14b449761086d773fb8cd072797d23006f1 /packets/types.go | |
| parent | put class type into individual files (diff) | |
| download | sdp.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.go | 9 |
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 @@ | |||
| 1 | package packets | 1 | package packets |
| 2 | 2 | ||
| 3 | import "github.com/pektezol/demoparser/packets/classes" | 3 | import ( |
| 4 | "github.com/pektezol/demoparser/packets/classes" | ||
| 5 | "github.com/pektezol/demoparser/packets/messages" | ||
| 6 | ) | ||
| 4 | 7 | ||
| 5 | type Header struct { | 8 | type 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 | ||
| 27 | type Packet struct { | 30 | type 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 | ||
| 35 | type SyncTick struct{} | 38 | type SyncTick struct{} |