/* * C_BaseCombatWeapon.hpp * * Created on: Nov 23, 2017 * Author: nullifiedcat */ #pragma once class C_BaseCombatWeapon: public C_BaseEntity { public: inline static bool IsBaseCombatWeapon(IClientEntity *self) { typedef bool(*fn_t)(IClientEntity *); return vfunc(self, offsets::PlatformOffset(190, offsets::undefined, 190), 0)(self); } inline static int GetSlot(IClientEntity *self) { typedef int(*fn_t)(IClientEntity *); return vfunc(self, offsets::PlatformOffset(395, offsets::undefined, 395), 0)(self); } inline static const char *GetPrintName(IClientEntity *self) { typedef const char *(*fn_t)(IClientEntity *); return vfunc(self, offsets::PlatformOffset(398, offsets::undefined, 398), 0)(self); } };