diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2022-11-07 17:55:50 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-16 21:39:37 +0300 |
| commit | 39ecba8a16a1ef734edb216f1fafb094c5c38745 (patch) | |
| tree | a5ff60e92660d93469f00c5367cc74c2628ab620 /packets/classes/types.go | |
| parent | done until the hard part (diff) | |
| download | sdp.go-39ecba8a16a1ef734edb216f1fafb094c5c38745.tar.gz sdp.go-39ecba8a16a1ef734edb216f1fafb094c5c38745.tar.bz2 sdp.go-39ecba8a16a1ef734edb216f1fafb094c5c38745.zip | |
done until the hard part
Diffstat (limited to 'packets/classes/types.go')
| -rw-r--r-- | packets/classes/types.go | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packets/classes/types.go b/packets/classes/types.go new file mode 100644 index 0000000..8e630b6 --- /dev/null +++ b/packets/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 int | ||
| 15 | TickCount int | ||
| 16 | ViewAnglesX float32 | ||
| 17 | ViewAnglesY float32 | ||
| 18 | ViewAnglesZ float32 | ||
| 19 | ForwardMove float32 | ||
| 20 | SideMove float32 | ||
| 21 | UpMove float32 | ||
| 22 | Buttons int | ||
| 23 | Impulse byte | ||
| 24 | WeaponSelect int | ||
| 25 | WeaponSubtype int | ||
| 26 | MouseDx int16 | ||
| 27 | MouseDy int16 | ||
| 28 | } | ||