mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +08:00
Merge pull request #6 from Ayuto/update_imdl_cache_notify
Fixed vtable of IMDLCacheNotify.
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user