Fixing compile errors for some sdk branches
This commit is contained in:
parent
657ff4ba2b
commit
1cf76863ff
2 changed files with 24 additions and 7 deletions
|
@ -124,9 +124,14 @@ class ServerPlugin : public IServerPluginCallbacks, IGameEventListener2
|
|||
const char* pCvarName,
|
||||
const char* pCvarValue
|
||||
) override;
|
||||
// Some versions of IServerPluginCallbacks have these:
|
||||
void inline OnEdictAllocated(edict_t *edict) {}
|
||||
void inline OnEdictFreed(const edict_t* edict) {}
|
||||
|
||||
// IGameEventListener2 interface
|
||||
void FireGameEvent(IGameEvent* event) override;
|
||||
// Some versions of IGameEventListener2 have these:
|
||||
int inline GetEventDebugID(){ return -1; }
|
||||
|
||||
void ListenToGameEvent(const char* name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue