Hooks type-specific Handle operations.
More...
#include <public/IHandleSys.h>
|
virtual unsigned int | GetDispatchVersion () |
|
virtual void | OnHandleDestroy (HandleType_t type, void *object)=0 |
| Called when destroying a handle. Must be implemented. More...
|
|
virtual bool | GetHandleApproxSize (HandleType_t type, void *object, unsigned int *pSize) |
| Called to get the size of a handle's memory usage in bytes. Implementation is optional. More...
|
|
Hooks type-specific Handle operations.
virtual unsigned int SourceMod::IHandleTypeDispatch::GetDispatchVersion |
( |
| ) |
|
|
inlinevirtual |
Returns the Handle API version
virtual bool SourceMod::IHandleTypeDispatch::GetHandleApproxSize |
( |
HandleType_t |
type, |
|
|
void * |
object, |
|
|
unsigned int * |
pSize |
|
) |
| |
|
inlinevirtual |
Called to get the size of a handle's memory usage in bytes. Implementation is optional.
- Parameters
-
type | Handle type. |
object | Handle internal object. |
pSize | Pointer to store the approximate memory usage in bytes. |
- Returns
- True on success, false if not implemented.
virtual void SourceMod::IHandleTypeDispatch::OnHandleDestroy |
( |
HandleType_t |
type, |
|
|
void * |
object |
|
) |
| |
|
pure virtual |
Called when destroying a handle. Must be implemented.
- Parameters
-
type | Handle type. |
object | Handle internal object. |
The documentation for this class was generated from the following file: