2023-10-24 10:16:45 -04:00
|
|
|
#pragma once
|
|
|
|
#include "Main.hpp"
|
|
|
|
|
|
|
|
inline utils::hook::detour PM_WeaponUseAmmo;
|
|
|
|
void PM_WeaponUseAmmo_Detour(__int64 playerstate, Weapon* weapon, char a3, int a4, int hand);
|
|
|
|
|
|
|
|
inline utils::hook::detour cg_overrideimpacteffecttype;
|
2024-02-03 17:41:49 -05:00
|
|
|
void CG_OverrideImpactEffectType_Detour(uintptr_t localClientNum, unsigned int sourceEntityNum, int* fxImpactType);
|
|
|
|
|
|
|
|
inline utils::hook::detour bg_getweapondismembermentenabled;
|
|
|
|
bool BG_GetWeaponDismembermentEnabled_Detour(Weapon* weapon, bool alt);
|
2023-11-01 15:08:30 -04:00
|
|
|
|
|
|
|
TracerDef* GetTracerDef(const char* asset);
|
|
|
|
|
|
|
|
void Dump_WeaponDef();
|
|
|
|
|
|
|
|
void Load_WeaponDef();
|