• Preparing search index...
  • The search index is not available
Foundry Virtual Tabletop - API Documentation - Version 13
  • Foundry Virtual Tabletop - API Documentation - Version 13
  • hookEvents
  • importAdventure

Function importAdventure

  • importAdventure(
        adventure: documents.Adventure,
        formData: object,
        created: Record<string, Document<object, DocumentConstructionContext>[]>,
        updated: Record<string, Document<object, DocumentConstructionContext>[]>,
    ): void

    A hook event that fires after an Adventure has been imported into the World.

    Parameters

    • adventure: documents.Adventure

      The Adventure document from which content is being imported

    • formData: object

      Processed data from the importer form

    • created: Record<string, Document<object, DocumentConstructionContext>[]>

      Documents which were created in the World

    • updated: Record<string, Document<object, DocumentConstructionContext>[]>

      Documents which were updated in the World

    Returns void

Settings

Member Visibility
Foundry Virtual Tabletop - API Documentation - Version 13
  • Loading...

Public API documentation for Foundry Virtual Tabletop version 13.346 Stable. © 2025 Foundry Gaming LLC. All Rights Reserved.