Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PathNavigationResultFunction

Hierarchy

  • PathNavigationResultFunction

Callable

  • PathNavigationResultFunction(navigation: PathNavigation, result: number): void
  • Occurs when path navigation is finished or aborted

    Parameters

    • navigation: PathNavigation

      PathNavigation that the handler is attached to

    • result: number

      result code, one of the following:

      0 - success. You can call navigation.moveTo*** methods to resume path

      2 - entity was removed from the world

      4 - player left the world

    Returns void

Generated using TypeDoc