From 44eefefe67a4a5f514faa4594370346fd1b54996 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Thu, 21 Sep 2023 19:26:40 +0300 Subject: organize packets and classes (#9) --- pkg/packets/types.go | 53 ---------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 pkg/packets/types.go (limited to 'pkg/packets/types.go') diff --git a/pkg/packets/types.go b/pkg/packets/types.go deleted file mode 100644 index a2fb78f..0000000 --- a/pkg/packets/types.go +++ /dev/null @@ -1,53 +0,0 @@ -package packets - -import "github.com/pektezol/demoparser/pkg/classes" - -type SignOn struct { - PacketInfo []classes.CmdInfo - InSequence int32 - OutSequence int32 - Size int32 - Data []any -} - -type Packet struct { - PacketInfo []classes.CmdInfo - InSequence int32 - OutSequence int32 - Size int32 - Data []any -} - -type SyncTick struct{} - -type ConsoleCmd struct { - Size int32 - Data string -} - -type UserCmd struct { - Cmd int32 - Size int32 - Data classes.UserCmdInfo -} - -type DataTables struct { - Size int32 - SendTable []classes.SendTable - ServerClassInfo []classes.ServerClassInfo -} - -type Stop struct { - RemainingData []byte -} - -type CustomData struct { - Type int32 - Size int32 - Data string -} - -type StringTables struct { - Size int32 - Data []classes.StringTable -} -- cgit v1.2.3