Update dhooks.inc

This commit is contained in:
A1mDev 2024-11-11 12:54:09 +07:00
parent a2626537b1
commit 9c07ebe666

View File

@ -310,7 +310,7 @@ methodmap DHookParam < Handle
// Gets an object's variable value. // Gets an object's variable value.
// //
// @param num Parameter number to get, starting at 1. // @param num Parameter number to get, 0 for param "this", other parameters start from 1
// @param offset Byte offset within the object to the var to get. // @param offset Byte offset within the object to the var to get.
// @param type Type of var it is. // @param type Type of var it is.
// //
@ -320,7 +320,7 @@ methodmap DHookParam < Handle
// Gets an object's vector variable value. // Gets an object's vector variable value.
// //
// @param num Parameter number to get, starting at 1. // @param num Parameter number to get, 0 for param "this", other parameters start from 1.
// @param offset Byte offset within the object to the var to get. // @param offset Byte offset within the object to the var to get.
// @param type Type of var it is. // @param type Type of var it is.
// @param vec Buffer to store the result vector. // @param vec Buffer to store the result vector.
@ -330,7 +330,7 @@ methodmap DHookParam < Handle
// Gets an object's string variable value. // Gets an object's string variable value.
// //
// @param num Parameter number to get, starting at 1. // @param num Parameter number to get, 0 for param "this", other parameters start from 1.
// @param offset Byte offset within the object to the var to get. // @param offset Byte offset within the object to the var to get.
// @param type Type of var it is. // @param type Type of var it is.
// @param buffer Buffer to store the result string. // @param buffer Buffer to store the result string.
@ -344,7 +344,7 @@ methodmap DHookParam < Handle
// The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride // The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride
// is returned in the callback. // is returned in the callback.
// //
// @param num Parameter number to set, starting at 1. // @param num Parameter number to set, 0 for param "this", other parameters start from 1.
// @param offset Byte offset within the object to the var to set. // @param offset Byte offset within the object to the var to set.
// @param type Type of var it is. // @param type Type of var it is.
// @param value The value to set the var to. // @param value The value to set the var to.
@ -357,7 +357,7 @@ methodmap DHookParam < Handle
// The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride // The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride
// is returned in the callback. // is returned in the callback.
// //
// @param num Parameter number to set, starting at 1. // @param num Parameter number to set, 0 for param "this", other parameters start from 1.
// @param offset Byte offset within the object to the var to set. // @param offset Byte offset within the object to the var to set.
// @param type Type of var it is. // @param type Type of var it is.
// @param vec The value to set the vector var to. // @param vec The value to set the vector var to.
@ -928,7 +928,7 @@ native void DHookSetReturnString(Handle hReturn, char[] value);
* Gets an objects variable value * Gets an objects variable value
* *
* @param hParams Handle to params structure * @param hParams Handle to params structure
* @param num Param number to get. * @param num Param number to get, 0 for param "this".
* @param offset Offset within the object to the var to get. * @param offset Offset within the object to the var to get.
* @param type Type of var it is * @param type Type of var it is
* *
@ -941,7 +941,7 @@ native any DHookGetParamObjectPtrVar(Handle hParams, int num, int offset, Object
* Sets an objects variable value * Sets an objects variable value
* *
* @param hParams Handle to params structure * @param hParams Handle to params structure
* @param num Param number to set. * @param num Param number to set, 0 for param "this".
* @param offset Offset within the object to the var to set. * @param offset Offset within the object to the var to set.
* @param type Type of var it is * @param type Type of var it is
* @param value The value to set the var to. * @param value The value to set the var to.
@ -954,7 +954,7 @@ native void DHookSetParamObjectPtrVar(Handle hParams, int num, int offset, Objec
* Gets an objects vector variable value * Gets an objects vector variable value
* *
* @param hParams Handle to params structure * @param hParams Handle to params structure
* @param num Param number to get. * @param num Param number to get, 0 for param "this".
* @param offset Offset within the object to the var to get. * @param offset Offset within the object to the var to get.
* @param type Type of var it is * @param type Type of var it is
* @param buffer Buffer to store the result vector * @param buffer Buffer to store the result vector
@ -967,7 +967,7 @@ native void DHookGetParamObjectPtrVarVector(Handle hParams, int num, int offset,
* Sets an objects vector variable value * Sets an objects vector variable value
* *
* @param hParams Handle to params structure * @param hParams Handle to params structure
* @param num Param number to set. * @param num Param number to set, 0 for param "this".
* @param offset Offset within the object to the var to set. * @param offset Offset within the object to the var to set.
* @param type Type of var it is * @param type Type of var it is
* @param value The value to set the vector var to. * @param value The value to set the vector var to.
@ -980,7 +980,7 @@ native void DHookSetParamObjectPtrVarVector(Handle hParams, int num, int offset,
* Gets an objects string variable value * Gets an objects string variable value
* *
* @param hParams Handle to params structure * @param hParams Handle to params structure
* @param num Param number to get. * @param num Param number to get, 0 for param "this".
* @param offset Offset within the object to the var to get. * @param offset Offset within the object to the var to get.
* @param type Type of var it is * @param type Type of var it is
* @param buffer Buffer to store the result vector * @param buffer Buffer to store the result vector