okapi_cbase_to_id

Syntax

native okapi_cbase_to_id(cbase);

Usage

cbase
Cbase of the entity

Description

Converts a cbase (that is, the address of the c++ object of an entity) to an id.

Return

Index of the entity