DHookParam Class

Represents the parameters of the hooked function.

Methods 13

Name Description
Get

Get the value of a parameter. Use only for: int, entity, edict, bool or float parameter types.

GetAddress

Get param address (Use only for ptr param types)

GetObjectVar

Gets an object's variable value.

GetObjectVarString

Gets an object's string variable value.

GetObjectVarVector

Gets an object's vector variable value.

GetString

Get the value of a string parameter. Use only for: string, stringptr or charptr parameter types.

GetVector

Get the value of a vector parameter. Use only for: vector or vectorptr parameter types.

IsNull

Checks if a pointer parameter is null.

Set

Set the value of a parameter. Use only for: int, entity, edict, bool or float parameter types.

SetObjectVar

Sets an object's variable value.

SetObjectVarVector

Sets an object's vector variable value.

SetString

Set the value of a string parameter. Use only for: string, stringptr or charptr parameter types.

SetVector

Set the value of a vector parameter. Use only for: vector or vectorptr parameter types.