Ovis_Entity_Id_Get()
摘要
检索 Ovis 实体的 ID。
语法
Ovis_Entity_Id_Get (eptr)
| 参数 | 类型 | 说明 |
|---|---|---|
eptr |
OvisT_Entity * |
指向实体的指针 |
返回类型
OvisT_Id
实体 ID,或 OVISC_ID_INVALID。
头文件
ovis_entity.h
详情
该函数检索 Ovis 实体的 ID。
示例
OvisT_Entity * entity;
OvisT_Id id;;
/* … entity created at some point */
id = Ovis_Entity_Id_Get (entity);
错误
- 实体为 NIL。
参考
- 无