aboutsummaryrefslogtreecommitdiff
path: root/messages/types.go
diff options
context:
space:
mode:
authorBiSaXa <1669855+BiSaXa@users.noreply.github.com>2022-08-27 23:26:28 +0300
committerBiSaXa <1669855+BiSaXa@users.noreply.github.com>2022-08-27 23:26:28 +0300
commit2f9aeb762294fe96606c76c2fefa17a6540639b5 (patch)
treec68ae6039dcf3ab338edffecbf2971d0220a444f /messages/types.go
parentit's a mess (diff)
downloadsdp.go-2f9aeb762294fe96606c76c2fefa17a6540639b5.tar.gz
sdp.go-2f9aeb762294fe96606c76c2fefa17a6540639b5.tar.bz2
sdp.go-2f9aeb762294fe96606c76c2fefa17a6540639b5.zip
some cleaning
Diffstat (limited to 'messages/types.go')
-rw-r--r--messages/types.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/messages/types.go b/messages/types.go
index ee42a96..bb19444 100644
--- a/messages/types.go
+++ b/messages/types.go
@@ -1,5 +1,25 @@
1package messages 1package messages
2 2
3type Header struct {
4 DemoFileStamp string
5 DemoProtocol int32
6 NetworkProtocol int32
7 ServerName string
8 ClientName string
9 MapName string
10 GameDirectory string
11 PlaybackTime float32
12 PlaybackTicks int32
13 PlaybackFrames int32
14 SignOnLength int32
15}
16
17type Message struct {
18 Type byte
19 Tick int
20 Slot byte
21}
22
3type Packet struct { 23type Packet struct {
4 PacketInfo []byte 24 PacketInfo []byte
5 InSequence int32 25 InSequence int32