From 2f9aeb762294fe96606c76c2fefa17a6540639b5 Mon Sep 17 00:00:00 2001 From: BiSaXa <1669855+BiSaXa@users.noreply.github.com> Date: Sat, 27 Aug 2022 23:26:28 +0300 Subject: some cleaning --- messages/types.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'messages/types.go') 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 @@ package messages +type Header struct { + DemoFileStamp string + DemoProtocol int32 + NetworkProtocol int32 + ServerName string + ClientName string + MapName string + GameDirectory string + PlaybackTime float32 + PlaybackTicks int32 + PlaybackFrames int32 + SignOnLength int32 +} + +type Message struct { + Type byte + Tick int + Slot byte +} + type Packet struct { PacketInfo []byte InSequence int32 -- cgit v1.2.3