Function | Description |
---|---|
okapi_build_method | Attaches okapi to a method (class member function) so you can hook it and call it. |
okapi_build_function | Attaches okapi to a function so you can hook it and call it. |
okapi_build_vfunc_cbase | Attaches okapi to a virtual function of an entity so you can hook it and call it. |
okapi_build_vfunc_class | Attaches okapi to a virtual function of an entity (using its class) so you can hook it and call it. |
okapi_build_vfunc_ptr | Attaches okapi to a virtual function of an object so you can hook it and call it. |
okapi_add_hook | Adds a hook to a previously attached function. |
okapi_del_hook | Removes a hook from the function. |
okapi_del_current_hook | Removes current hook from the function. This is meant to be used inside a hook (when you want to remove it there). |
okapi_set_param | Modifies a parameter that will be passed in the call to the original function. |
okapi_set_return | Modifies the return of the function. |
okapi_get_orig_return | Retrieves the value that the hooked function retrieved. |
okapi_call | Calls a function without calling its hooks. |
okapi_call_ex | Calls a function and its hooks |
okapi_current_hook | Gets the hook that is currently being called. This is meant to be used inside a hook (when you want to remove it there). |
wl | Returns a if server is windows, returns b if server is linux. |
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.