• Called when a player's real profile name first becomes available, and on any later change. Subscribe to this instead of polling AvatarBase on a timer.

    Not called for a name that was already resolved when the player was first seen — that value is already on the arrival payload. It can, however, fire on the same tick as a default-threshold onEnterScene: a late-arriving profile is both what resolves the name and what satisfies that threshold, so a subscriber to both will be told twice. Identity threshold subscribers need this event, since their arrival payload predates the name.

    Returns

    an unsubscribe function

    Parameters

    Returns (() => void)

      • (): void
      • Called when a player's real profile name first becomes available, and on any later change. Subscribe to this instead of polling AvatarBase on a timer.

        Not called for a name that was already resolved when the player was first seen — that value is already on the arrival payload. It can, however, fire on the same tick as a default-threshold onEnterScene: a late-arriving profile is both what resolves the name and what satisfies that threshold, so a subscriber to both will be told twice. Identity threshold subscribers need this event, since their arrival payload predates the name.

        Returns

        an unsubscribe function

        Returns void