From 39ecba8a16a1ef734edb216f1fafb094c5c38745 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Mon, 7 Nov 2022 17:55:50 +0300 Subject: done until the hard part --- packets/classes/types.go | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 packets/classes/types.go (limited to 'packets/classes/types.go') 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 @@ +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 +} -- cgit v1.2.3