diff options
Diffstat (limited to 'packets/classes/types.go')
| -rw-r--r-- | packets/classes/types.go | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/packets/classes/types.go b/packets/classes/types.go index 8e630b6..a1a281e 100644 --- a/packets/classes/types.go +++ b/packets/classes/types.go | |||
| @@ -11,18 +11,30 @@ type CmdInfo struct { | |||
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | type UserCmdInfo struct { | 13 | type UserCmdInfo struct { |
| 14 | CommandNumber int | 14 | CommandNumber int32 |
| 15 | TickCount int | 15 | TickCount int32 |
| 16 | ViewAnglesX float32 | 16 | ViewAnglesX float32 |
| 17 | ViewAnglesY float32 | 17 | ViewAnglesY float32 |
| 18 | ViewAnglesZ float32 | 18 | ViewAnglesZ float32 |
| 19 | ForwardMove float32 | 19 | ForwardMove float32 |
| 20 | SideMove float32 | 20 | SideMove float32 |
| 21 | UpMove float32 | 21 | UpMove float32 |
| 22 | Buttons int | 22 | Buttons int32 |
| 23 | Impulse byte | 23 | Impulse byte |
| 24 | WeaponSelect int | 24 | WeaponSelect int |
| 25 | WeaponSubtype int | 25 | WeaponSubtype int |
| 26 | MouseDx int16 | 26 | MouseDx int16 |
| 27 | MouseDy int16 | 27 | MouseDy int16 |
| 28 | } | 28 | } |
| 29 | |||
| 30 | type 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 | } | ||