IdaJS
    Preparing search index...

    Type Alias AfterLoadSavedStateCallback

    AfterLoadSavedStateCallback: (sceneId: number, filePath: string) => void

    Callback for afterLoadSavedState event

    Type Declaration

      • (sceneId: number, filePath: string): void
      • Parameters

        • sceneId: number

          The ID of the scene that was loaded. Will be -1 if the game state is restored from the backup. You can view all the scene ids in Ida/srcjs/lba2editor folder.

        • filePath: string

          The path to the save file that was loaded. Will be an empty string if the game state is restored from the backup.

        Returns void

    This is intended for internal usage only. Use this only if you know what you are doing.