This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/include/reclasses/C_TFWeaponBaseMelee.hpp
2017-11-23 13:21:37 +03:00

21 lines
421 B
C++

/*
* C_TFWeaponBaseMelee.hpp
*
* Created on: Nov 23, 2017
* Author: nullifiedcat
*/
#pragma once
class C_TFWeaponBaseMelee: public C_TFWeaponBase
{
public:
inline static bool DoSwingTrace(IClientEntity *self, trace_t *trace)
{
typedef bool(*fn_t)(IClientEntity *, trace_t *);
return vfunc<fn_t>(self, offsets::PlatformOffset(522, offsets::undefined, 522), 0)(self, trace);
}
};