/* * C_TFWeaponBaseGun.hpp * * Created on: Nov 23, 2017 * Author: nullifiedcat */ #pragma once class C_TFWeaponBaseGun: public C_TFWeaponBase { public: inline static float GetProjectileSpeed(IClientEntity *self) { typedef float(*fn_t)(IClientEntity *); return vfunc(self, offsets::PlatformOffset(534, offsets::undefined, 534), 0)(self); } inline static float GetProjectileGravity(IClientEntity *self) { typedef float(*fn_t)(IClientEntity *); return vfunc(self, offsets::PlatformOffset(535, offsets::undefined, 535), 0)(self); } };