Donetsk/hook_lib/weapons.h
Sku-111 1f9319f845 added custom weapdef loading
added custom weapdef loading/dumping
moved LoadInventory & autoexec back to PartyHost_StartPrivateParty_Detour
2023-11-01 20:08:30 +01:00

14 lines
431 B
C

#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;
void CG_OverrideImpactEffectType(uintptr_t localClientNum, unsigned int sourceEntityNum, int* fxImpactType);
TracerDef* GetTracerDef(const char* asset);
void Dump_WeaponDef();
void Load_WeaponDef();