Ovis_Entity_Id_Get()
Abstract
Retrieves the ID of the Ovis entity.
Syntax
Ovis_Entity_Id_Get (eptr)
| Argument | Type | Description |
|---|---|---|
eptr |
OvisT_Entity * |
Pointer to the entity |
Return Type
OvisT_Id
Entity ID, or OVISC_ID_INVALID.
Header
ovis_entity.h
Details
This function retrieves the ID of the Ovis entity.
Example
OvisT_Entity * entity;
OvisT_Id id;;
/* … entity created at some point */
id = Ovis_Entity_Id_Get (entity);
Errors
- Entity is NIL.
Reference
- None