Fix SDKHooks Spawn hook crashing in Dota.

--HG--
extra : rebase_source : dfe1eb22256268b321b8c24be718fbc7c770e74e
This commit is contained in:
Nicholas Hastings
2013-12-28 08:19:34 -05:00
parent b83810b986
commit bdbc3c3b58
2 changed files with 21 additions and 0 deletions
+9
View File
@@ -25,6 +25,10 @@
#define GAMEDESC_CAN_CHANGE
#endif
#if SOURCE_ENGINE == SE_DOTA
class CEntityKeyValues;
#endif
/**
* Globals
@@ -266,8 +270,13 @@ public:
bool Hook_ReloadPost();
void Hook_SetTransmit(CCheckTransmitInfo *pInfo, bool bAlways);
bool Hook_ShouldCollide(int collisonGroup, int contentsMask);
#if SOURCE_ENGINE == SE_DOTA
void Hook_Spawn(CEntityKeyValues *kv);
void Hook_SpawnPost(CEntityKeyValues *kv);
#else
void Hook_Spawn();
void Hook_SpawnPost();
#endif
void Hook_StartTouch(CBaseEntity *pOther);
void Hook_StartTouchPost(CBaseEntity *pOther);
void Hook_Think();