# Interface: NarrationHistory (/pixi-vn/index/interfaces/NarrationHistory)



Defined in: [src/narration/interfaces/NarrationHistory.ts:4](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/narration/interfaces/NarrationHistory.ts#L4)

## Properties [#properties]

### choices? [#choices]

\> `optional` **choices?**: [`HistoryChoiceMenuOption`](/pixi-vn/index/type-aliases/HistoryChoiceMenuOption)\[]

Defined in: [src/narration/interfaces/NarrationHistory.ts:12](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/narration/interfaces/NarrationHistory.ts#L12)

List of choices asked of the player

***

### dialogue? [#dialogue]

\> `optional` **dialogue?**: [`DialogueInterface`](/pixi-vn/index/interfaces/DialogueInterface)

Defined in: [src/narration/interfaces/NarrationHistory.ts:8](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/narration/interfaces/NarrationHistory.ts#L8)

Dialogue to be shown in the game

***

### inputValue? [#inputvalue]

\> `optional` **inputValue?**: [`StorageElementType`](/pixi-vn/index/type-aliases/StorageElementType)

Defined in: [src/narration/interfaces/NarrationHistory.ts:24](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/narration/interfaces/NarrationHistory.ts#L24)

The input value of the player

***

### openedLabelsNumber? [#openedlabelsnumber]

\> `optional` **openedLabelsNumber?**: `number`

Defined in: [src/narration/interfaces/NarrationHistory.ts:33](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/narration/interfaces/NarrationHistory.ts#L33)

The number of labels that were opened (via [NarrationManagerInterface.call](/pixi-vn/index/interfaces/NarrationManagerInterface#call) or [NarrationManagerInterface.jump](/pixi-vn/index/interfaces/NarrationManagerInterface#jump)) when this step ran.

This is the size of the label call-stack at this step, and can be used to split a page into paragraphs:
every time this number increases compared to the previous step, a `call` opened a new paragraph. A `jump`
instead starts a whole new page, so it is already reflected by [HistoryManagerInterface.currentLabelHistory](/pixi-vn/index/interfaces/HistoryManagerInterface#currentlabelhistory)
starting over.

***

### playerMadeChoice? [#playermadechoice]

\> `optional` **playerMadeChoice?**: `boolean`

Defined in: [src/narration/interfaces/NarrationHistory.ts:16](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/narration/interfaces/NarrationHistory.ts#L16)

The player made a choice

***

### stepIndex [#stepindex]

\> **stepIndex**: `number`

Defined in: [src/narration/interfaces/NarrationHistory.ts:20](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/narration/interfaces/NarrationHistory.ts#L20)

The index of the step in the history.
