okapi_class_get_vfunc_ptr

Syntax

native okapi_class_get_vfunc_ptr(const classname[], offset);

Usage

classname
Classname of the entity
offset
Offset of the virtual function in the virtual table

Description

Retrieves a virtual function address located in the virtual table of an entity, created using it's classname.

Return

Address of the virtual function

Error

Invalid class name