From 82871ba1bac1d62f69e1933b66659e62d2e5e063 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Tue, 12 Sep 2023 20:53:09 +0300 Subject: another rewrite, v1.0.0 --- packets/types.go | 62 -------------------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 packets/types.go (limited to 'packets/types.go') 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 @@ -package packets - -import ( - "github.com/pektezol/demoparser/packets/classes" - "github.com/pektezol/demoparser/packets/messages" -) - -type Header struct { - DemoFileStamp string - DemoProtocol uint32 - NetworkProtocol uint32 - ServerName string - ClientName string - MapName string - GameDirectory string - PlaybackTime float32 - PlaybackTicks int32 - PlaybackFrames int32 - SignOnLength uint32 -} - -type SignOn struct { - PacketInfo []classes.CmdInfo - InSequence int32 - OutSequence int32 - Data []messages.Message -} - -type Packet struct { - PacketInfo []classes.CmdInfo - InSequence int32 - OutSequence int32 - Data []messages.Message -} - -type SyncTick struct{} - -type ConsoleCmd struct { - Data string -} - -type UserCmd struct { - Cmd int32 - Data classes.UserCmdInfo -} - -type DataTables struct { - Data classes.DataTable -} - -type Stop struct { - RemainingData []byte -} - -type CustomData struct { - Unknown int32 - Data []byte -} - -type StringTables struct { - Data []classes.StringTable -} -- cgit v1.2.3