aboutsummaryrefslogtreecommitdiff
path: root/packets/classes/types.go
blob: 8e630b69d4e1975c40ad470dc48d60f62a99d48e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package classes

type CmdInfo struct {
	Flags            int32
	ViewOrigin       []float32
	ViewAngles       []float32
	LocalViewAngles  []float32
	ViewOrigin2      []float32
	ViewAngles2      []float32
	LocalViewAngles2 []float32
}

type UserCmdInfo struct {
	CommandNumber int
	TickCount     int
	ViewAnglesX   float32
	ViewAnglesY   float32
	ViewAnglesZ   float32
	ForwardMove   float32
	SideMove      float32
	UpMove        float32
	Buttons       int
	Impulse       byte
	WeaponSelect  int
	WeaponSubtype int
	MouseDx       int16
	MouseDy       int16
}