mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-01-30 19:52:17 +01:00
Revert "add support for IServerPluginCallbacks v3 and v4"
This reverts commit 4e5ddf833b7bb3af52f422f5a0bea91ba3b9e2d3. Fixes #101
This commit is contained in:
parent
4e5ddf833b
commit
0e35864432
@ -284,29 +284,6 @@ public:
|
||||
const char *pCvarValue)
|
||||
{
|
||||
}
|
||||
virtual void OnEdictAllocated(edict_t *edict)
|
||||
{
|
||||
}
|
||||
virtual void OnEdictFreed(const edict_t *edict)
|
||||
{
|
||||
}
|
||||
virtual bool BNetworkCryptKeyCheckRequired(unsigned int unFromIP,
|
||||
unsigned short usFromPort,
|
||||
unsigned int unAccountIdProvidedByClient,
|
||||
bool bClientWantsToUseCryptKey)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
virtual bool BNetworkCryptKeyValidate(unsigned int unFromIP,
|
||||
unsigned short usFromPort,
|
||||
unsigned int unAccountIdProvidedByClient,
|
||||
int nEncryptionKeyIndexFromClient,
|
||||
int numEncryptedBytesFromClient,
|
||||
unsigned char *pbEncryptedBufferFromClient,
|
||||
unsigned char *pbPlainTextKeyForNetchan)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
void PrepForLoad(unsigned int version)
|
||||
{
|
||||
vsp_version = version;
|
||||
@ -321,8 +298,8 @@ void *mm_GetVspCallbacks(unsigned int version)
|
||||
if (vsp_bridge != NULL)
|
||||
return NULL;
|
||||
|
||||
/* Only support versions 1 to 4 right now */
|
||||
if (version > 4)
|
||||
/* Only support versions 1 or 2 right now */
|
||||
if (version > 2)
|
||||
return NULL;
|
||||
|
||||
mm_vsp_callbacks.PrepForLoad(version);
|
||||
|
Loading…
x
Reference in New Issue
Block a user