aboutsummaryrefslogtreecommitdiff
path: root/packets/classes/types.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2022-11-08 20:50:13 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-16 21:39:38 +0300
commit335e1b1b94a46795bab95e3eec5fecb303bb4171 (patch)
treecddd561f2fa5c7ae0e44258422da87a817d51b7b /packets/classes/types.go
parentstringtable done, can't see data properly (diff)
downloadsdp.go-335e1b1b94a46795bab95e3eec5fecb303bb4171.tar.gz
sdp.go-335e1b1b94a46795bab95e3eec5fecb303bb4171.tar.bz2
sdp.go-335e1b1b94a46795bab95e3eec5fecb303bb4171.zip
put class type into individual files
Diffstat (limited to 'packets/classes/types.go')
-rw-r--r--packets/classes/types.go40
1 files changed, 0 insertions, 40 deletions
diff --git a/packets/classes/types.go b/packets/classes/types.go
deleted file mode 100644
index a1a281e..0000000
--- a/packets/classes/types.go
+++ /dev/null
@@ -1,40 +0,0 @@
1package classes
2
3type CmdInfo struct {
4 Flags int32
5 ViewOrigin []float32
6 ViewAngles []float32
7 LocalViewAngles []float32
8 ViewOrigin2 []float32
9 ViewAngles2 []float32
10 LocalViewAngles2 []float32
11}
12
13type UserCmdInfo struct {
14 CommandNumber int32
15 TickCount int32
16 ViewAnglesX float32
17 ViewAnglesY float32
18 ViewAnglesZ float32
19 ForwardMove float32
20 SideMove float32
21 UpMove float32
22 Buttons int32
23 Impulse byte
24 WeaponSelect int
25 WeaponSubtype int
26 MouseDx int16
27 MouseDy int16
28}
29
30type StringTable struct {
31 TableName string
32 NumOfEntries int16
33 EntryName string
34 EntrySize int16
35 EntryData []byte
36 NumOfClientEntries int16
37 ClientEntryName string
38 ClientEntrySize int16
39 ClientEntryData []byte
40}