@modoki/engine / index / resolveRefName
Function: resolveRefName()
resolveRefName(
ref,world?):string|undefined
Resolve a journal ref (GUID or numeric id) to the display name captured at emit time — works even after the entity has been DESPAWNED, which a live-world lookup cannot. Undefined if the ref was never seen with a name. Backs the resolve-refs agent op; callers layer a live-world lookup on top for still-alive entities whose name was never journaled.
Parameters
ref
string | number
world?
World = ...
Returns
string | undefined