MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / entityUniqueId

Method entityUniqueId

source/game/scripting/StarWorldLuaBindings.cpp:1536–1540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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();

Callers

nothing calls this directly

Calls 2

uniqueIdMethod · 0.80
entityMethod · 0.45

Tested by

no test coverage detected