| 1534 | } |
| 1535 | |
| 1536 | LuaNullTermWrapper<Maybe<String>> WorldEntityCallbacks::entityUniqueId(World* world, EntityId entityId) { |
| 1537 | if (auto entity = world->entity(entityId)) |
| 1538 | return entity->uniqueId(); |
| 1539 | return {}; |
| 1540 | } |
| 1541 | |
| 1542 | Json WorldEntityCallbacks::getObjectParameter(World* world, EntityId entityId, String const& parameterName, Maybe<Json> const& defaultValue) { |
| 1543 | Json val = Json(); |