okapi_build_method

Синтаксис

native okapi_func:okapi_build_method(ptr, okapi_arg:ret, okapi_arg:class, okapi_arg:...);

Употреба

ptr
Address of the method
ret
Return type of the method
class
Type of the method class
...
Rest of the types for the arguments of the function

Описание

Attaches okapi to a method (class member function) so you can hook it and call it.

Връщаща стойност

Handler to the method attached

Грешка

Invalid method address