1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Merge pull request #6 from Ayuto/update_imdl_cache_notify

Fixed vtable of IMDLCacheNotify.
This commit is contained in:
Nicholas Hastings
2015-05-25 15:43:50 -04:00

View File

@ -20,6 +20,7 @@
#endif
#include "appframework/IAppSystem.h"
#include "filesystem.h"
//-----------------------------------------------------------------------------
// Forward declarations
@ -72,11 +73,17 @@ enum MDLCacheDataType_t
abstract_class IMDLCacheNotify
{
public:
virtual ~IMDLCacheNotify() {};
// Called right after the data is loaded
virtual void OnDataLoaded( MDLCacheDataType_t type, MDLHandle_t handle ) = 0;
virtual void OnCombinerPreCache( MDLCacheDataType_t type, MDLHandle_t handle ) = 0;
// Called right before the data is unloaded
virtual void OnDataUnloaded( MDLCacheDataType_t type, MDLHandle_t handle ) = 0;
virtual bool ShouldSupressLoadWarning( MDLHandle_t handle ) = 0;
};