1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00

Updated IMDLCacheNotify (#34)

This commit is contained in:
Robin Gohmert 2017-06-17 13:58:07 +02:00 committed by Nicholas Hastings
parent 3fe821f2b1
commit bee9791e6f

View File

@ -72,11 +72,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;
};