Jump to content

DIS entity: how to find IG internal ID


photo

Recommended Posts

Hi, when receiving a DIS Entity PDU, I need to know which entity it is for the IG.

The 2.16 doc list this function "int64_t getInternalEntityID ( int app, int id )", but it doesn't exist in the 2.16 header UnigineDISConnector.h.

What would be its implementation?

Link to comment

Hello!
it was moved to Entity class

int64_t Entity::getEntityIDFromDISID(uint16_t app, uint16_t id)
void Entity::getDISIDFromEntityID(int64_t entity_id, uint16_t &app, uint16_t &id)

 

  • Thanks 1
Link to comment
×
×
  • Create New...