DHookParam.SetString Method

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

The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride is returned in the callback.

void SetString(int num, const char[] value)

Parameters

int num

Parameter number to set, starting at 1.

const char[] value

Value to set string as.

Errors

Invalid handle, invalid param number or invalid param type.