Added support for CS:GO to cstrike extension (
bug 5299, r=asherkin).
1 #ifndef _INCLUDE_CSTRIKE_FORWARDS_H_
2 #define _INCLUDE_CSTRIKE_FORWARDS_H_
3 bool CreateWeaponPriceDetour();
4 bool CreateHandleBuyDetour();
5 bool CreateTerminateRoundDetour();
6 bool CreateCSWeaponDropDetour();
7 void RemoveWeaponPriceDetour();
8 void RemoveHandleBuyDetour();
9 void RemoveTerminateRoundDetour();
10 void RemoveCSWeaponDropDetour();
12 #if SOURCE_ENGINE == SE_CSGO
13 bool SetWeaponPrice(int weaponID, int price);
14 bool SetWeaponPrice(const char *weapon, int price);
15 int CallPriceForwardCSGO(int client, const char *weapon);
16 int CallPriceForwardCSGO(int client, const char *weapon, int price);
19 extern IServerGameEnts *gameents;
20 extern IForward *g_pHandleBuyForward;
21 extern IForward *g_pPriceForward;
22 extern IForward *g_pTerminateRoundForward;
23 extern IForward *g_pCSWeaponDropForward;
24 extern int g_iPriceOffset;
25 #endif //_INCLUDE_CSTRIKE_FORWARDS_H_