diff options
| author | BiSaXa <1669855+BiSaXa@users.noreply.github.com> | 2022-09-07 19:40:16 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-16 21:39:36 +0300 |
| commit | 4e71a481884c0c43aea3d0ee695ae68cdec56478 (patch) | |
| tree | d75c96612526a7c686d9f4d85af6b89c7cd864e6 /classes/types.go | |
| parent | final commit before rewrite (diff) | |
| download | sdp.go-4e71a481884c0c43aea3d0ee695ae68cdec56478.tar.gz sdp.go-4e71a481884c0c43aea3d0ee695ae68cdec56478.tar.bz2 sdp.go-4e71a481884c0c43aea3d0ee695ae68cdec56478.zip | |
first rewrite commit using bisaxa/bitreader
Diffstat (limited to 'classes/types.go')
| -rw-r--r-- | classes/types.go | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/classes/types.go b/classes/types.go new file mode 100644 index 0000000..3fcc692 --- /dev/null +++ b/classes/types.go | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | package classes | ||
| 2 | |||
| 3 | type 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 | |||
| 13 | type 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 int8 | ||
| 24 | WeaponSelect int | ||
| 25 | WeaponSubtype int | ||
| 26 | MouseDx int16 | ||
| 27 | MouseDy int16 | ||
| 28 | } | ||