diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2022-11-07 16:09:44 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-16 21:39:37 +0300 |
| commit | a77cf8169b42a4394e62f7a381ca546b27d0f723 (patch) | |
| tree | 2dd8d4f51c5841b806e9b5ed6fe9054bce06e2e0 /messages/types.go | |
| parent | changed github username + other stuff that i don't remember (diff) | |
| download | sdp.go-a77cf8169b42a4394e62f7a381ca546b27d0f723.tar.gz sdp.go-a77cf8169b42a4394e62f7a381ca546b27d0f723.tar.bz2 sdp.go-a77cf8169b42a4394e62f7a381ca546b27d0f723.zip | |
starting fresh for the third time
Diffstat (limited to 'messages/types.go')
| -rw-r--r-- | messages/types.go | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/messages/types.go b/messages/types.go deleted file mode 100644 index 9c92c54..0000000 --- a/messages/types.go +++ /dev/null | |||
| @@ -1,52 +0,0 @@ | |||
| 1 | package messages | ||
| 2 | |||
| 3 | import "github.com/pektezol/demoparser/classes" | ||
| 4 | |||
| 5 | type Header struct { | ||
| 6 | DemoFileStamp string | ||
| 7 | DemoProtocol int32 | ||
| 8 | NetworkProtocol int32 | ||
| 9 | ServerName string | ||
| 10 | ClientName string | ||
| 11 | MapName string | ||
| 12 | GameDirectory string | ||
| 13 | PlaybackTime float32 | ||
| 14 | PlaybackTicks int32 | ||
| 15 | PlaybackFrames int32 | ||
| 16 | SignOnLength int32 | ||
| 17 | } | ||
| 18 | |||
| 19 | type Packet struct { | ||
| 20 | PacketInfo []classes.CmdInfo | ||
| 21 | InSequence int32 | ||
| 22 | OutSequence int32 | ||
| 23 | Size int32 | ||
| 24 | Data []byte | ||
| 25 | } | ||
| 26 | |||
| 27 | type ConsoleCmd struct { | ||
| 28 | Size int32 | ||
| 29 | Data string | ||
| 30 | } | ||
| 31 | |||
| 32 | type UserCmd struct { | ||
| 33 | Cmd int32 | ||
| 34 | Size int32 | ||
| 35 | Data classes.UserCmdInfo | ||
| 36 | } | ||
| 37 | |||
| 38 | type DataTables struct { | ||
| 39 | Size int32 | ||
| 40 | Data classes.DataTables | ||
| 41 | } | ||
| 42 | |||
| 43 | type CustomData struct { | ||
| 44 | Unknown int32 | ||
| 45 | Size int32 | ||
| 46 | Data []byte | ||
| 47 | } | ||
| 48 | |||
| 49 | type StringTables struct { | ||
| 50 | Size int32 | ||
| 51 | Data []classes.StringTable | ||
| 52 | } | ||