Meaning#

UniverseID, ComponentID, Lua component references and UI handles are not interchangeable. Representation depends on the API layer. Do not substitute a pointer address for an ID or lose a 64-bit ID through number conversion.

Example#

LUA
-- Keep the representation required by the receiving API.
-- Convert only through a documented engine conversion.

What happens: The comments explain a rule; there are no executable actions.

This fragment does not print or write a log message. The values shown are the expected results of the example.

Methods and related calls#

API reference.